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
-
Fixing Bounce Rate between Domain and Subdomain
Currently, the way our site is set up, our clients generally visit our homepage and then login through a separate page that is a subdomain, or they can read our blog/support articles that are also on separate subdomains. From my understanding, this can be counted as a bounce, and I know this sorta of site structure isn't ideal, but with our current dev resources and dependencies, fixing this isn't going to happen overnight. Regardless, what would be the easiest way to implement this fix witihn the Google Analytics code? EX: If someone visits our site at X.com, and then wants to login at portal.X.com, I don't want to count that as a bounce. Any insight is appreciated! Thanks
Reporting & Analytics | | KathleenDC0 -
Differences in site search revenue in GA
I just put in a piece of software to replace a really bad built in site search engine on my 3dcart website. Now I am trying to measure the change, but I am having some issues. When I check the ecom data in the conversions section of GA with the built in segment Performed Site Search, I get promising results. Approximately 5% revenue increase over LY. But if we jump to behavior, site search, usage, and then check the visits with site search, I get a decrease by 4%. And the actual revenue is off, by like double (150k compared to 80k) Anyone have any idea why I am getting these results? The site search function is set up. Tracking is enabled, query parameter is keyword and search url is /search.asp?keyword=
Reporting & Analytics | | ShockoeCommerce0 -
Gets traffic on both domain.dk and domain.dk/default.asp
Hi. Im runnning a couple of sites. And in my analytics/webmastertool I get both traffic on domain.dk and domain.dk/default.asp which are both essentially the same page. I'm pretty sure it would be better, if I somehow could make the default.asp "redirect" to "/". I dont wanna loose the linkjuice thou. Any smart suggestions for an easy fix? /Kasper
Reporting & Analytics | | KasperGJ0 -
We lost great amount of Google Traffic. Need Expert Advice, Please!
We are in the business of selling home and commercial light fixtures for about 10 years now. Our website is a very large ecommerce website with more than 40K pages including category, sub-category and product pages. We have been getting decent organic traffic mostly from highly competitive keywords and also from product/solution specific long tail keywords. Recently when Google changed the EMD algo we have seen a dip in the traffic (say about 60%). I can't be so sure that this is because of EMD update, but it started happening only after this update. There has been a rank drop from 1st page to 2nd page, decrease in no. of keywords driving traffic, decrease in no. of pages driving traffic, all these things have an negative impact on our organic revenue. I know that our back link portfolio is bad and the reason behind this is the SEO companies that we previously worked with, Thanks to them for this sloppy work. Other than back links, Is there anything fundamentally wrong on our website. Here is the URL http://bit.ly/QVFHgr
Reporting & Analytics | | goldenageusa0 -
Google Analytics bug?
Hi, I'm getting hits to this page, it's screwing up my Google Analytics stats. I know it's related with Google Website Optimizer, cuz it correlates with the tests I ran at the same dates. I'm just wondering if you've seen this before and what I should do to clean my stats? And is this affecting my SEO? Because it's still registering hits to these pages but I already stopped the tests a while go. Should I disallow this in my robots.txt file? Thanks! ga_bug3.jpg
Reporting & Analytics | | rhenster990 -
What is other in analytics
Hello, I am in Google Analytics and I am looking at my visitors report which is segmented into new, returning, and other. How could someone possibly be other - they are either new or returning right? Please help!
Reporting & Analytics | | digitalops0 -
Analytics goal funnel regular expression not working
Hi Guys can anyone point me in the right direction. My funnels used to work fine until our app team decided to add variables in a directory structure instead of a query string. I need to be able to track page steps that now look like this Step 1 = /Reservation/Search/Var1/Var2
Reporting & Analytics | | apolloseo
Step 2 = /Reservation/Quote/Var1/Var2 I've set up this but it's not working Step 1 = /Reservation/Search.*
Step 2 = /Reservation/Quote.* What am I doing wrong?0 -
Seeing / and no / in Google Analytics
When I look at my Google Analytics code, I see that the same content will show up twice, once with a / at the end of the URL, and once without. My site is at http://www.skypeenglishclasses.com. Does anyone know why this would happen? Is it duplicate content?
Reporting & Analytics | | Paulguy0