GA Tracking Code for Ecommerce cross-domain tracking
-
I need help.
Scenario:
-
Microsite: www.example.com
-
Prospect clickc "buy" button and is taken to 3rd party ecommerce cart (e.g. shop.domain.com)
Questions:
- Will the Google Analytics Code sample below allow us to track what we need? We need to exact syntax code for the micro site.
- What is the specific code that needs to be added on the 3rd party shopping cart pages.
-
-
That looks similar to a setup we implemented recently and it worked fine (eventually).
We did have an issue in the beginning though because the original GA module the site had installed was not using the asynchronous GA code, so it wasn't passing it correctly. The older GA script uses different code to track across domains so check that if you run into problems.
We found the older version tracked conversions/goals fine but not the ecommerce stats.As Erica said, you might want to check the cart help forums - they usually have very clear troubleshooting instructions because this is an issue that comes up often.
-
What shopping cart are you using? I know that pinnaclecart ( my favorite eCommerce platform ) has a out of box solution. Maybe I can perform a search for you?
-
Thanks Erica,
I wish it was this easy. It's not an off-the-shelf cart. Unfortunately, NDA's prevent from providing additional details but we are working with a Google Certified Analytic consultant - and we're making a little progress.
Thank you
-
Adding the tracking code should track whatever you need to be tracked.
Most 3rd party shopping carts provide information on how to implement the tracking code, and since GA is one of the most popular, they may even have any easier solution (like "copy & paste your unique GA id here" solution) than you needing to copy & paste the code in.
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
-
Email traffic tracking in Google Analytics
Hello! I have a question about how to assure email traffic is properly tracked in GA > Acquisition > All Traffic > Channels. **First, some background... ** Our company (Wisconsin's largest group dental practice) is about to revamp the way we try to re-capture patients who don't have a future appointment set with us. Part of that process will include emails. Those emails will point back to our website to request an appointment. Now to the question... Is there anything special we should do to assure that links coming to the website and the resulting appointment request goal conversions track appropriately and appear under "Email" in the Default Channel Group of Analytics > Acquisition > All Traffic > Channels area of GA? For example, should we use Campaign URL Builder to establish UTM links? Thanks in advance for any feedback. Erik
Reporting & Analytics | | SmileMoreSEO0 -
Ecommerce data in universal analytics
Does any have the same issue. We are tracking e-commerce data in GA universal. We are finding that sales are being recorded on the day of the sale and again a few days later. It does only seem to be 1 or 2 sales that do this not all. Does anyone have any suggestions? Much appreciated. David
Reporting & Analytics | | Archers0 -
Google Analytics Code
We have a quick question about our Google Analytics code: We recently updated to a re-marketing Analytics code, and some of our traffic numbers seem to be off by a bit. I used the Google Tag Assistant Chrome Extension today, and noticed that it's finding our old Analytics code on our pages, but it's coming up as an error due to "no HTTP Response". I am attempting to remove this code from the website, but it is nowhere to be found in the HTML coding. Only the current one is there. So I'm wondering if this second Analytics code is effecting our traffic and reporting, even if the code is currently non-functional? and if it is, how could I go about removing it if it's not currently in our HTML? Thanks!
Reporting & Analytics | | PlanetDISH0 -
Tracking Goals on a Subdomain?
What needs to be done to Analytics to track goal completions on a subdomain? The main Analytics profile is set up for example.com, but landing pages for paid campaigns are set up at sub.example.com. Thank-you page is sub.example.com/thank-you.php What needs to be modified in Analytics (or to the Analytics code) or how do the goals need to be set up to track these subdomain conversions all within the same Analytics profile? They're not tracking currently. Thanks.
Reporting & Analytics | | elcrazyhorse0 -
How to find backlinks from GWT domains
Given the list of GWT domains that link to our site, what is an easy way to find the actual pages on those domains that link to our site? Best,
Reporting & Analytics | | ChristopherGlaeser
Christopher0 -
Switching Google Analytics from Urchin to GA
I want to finally make the switch from Urchin to GA in Analytics, but the Google support page is no longer working (I realize I'm late to this so they likely took it down/moved it to where I can't find it). I've been searching on Google but can't find a straightforward guide to changing that won't disrupt my data. Anyone have a link to a working guide, or can you provide some guidance?
Reporting & Analytics | | Axios_Systems0 -
My Domain Authority Dropped Dramatically..Can Someone Tell Me Why??
Over the last month or so my Domain Authority, my MozRank and MozTrust have all dropped off considerably. I haven't been doing anything different. So I don't know where to turn or what to do to get it back to where it was. The effects are horrible on my SEO. Can anyone out there tell me what it is I can do to why they dropped? Or more importantly, how can I improve it?
Reporting & Analytics | | Caseman0 -
Question on regular expression for filters on GA
Hi guys, I am creating profiles on some of the countries sites in my network, and have managed to establish the filter for tracking certain url patterns, for example: ^/japan-english- is tracking all my urls in the Japan site that start by japan-english great! however, it is not tracking the japanese instance of the urls. The pattern for the latter is : www.mysite.org/jp/japan-english I could then modify the filter to track the jp subfolder like this: ^/jp/japan-english- but it will then only track the urls on the /jp/ subfolder does anyone know the regex command for tracking the two url patters as follows: /jp/japan-english- & /japan-english- thanks in advance david
Reporting & Analytics | | BritishCouncil0