Set up domain.com and shop.domain.com with ecommerce tracking
I have our main site (domain.com) and our ecomm site that is hosted elsewhere (shop.domain.com) - I use the tag manager to create a tag with cross domain tracking... but I have yet to be able to get the ecomm tracking to work... I'm not sure how to put in the goal destinations to designate that they should be at the sub domain site and I'm thinking that's my issue? This has been ongoing for MONTHS and every time I think I've figured out the issue it turns out that I haven't... Please help! :/
Re: Set up domain.com and shop.domain.com with ecommerce tracking[ Edited ]
April 2016 - last edited April 2016
Posting your actual URL could help - there are several issues that could be happening:
- How are you placing your GA code at shop.domain.com?
- In GTM, you have to add in a values for subdomain tracking. You need to add cookieDomain:auto as an additional field (see http://www.simoahava.com/analytics/cross-domain-tracking-across-subdomains/).
- Are you using enhanced ecommerce? Walk through http://www.simoahava.com/analytics/enhanced-ecommerce-tips-and-learnings/ for some additional ideas.
- Did you change your filters to show the subdomains in the URLs? Then you need to use the URL as it appears exactly, not just the path. Or if you're using regex for your destination goal, make sure you've tested it. You can find a simple tool (designed for filters, but you can also check simple match for goals as well) here: http://www.analyticsmarket.com/freetools/regex-tester
Director of Marketing | Nehmedia | Partner Profile