Shopify on subdomain - whats the best way to implement Google Analytics?

Highlighted
New Member
14 0 0

Hey!

I have a domain, let's say www.domain.com. This is an old website with Google Analytics tracking set up.

I am now building my Shopify store, which I will place on shop.domain.com.

I know where I can add the tracking code in Shopify settings, but thinking more on how to set it up in Google Analytics. Should the new shop.domain.com be a new property? or a new view under my current domain.com tracking?

Any tips on best practice regarding this is very welcome!

0 Likes
Highlighted
New Member
15 0 0

Hi Barr,

I would suggest going for a new view instead of a property. It's always nice to keep the data in a single place and then create views/filters as per requirement. Here's a guide we referred when faced with the same problem: http://www.ericmobley.net/guide-to-tracking-multiple-subdomains-in-google-analytics/

Hope this helps! :)

- Divya

0 Likes
Highlighted

Hi Barr,

If you setup a different property, you will have different tracking IDs and hence you'll be banging you're head as visitors cross between primary and sub domains.

Make it the same property and setup views to collate both sub and primary domain. Session unification becomes much easier. Then have another view for the store ONLY.

For help with this and more in getting your setup spick and span, see my analytics guide: https://www.digitaldarts.com.au/google-analytics-and-shopify-for-splendid-data

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
0 Likes