Hi,
We have set up multiple domains in a single store. Now, we wanted to add GA code for each website domain. It should work for their respective domain. How we can do that?
Hi,
We have set up multiple domains in a single store. Now, we wanted to add GA code for each website domain. It should work for their respective domain. How we can do that?
You can do this by setting up a different “property” for each domain.
Reference: https://support.google.com/analytics/answer/10269537?ref_topic=1009620
If they’re subdomains, you could group them in the same property and then create filters to show the different views (to see either individual traffic or all combined traffic).
But either way I would set up a property for each website so you always have that property data for the future.
If you need help with this or any development on Shopify feel free to reach out to my team at speedboostr.com/contact. We’re a team of Shopify developers focused on optimization, but also do custom features and website edits.