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
-
Domain Change Post Mortem
Hello, my company changed our domain 2 weeks ago and we are just starting to see traffic level back out, except for Organic. The site is on shopify so it made switching the domain pretty easy, as well as the 301 redirects (no url structure changes). We've taken all the proper steps with google/bing webmaster tools as well as monitoring 404's and 301 testing and don't see any red flags. Does anyone roughly know how long it takes for 301's to re-index and domain authority to start building back up for our new domain? Our old domain was about 13 years old and the new one was parked for quite awhile. p.s. I also noticed a lot of our traffic ending up as referral from our old url. I was able to wipe the sessions from analytics which cut it down, but will this persist for the foreseeable future? Thanks!
Reporting & Analytics | | SchoolhouseElectric0 -
Does Universal Analytics auto generate events?
Hi Mozzers, I have been noticing for one of my clients that there are thousands of events generating which I never added a code snippet for ga('send', 'event', 'button', 'click', 'nav buttons', 4);. The code I am seeing instead is following the syntax **PDF FILE NAME.**I don't even use Tag Manager. So are these auto generated? Label names of files aren't great though so I still believe that adding that piece of snippet _ga('send', 'event', 'button', 'click', 'nav buttons', 4);_can still bring some added value. Do you think it still does? Thanks!
Reporting & Analytics | | Ideas-Money-Art0 -
Want to set up many goals in GA
Hi there, I have been reading about setting up goals in Google Analytics. There is a 20 goal limit, but I have many goals that I want to track (basically I have many thank-you pages that I would like to track). What is the best way to go about setting up more than 20 goals? Thanks
Reporting & Analytics | | Amr-Haffar0 -
Can you track two Google Analytics Accounts on one site?
If you have a site that had an old analytics account and then implemented a new one is it possible to run tracking code that records to both accounts without causing your site or data issues? We are doing this so we don't loose data at any point - ideally it wouldn't have been split between the two but making one redundant isn't an option. Ideally we would have merged the data from both accounts and had one - however the research we have done points to this not being a possibility - unless one of you guys knows different? It would be great if anyone has experience on any this.. Thanks
Reporting & Analytics | | ChrisAllbones0 -
Traffic drop after analytics troubles
Hi For two weeks we had an artifical low bouncerate & high pageviews/visit in our Analytics reporting. The day we corrected the bug in Analytics - our bouncerate & pageviews/visit returned to normal levels - however we saw our search traffic go down massively(-50% in sessions). The bug in the Analytics was caused by a second Analytics tag which was included in an external script which interfered with our own tag. The drop in traffic occurred just after the removal of the second script (which was only on our site for two weeks). We didn't touch our own tagging - and there were no technical changes on the site during this period, and there is no seasonal trend which could explain the sudden drop of traffic. We double checked our tagging - and the analytics tag is present & working on all the pages of our site. On the organic traffic report from analytics you can clearly see the when the troubles with analytics started & ended (artificial low bounce rate) - and that the traffic drop starts right after the reporting issue ended. Webmastertools also indicated a lower number of views/clicks, but not to the massive 50% drop. Is it possible that Google uses the measurements from Analytics for it's SERP's? Or should there be another reason, and where should we start looking? Appreciate your help! e5GmoMM
Reporting & Analytics | | DirkC0 -
Google Analytics Organic Accuracy?
Hi, On a cool summers day, I was quenching my thirst for SEO Knowledge in the depths of Google analytics, When I stumbled upon a most troublesome sight. I was Browsing the data inside Acquisition->Keywords->Organic and comparing them to Acquisition->Search Engine Optimization->Landing Pages, to find the results quite questionable.. Since Keywords->Organic measure the visits from the organic results, and Search Engine Optimization->Landing Pages measures the clicks onto one of my landing pages from Google, I assumed they should be the same or very close, (besides Keywords->Organic having visits from other search engines) but they were not the same, as a matter of fact it was telling me that Keywords->Organic visits = 1,474, 27.19% of total(5,422) and Search Engine Optimization->Landing Pages, clicks = 1,548 154.80% of total (1000). Even worst the Search Engine Optimization -> Queries clicks = 1,123, 160.43% of total(700). I have been searching, and come up empty handed in the answer so does anyone know why Google is showing me different results and strange numbers that don't make sense? Any information is greatly appreciated?
Reporting & Analytics | | KBB_Digital0 -
Goal tracking in Google Analytics
Hi folks I read from various sources that if you setup goals in Google Analytics each of these goals can only be fulfilled once per visit. Also some sources suggesting that only one goal from each goal group can be fulfilled per visit. On our site we have a goal for external links since this provides value to partners. Some users do open an external link in a new tab, then come back to the main site. Any further goal completions would then not get tracked. Since we apply a result based payment model for our work this means we are literally loosing money. Anyone has official info from Google on this? Can it be configured? How long is a visit? Thanks a million and have a great day. Fredrik
Reporting & Analytics | | Resultify0 -
Exporting Keywords in Google Analytics
In the old Google Analytics, I would simply add &limit=30000 in the URL. Does anyone know how to export all keywords from the new Google Analytics?
Reporting & Analytics | | TommySwanson520