Need advice on setting up primary domain and shopify site analytics to work best together
-
Hello,
I have a client that I have been working on their primary site for the last year or so. In the last month they decided to have one of their internal employees setup a small shopify store. Now they are asking for the analytics tracking codes for it. My question for you is what would be the best way for me to set that up?
variables: primary domain and shopify domain, google and bing analytics
Have been looking at how cross domain tracking works (https://support.google.com/tagmanager/answer/6106951), and the instructions for setting up ecommerce in analytics for shopify (https://help.shopify.com/manual/reports-and-analytics/google-analytics/google-analytics-setup). But am still not 100% which route would be the best, any input would be greatly appreciated!
thank you,
Dustin
-
Oh man, thank you so much, you are the best Trenton! I truly appreciate the help.
-
Hey Dustin,
With this implementation I would do a single GA code with cross-domain tracking setup. You don't necessarily need to use GTM to implement it, but you can if you so choose. Here's a link to Google's resource on cross-domain tracking. If you need additional resources I'd check Simo Ahava's resource here.
Shouldn't be too big of an issue once you get started. Let me know how it goes!
If you need any additional help, let me know!
Regards,
Trenton -
Hi Trenton,
Thanks for the response I really appreciate the feedback.
-
Is the shopify site located on the same domain or a different domain?
-
The shopify** store is located on a different domain. **
-
If different: Are you looking to track user journeys as the pass between the two properties?
-
**I am hoping to track the user journey through the process ideally, so I can refine pages that are hit or missed through the sales funnel etc. That is why I was looking at the tag manager as a possible solution, but besides setting up goals I don't have much experience with tag manager. **
-
You said Bing analytics, are you running Bing Ads that you're wanting to track or what are you referring to here?
-
At the moment they are not running bing ads, although their competitors are so I could see it being something in their future. Plus I want to make sure that their site and shopify site are being indexed properly.
Thanks a ton for the input.
-
-
Hey Dustin,
I'd like to get some more information before I give you a more in-depth answer, but my quick response is below.
- Is the shopify site located on the same domain or a different domain?
- If different: Are you looking to track user journeys as the pass between the two properties?
- You said Bing analytics, are you running Bing Ads that you're wanting to track or what are you referring to here?
Quick answer:
Setup an additional property within the existing Google Analytics account for the shopify domain so that it has a unique tracking code. Then follow the instructions included in the link you provided above to get tracking setup.
Note: If customers are moving from one property to the other you will NOT be able to see their entire user journey with this setup.I look forward to hearing back so I can provide you a more exact solution for your unique situation.
Regards,
Trenton
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Vanity URL vs domain URL
Hi guys, Our CEO is having an interview with a known broadcaster on radio. During the interview he will mention a specific URL www.example.com/marketingcampaign that we want track on Google Analytics, therefore behaving like a vanity URL redirecting to the actual URL www.example.com/resources/primary-keyword-2018. Would this work the same way a vanity URL in terms of tracking or not such as following guideline here ? I am asking because vanity URLs are supposed to be completely different domain name that gets purchased and in our case it is the same domain name just with a different URI. thanks guys!
Reporting & Analytics | | Taysir0 -
Google Analytics View Filters
Using the same GA property, I would like to set up three filtered views: 1. Tracking across one subdomain and one primary domain (example: shop.example.com & example.com) 2. Track only primary domain (example.com) 3. Track only subdomain (shop.example.com) Can this be achieved by using view filters? If so, how do they need to be set? Also, according to this article: https://moz.com/blog/cross-domain-subdomain-tracking-in-google-analytics, with cross domain tracking, I need to ignore self-referrals, which can only be done at the property level. If set up to ignore example.com referrals, will this cause problems with filter 2 and 3?
Reporting & Analytics | | Evan340 -
% Change - Google analytics - how to calculate?
Hi All,
Reporting & Analytics | | JohnPalmer
I have two dates with two different numbers I want to calculate the "% Change" like google analytics, The numbers of June 2015 - 127,931 sessions
The numbers of June 2014 - 90914 sessions please tell me what is the %Change. Best. J0 -
Google as referring domain
Hi all, a colleague asked a question, which I could not answer (never even noticed this "problem") 😞 When we are logged into our GA account and go the referring domains section, we find Google. I always thought that these visitors came via Google Image Search, but not all of them do. Most of them come via "/imgres", but some come via "/" (always thought that "/" was the homepage?), "/url" and "//" Maybe I am just stupid, but honestly I could not explain what these strings mean... or how these visitors landed on our site... Can you help me???
Reporting & Analytics | | accessKellyOCG0 -
My GA code is on my site but Google Analytics isn't being pulled into SEOMoz...why?
The CEO wants me to present an SEO plan next week for three of our sites; however, I got this message when I went to campaign overview tab: "It appears there's a problem with our connection to your Google Analytics account. Please go to your Settings page to update your connection." I double-checked the GA code and it's the same on both our site and in SEOMoz...what gives? I clicked on Choose Your GA Profile->Set GA Account and Profile then got this warning: "Are you sure you want to change your Google Analytics connection? Changing your connection will reset our cache of your historical GA traffic data." I need this data pronto so I can set strategy for three sites; any help would be greatly appreciated! Darrell
Reporting & Analytics | | AdviceElle0 -
Analytics oddity
This one has me a bit puzzled... I was just conducting a bit of routine analysis on a client's site, when I noticed avg. traffic doubled on one particular day. Now, this was easy to spot, since avg daily traffic for this site is 100 per day. The site also has approximately 100 pages of content. Here is the odd part... the spike was clearly attributed to Direct traffic and from a specific network in Palo Alto. The Bounce Rate was 100% and it appears that every page on the site was visited - very briefly. Any clues as to what may have triggered this? A competitor maybe? An unkown bot? I am looking forward to your thoughts.
Reporting & Analytics | | SCW0 -
Google Analytics Custom Filter
Hello, Quick question, when I create a custom filter on a profile that already has data collected will that filter apply to already collected data or will the filter only apply from the day it was created? Am doing a custom exclude IP filter. Much thanks,
Reporting & Analytics | | Unity
Davinia0 -
Funnels and Analytics
I want to see how much money a page is making. So how many people convert from that page. Do I need to create a funnel for all the category pages? That would be many many funnels. Thanks!
Reporting & Analytics | | tylerfraser0