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 to track my actual traffic source using Google Analytics which are now showing as referral traffic?
-
Hi Mozzers, I went through many Q&As in the community this morning. I found a solution where I could just remove the referral site in analytics>admin>property>tracking info>referral exclusion list. So I removed paypal.com which was the main referral traffic. I thought the problem is solved.
Later today I got another order, now the referral traffic is from eway.com, now what? Yes I know I will add this to the exclusion list but there will be many more referral sites.
My main concern is I am not able to track the actual traffic source. How do I do that?
1. Do I need to use google url tracking for all my pages?
2. Do I need to add tracking code in each page of the site?
3. Is there a way to track the actual source of this traffic, now that the transaction is already made but reflects as referral traffic in Google Analytics? -
1. Adding this doesn't change the way a transaction is tracked, but instead makes it so that you can view the 'event' that fired under the event tracking in GA. If you look under here (Behavior > Events) can you see the successful event and the source/medium that drove it?
2. Have you also tried the previously mentioned segmentation under User Explorer? None of these fixes are going to change the way the data appears in the acquisition report (switching to PayPal Payments Pro usually does the trick, but is more expensive). All we're really looking to do here is find another way to attribute the conversions to their source.
I'd recommend revisiting my most recent reply on how to segment the users under User Explorer as this will likely give you the best insights.Let me know if you run into any issues there and I'll help you out.
-
Hi Trenton,
I will try the suggestions and fixes, will let you how it goes.
I did some research and tried these other fixes.
1. I have added a Event Tracking Code (EDT) to the buy buttons of Paypal and Eway. The EDT is added where the user clicks on the buy button and leaves our website from there. This is done to record the button click and send the report to Google analytics.
2. Enabled 'Auto Return' and Paypal PDT (Payment Data Transfer) which transfers the users GA reports.So, after applying this I got two transactions recently, but both are recorded under direct traffic in GA Aquisition report. Attaching a snapshot.
I am not clear where is the traffic coming from. Any thoughts. -
3 - In User Explorer, sort by transactions and you should be able to see users w/transactions. More specifically, if you create a segment (next to All Users) and create a new custom segment with:
- Conditions > Filter User > Include
- Transactions > per user > ≥ > 1
Then by looking through just this segment (select it on the top of the page) you will be able to see only users that have a transaction. You can then dive into these user's sessions by clicking their 'Client Id' and you can see the full path they took to conversion. This is assuming they didn't view any pages that did not have the GA code on them.
This combined with your other fixes should solve your issue and allow you to determine what drove the conversions!
Campaign timeouts - The issue here is that any new channel that drives traffic may not get the credit it deserves.
I would recommend to keep this at 6-12 months. You don't want credit going to a single channel because it drove the original session 24 months ago, because that was not the session that carried purchase intent.Good luck! Let us know if we can help any further on this!
Trenton
-
Hey Trenton,
Thanks for helping me out. I will try to give me as much coordination possible. Here's the information you asked for:
-My site is built on Magento platform.
-We use two payment gateways 1. paypal.com and 2. eway.com - I guess these are the 3rd party payment gateways you are refering to.2- So I am in the process of including the GA tracking code on every page of the site.
3- Yes I understand the previous customers cannot be tracked. I tried looking at the user explorer but doesn't show any revenue earned. Attaching a snapshot.
Also, for now, I have including both paypal.com and eway.com in the referral exclusion list. Plus as mentioned earlier in session settings I have made the campaign timeout zero -> Should I be cautious?
Let me know how should I proceed now.
-
Hi,
Thank you for the tip. Campaign timeout was set at 6 months, I have changed it to zero months now. So no cookies will be saved now, will this have any problems regarding tracking the user's original source page? For example, did he come from a social media platform, guest blog or a returning customer who already knows my brand?
-
Hey DebashishB,
I'd love to help you get this sorted out. I've dealt with PayPal & other 3rd party payment authorization platforms causing issues with correct attribution in GA before and I know that it can be a huge hassle.
Before I specifically give you a solution, could you provide a little more information about your site? What platform is it built on? Do you use a 3rd party drop-in for shopping cart and payment? Any additional information you can provide would be wonderful! Linking to the site specifically would be great, but I understand if you would rather not.
2 - Yes, you will want to ensure that the GA tracking code is included on every page of your site to ensure proper attribution.
3 - As Alick300 mentioned, unfortunately you cannot retroactively manipulate the data. So transactions already completed will appear as referral; however, under Audience>User Explorer you may be able to segment your data in a way that you can isolate the user that these transactions are tied to and learn more about their progression throughout your site & their path to conversion.
I''ll follow up when you have had a chance to provide further information on this.
- Trenton
-
Hi Debashish,
It worth mentioning that the referral exclusion list does not work for traffic that is already cookied. So if a returning visitor had a referral source set before you added it to the list and then visits as direct, they will still have that referral source. Please check your session settings under Property -> Tracking Info -> Session Settings -> Campaign Timeout. If it's set to six months for example, it will take six months for all the self referrals to disappear.
Hope this helps.
Thanks
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
-
Should we use Cloudflare
Hi all, we want to speed up our website (hosted in Wordpress, traffic around 450,000 page views monthly), we use lots of images. And we're wondering about setting up on Cloudflare, however after searching a bit in Google I have seen some people say the change in IP, or possible sharing of Its with bad neighbourhoods, can really hit search rankings. So, I was wondering what the latest thinking is on this subject, would the increased speed and local server locations be a boost for SEO, moreso than a potential loss of rankings for changing IP? Thanks!
Technical SEO | | tiromedia1 -
Google Showing wrong image in the SERPS
Hi Guys, In organic SERPS Google pulling incorrect product image, instead of product image its showing image from relevant products, Checked the structured data, og:image everything is set to the product image, not sure why google showing images from relevant product sidebar, any help, please?
Technical SEO | | SpartMoz0 -
Exclude local host traffic from google analytics
I'm getting a lot of local host referral traffic from an unknown source.I want to get rid of this from my google analytics reports. I've tried this filter - but the traffic still appears. Filtername = local host Filtertype= custom Exclude = filter field referral Filter pattern (.?localhost.?) Any ideas ? thanks in advance.
Technical SEO | | ThomasErb0 -
URL has caps, but canonical does not. Now what?
Hi, Just started working with a site that has the occasional url with a capital, but then the url in the canonical as lower case. Neither, when entered in a browser, resolves to the other. It's a Shopify site. What do you think I should do?
Technical SEO | | 945010 -
Subdomain as News Section instead of Source in Google News?
Hi, trying to dig into Google News for a large site, mostly containing news.
Technical SEO | | m.m
The structure of the site network is subdomain.domain.se, and each subdomain has it's own brand with it's own news: x.domain.se
y.domain.se
z.domain.se
etc... Each brand/subdomain is more or less to equate with its own subjectfield/section. In Google News every subdomain is configured with it's own Site Source url, but also having the set up with one section with the same url. It seems like they're getting conflicts in Google News, Google can't always figure out which news article to which brand. Example: an article owned by brand A, but it is sometimes happens that articles getting labeled as brand B in the news SERP, though the link takes you correctly to brand A. I am thinking that this config in News Publisher Center may be a problem? Anyone having any thoughts if that would be better if we delete all source urls except for domain.se-brand and then put all the other subdomains as sections? www.domain.se x.domain.se y.doamin.se z.domain.se Any smart thoughts on this one? Or anything else that could make this wrong labeling (all content included images are hosted in same domain for example). Regards,
Magnus0 -
When you change your domain, How much time do I have to wait for google to return the traffic used to have?
Hello. 20 days ago, I changed my domain from uclasificados.net to uclasificados.com doing redirect 301 to all urls, and I started to loose rankings since that moment. I was wondering if changing it back could be the solutions, but some experts recommend me not to do that, because it could be worse. Right now I receave almost 50% of traffic I used to receave before, and I have done a lot of linkbuilding strategies to recover but nothing have worked until now. Even though I notified google of this change and I send again my new sitemap, I don't see that have improve my situation in any aspects, and I still see in webmastertools search stats from my last website (the website who used to be uclasificados.com before the change). What should I do to recover faster?
Technical SEO | | capmartin850 -
Using the Google Remove URL Tool to remove https pages
I have found a way to get a list of 'some' of my 180,000+ garbage URLs now, and I'm going through the tedious task of using the URL removal tool to put them in one at a time. Between that and my robots.txt file and the URL Parameters, I'm hoping to see some change each week. I have noticed when I put URL's starting with https:// in to the removal tool, it adds the http:// main URL at the front. For example, I add to the removal tool:- https://www.mydomain.com/blah.html?search_garbage_url_addition On the confirmation page, the URL actually shows as:- http://www.mydomain.com/https://www.mydomain.com/blah.html?search_garbage_url_addition I don't want to accidentally remove my main URL or cause problems. Is this the right way this should look? AND PART 2 OF MY QUESTION If you see the search description in Google for a page you want removed that says the following in the SERP results, should I still go to the trouble of putting in the removal request? www.domain.com/url.html?xsearch_... A description for this result is not available because of this site's robots.txt – learn more.
Technical SEO | | sparrowdog1 -
Google is indexing my directories
I'm sure this has been asked before, but I was looking at all of Google's results for my site and I found dozens of results for directories such as: Index of /scouting/blog/wp-includes/js/swfupload/plugins Obviously I don't want those indexed. How do I prevent Google from indexing those? Also, it only seems to be doing it with Wordpress, not any of the directories on my main site. (We have a wordpress blog, which is only a portion of the site)
Technical SEO | | UnderRugSwept0