4K members online now
4K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
Guide Me

Setting 2 UA Properties for the same domain

Follower ✭ ✭ ☆
# 1
Follower ✭ ✭ ☆

hello everyone,

one question: do you think is there any issue in firing 2 analytics tracking codes fired at once with 2 different tagmanager tags? 

basically, i'd like to track pageviews on one analytics property for each specific domain, and create a new property where i can track all domains together (cross domain tracking). 
I've read about how to cross domain tracking with tagmanager, and i'll implement auto link etc. 
My question is if having 2 analytics tracking codes firing on the same page togher may cause issues. 
thanks for help
1 Expert replyverified_user

Re: Setting 2 UA Properties for the same domain

[ Edited ]
Rising Star
# 2
Rising Star

It's absolutely fine to have two pageview tags, each with a unique UA-ID.

As to cross-domain tracking, you might benefit from checking the below.


In terms of implementation, you can create a new property dedicated to cross-domain tracking as you alluded or you can use the existing property for cross-domain tracking and manage everything at view level where you'd create views for single domains only through the use of filters as well as a view for all domains. Both approaches work.