AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

1.9K members online now
1.9K 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

impact of different GA scripts

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭


What's the impact of using multiple and different versions of trackers on the same domain and whats the best way to achieve this?


Current situation: -> ga.js UA-11111111-1 -> ga.js UA-22222222-2



1) add 1 GTM account with 1 Universal Analytics ID to track both domains in 1 property. 

2)  Keep the 2 seperate legacy scripts as well on the page. 




1 Expert replyverified_user

Re: impact of different GA scripts

Rising Star
# 2
Rising Star

I'm confused as you said same domain then in #1 of your requirements you have "...track both domains". Dual tracking can be done but requires customized versions of the code where the second tracker gets named. There are some limitations to this as only one cookie set is used.

If you are using GTM, it's much easier as you can just deploy the same trackers in two tags and GTM will take care of the rest.

If your requirements are truly that, then you can do as planned -- as long as the new UA tag is not using the same account and property --and keep the legacy trackers on (make sure that one is named otherwise your data is not reliable) the page and then deploy universal via GTM.

That said, the strategy behind this tracking should be considered as whether or not it's needed or relevant.


Theo Bennett
Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn

Re: impact of different GA scripts

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Thanks, Question updated, made a mistake. It's domain A and domain B of course. Sorry for the inconvenience.