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
-
Disabling Hubspot AMP plugin - impact on GA
Hello, all!
Reporting & Analytics | | SimpleSearch
What impact have you seen if you've used the Hubspot AMP plugin and then disabled it?
We saw a big jump in sessions, which is weird because GA was tracking AMP pages. I'm trying to wrap my head around why this is happening but my brain isn't working 🙂0 -
Weird URL Structure in GA
Hey everyone, Thanks in advance for any insight on this. I've been researching it quite a bit on Google and haven't found anything yet. In Analytics, under our pages report, we're getting a lot of pages that look like this: www.execucar.com/https://www.execucar.com or www.execucar.com/https://www.execucar.com/locations/orlando-car-service Any thoughts on how to fix this? These pages don't exist...I'm at such a loss.
Reporting & Analytics | | SuperShuttle0 -
New website server code errors
I launched a new website at www.cheaptubes.com and have recovered my search engine rankings as well after penguin & panda devestation. I'm continuing to improve the site but moz analytics is saying I have 288 medium issues and i see the warning "45% of site pages served 302 redirects during the last crawl". I'm not sure how to fix this. I'm on WP using Yoast SEO so all the 301's I did are 301's not 302's. I do have SSL, could it be Http vs Https?
Reporting & Analytics | | cheaptubes0 -
Alternative domains redirected with 301 to the main domain
Hi everyone I've got a website which gained a Panda penalty back in March 2012 which was because of the implementation of a range of spammy practices (keyword stuffing in titles, indexed category and tag pages, duplicate domains). I've fixed the titles and deindexed any pages that could be seen as thin or duplicate so I'm confident that any onsite Panda issues have been fixed. As mentioned above the client had also created over 40 alternative domains to the website and pointed them to their main website folders (hence duplicating the website and content 40 times over). These domains have now been redirected via 301 redirects to the main website to ensure that any links they have gained are captured. The reason for the redirection is that we initially took the domains down and saw a drop in traffic and this seemed to be the most likely reason. While Moz and Majestic are not showing any significant links to these domains (which is why they where originally taken down), past experience has told me that these tools don't always pick up all referring domains. Primary domain workingvoices.com 5 Example Alternative Domains presentationskillslondon.com workingvoiceslive.biz workingvoices.co.uk livingvoices.co.uk working-voices.net Question 1: At the same time we took down the alternative domains (and experienced the drop in traffic) we removed duplicate instances of Google Analytics code from the webpages. All the guidance that we could find stated that duplicate instances of code shouldn't affect your Analytics numbers, hence we assumed it was the taking down of the alternative domains, but maybe the guidance we found was wrong? Question 2: It is 3 months later and these alternative domains are still indexed by Google, and Panda hasn't run since October 2014 so we haven't experienced a recovery yet. Redirecting the domains will remove any issue of a Panda penalty, but now of course I am worried about Penguin - the last thing I want to do is trigger that can of worms! This whole saga has been pretty complicated and I think I need some fresh sets of eyes. What does everyone think? Could the initial drop have been due to the duplicate Analytics code being removed? Could the redirecting domains trigger Penguin? Should we take the alternative domains down and be done with them? Any other thoughts! Looking forward to hearing your opinions! Damon.
Reporting & Analytics | | Digitator0 -
False Conversion Data in GA
Hi all, I have a problem with Conversion Tracking in Google Analytics. Our contact form conversion completes when the user hits the Thank You page. Yesterday we had an increase in conversions that didn't correlate to form submission emails. It appears that one person filled out our form, then returned (hit the back button?) to the Thank You page another 8 times as there were 8 entrances to the Thank You page and it's currently no indexed. Is there a way to prevent this from happening? Or should I just note in Analytics that the Conversion data is wrong for that day and note how many? Thanks!
Reporting & Analytics | | nsauser0 -
Google Analytics - Tracking a Goal from 1 Domain to Another
Hi there, been combing this page for some answers - https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite but can't seem to figure it out. Scenario - Site A Site B Currently have 2 different GA accounts set up on each. Is it possible to Track a Goal that happens on Site B, that comes from Site A - In Site A Reports? So say, Site A has a Newsletter, directing them to Site A but promoting Site B - i'd like to track the effectiveness of the newsletter. Site A is running a white label of Site B service. Thoughts? Cheers
Reporting & Analytics | | IsHot0 -
Conversion tracking
Is there a way in GA to setup tracking of the clicking internal URL that 301's to an affiliate ID? Peter
Reporting & Analytics | | PeterM220 -
Need Tips to Track Advertising of Domain on my Car
Hi, I'm working on building a new site. http://www.pilatesboisfranc.com/ I also bought the domain .ca (the business will be in canada) .net .org and .info All the domains are redirect to the .com This site is about my wife new business, a Pilates Studio. We would like to advertise the site on our personal car, using vinyl letters to display the domain name. Is there a way tu use the (.ca) http://www.pilatesboisfranc.ca advertise on my car and track that advertising using Analytics? I know I can use a URL something like http://www.pilatesboisfranc.com/health and track the hit, but using a shorter URL is the key. Can you help? Thank you, BigBlaze
Reporting & Analytics | | BigBlaze2050