Analytics
2.1K members online now
2.1K 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
star_border
Reply

GA tracking code for sub domains

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi, I have a site that isn't mobile compliant so I have created a sub domain m. that is mobile compliant and as I understand Google is ok with domain and a m. mobile compliant sub domain sharing the same information but I am not sure how to track visitors? Should I use the same tracking code in the m. sub domain as the main domain and if so do I need to add the sub domain m. to my GA account?

Thank you for looking at my query

GA tracking code for sub domains

Participant ✭ ✭ ✭
# 2
Participant ✭ ✭ ✭

Hi Catmur,

Yes you have to use same tracking code. You can create separate view for subdomain.

Here is step by step procedure @ http://www.ericmobley.net/guide-to-tracking-multiple-subdomains-in-google-analytics/

 

Thanks