Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
How do I manually add transactions to Google Analytics
-
We are seeing Google Analytic's drop transaction on our site so therefore all the figures are skewed.
Is there a way I can manually add transactions to GA to cover the missing one?
-
If you're getting dropped transactions for some reason, I would definitely recommend fixing that problem, as opposed to adding transactions manually, but if that's not possible for some reason, you could:
- Create a static HTML page that includes your Google Analytics tracking code plus the ecommerce tracking code, manually filled in with the data of the transaction.
- Post the HTML page up on your domain. Let's say the URL would be http://www.yourdomain.com/testpage.html
- Visit the URL (one time) with Google campaign variables appended to the URL to set the source/medium of the transaction to what it actually was. So for an organic Google search, the URL would look like - http://www.yourdomain.com/testpage.html?utm_source=google&utm_medium=organic&utm_term=somekeyword&utm_campaign=manual-transaction
That example URL in #3 would set the transaction to having come from an Organic google search.
Still though, best bet is to fix whatever problem is causing the transactions to be dropped, as this would be a pain in the ass to do for a ton of transactions.
Ben
-
This was my concern to be honest. Probably best to leave as is.
Thanks
Craig
-
You could... but it would skew your GA. They would all appear to be from one user. You would have no meaningful metrics either.
The way to add them would be to code a page that generates the sales codes for GA then call it. That would transmit the data to Google.
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
-
How to change domains in Google Analytics without losing the data
Hi there, We recently changed our domain from .COM to .NET so that all our subdomains from external pages matched. Right now in Google Console we have our new .NET website being tracked, but in GA we are still tracking .COM. It is also causing issues with MOZ crawling our site because of the .COM/.NET discrepancy. My question is what is the best way to change our Google Analytics from .COM to .NET without losing historical data and what considerations do we need to change before implementing this? Our team was concerned that just downloading the old data would be too vast and it we wouldn't be able to continue manipulating it dynamically in GA. Thanks!!
Reporting & Analytics | Mar 27, 2019, 6:45 PM | cPanel-LLC.0 -
What is Local SEO in Google Analytics (Organic Source)
Recently, I saw "Local SEO" is mentioned as the organic source. Can someone please tell what is this and from where Google is fetching data for this source?
Reporting & Analytics | Apr 4, 2017, 6:30 PM | Kevin.Monks0 -
Direct traffic spam on Google Analytics: how can you identify and filter it?
One of my smaller clients noticed a huge jump in direct traffic visits last month. The bounce rate was around 97% so I'm pretty certain that most of the traffic was illegitimate. I know how to filter out spam referrals and organic keywords in Google Analytics. However I'm not sure what to do about direct traffic spam. Are there recommendations for filtering this out? Can I identify spam IP addresses?
Reporting & Analytics | Jul 29, 2015, 7:41 PM | RosemaryB0 -
Tracking time spent on a section of a website in Google Analytics
Hi, I've been asked by a client to track time spent or number of pages visited on a specific section of their website using Google Analytics but can't see how to do this. For example, they have a "golf" section within their site and want to measure how many people either visit 5 page or more within the golf section or spend at least 6 minutes browsing the various golf section pages. Can anyone advise how if this can be done, and if so, how I go about it. Thanks
Reporting & Analytics | Dec 3, 2014, 12:44 PM | geckonm0 -
On google analytics what is Mozilla Compatible Agent under browser and OS?
On my Google Analytics (I know this is not SEOMOZ) I have a lot of visits from mozilla compatible agent with 100% bounce rate. Does anybody know what this is?
Reporting & Analytics | Apr 20, 2018, 11:08 AM | essentialworld0 -
Setting Up Google Analytic with Sub Folder Sites
What is the best way of setting up Google Analytic for a website that has many sub folders? The main site is example.com and it has 40 sub folder sites like example.com/uk example.com/France etc etc Would it be advised to track a single domain in Google Analytic then create filters for the sub folder sites. Filters > Include traffic from > Sub directories Also with this method is it possible to view overall incoming website stats for everything? Previous experience would be great with this thanks 🙂
Reporting & Analytics | Apr 2, 2012, 8:43 PM | daracreative0 -
Is there a way to use Google Analytics event tracking for YouTube embedded videos on my website?
Hello! I am trying to track different types of interaction on the YouTube for videos which are embedded on a website to measure the interaction on these video from my organic traffic. Is there a good way to go about this with the code since these are coming from an iFrame on YouTube? Would appreciate any feedback or help on implementing the event tracking with YouTube videos. Many thanks!
Reporting & Analytics | Feb 13, 2012, 4:55 PM | CabbageTree0 -
How do shortened links show up in Google Analytics?
Hey, How do shortened links show up in GA? So if I tweet about something and use bitly, does twitter get the referral? I am thinking not. I have never seen bitly show up as a referrer, but we gets lots of clicks from those links. Hmmmm. Anyone? E
Reporting & Analytics | May 24, 2011, 12:35 PM | ErinTM0