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
-
In writing the url, it is better to use the language used by the people of my country or English?
We speak Persian and all people search in Persian on Google. But I read in some sources that the url should be in English. Please tell me which language to use for url writing?
Technical SEO | | ghesta
For example, I brought down two models: 1fb0e134-10dc-4737-904f-bfdf07143a98-image.png https://ghesta.ir/blog/how-to-become-rich/
2)https://ghesta.ir/blog/چگونه-پولدار-شویم/0 -
My WP website got attack by malware & now my website site:www.example.ca shows about 43000 indexed page in google.
Hi All My wordpress website got attack by malware last week. It affected my index page in google badly. my typical site:example.ca shows about 130 indexed pages on google. Now it shows about 43000 indexed pages. I had my server company tech support scan my site and clean the malware yesterday. But it still shows the same number of indexed page on google.
Technical SEO | | ChophelDoes anybody had ever experience such situation and how did you fixed it. Looking for help. Thanks FILE HIT LIST:
{YARA}Spam_PHP_WPVCD_ContentInjection : /home/example/public_html/wp-includes/wp-tmp.php
{YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-includes/wp-vcd.php
{YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-content/themes/oceanwp.zip
{YARA}webshell_webshell_cnseay02_1 : /home/example2/public_html/content.php
{YARA}eval_post : /home/example2/public_html/wp-includes/63292236.php
{YARA}webshell_webshell_cnseay02_1 : /home/example3/public_html/content.php
{YARA}eval_post : /home/example4/public_html/wp-admin/28855846.php
{HEX}php.generic.malware.442 : /home/example5/public_html/wp-22.php
{HEX}php.generic.cav7.421 : /home/example5/public_html/SEUN.php
{HEX}php.generic.malware.442 : /home/example5/public_html/Webhook.php0 -
How google crawls images and which url shows as source?
Hi, I noticed that some websites host their images to a different url than the one their actually website is hosted but in the end google link to the one that the site is hosted. Here is an example: This is a page of a hotel in booking.com: http://www.booking.com/hotel/us/harrah-s-caesars-palace.en-gb.html When I try a search for this hotel in google images it shows up one of the images of the slideshow. When I click on the image on Google search, if I choose the Visit Page button it links to the url above but the actual image is located in a totally different url: http://r-ec.bstatic.com/images/hotel/840x460/135/13526198.jpg My question is can you host your images to one site but show it to another site and in the end google will lead to the second one?
Technical SEO | | Tz_Seo0 -
Some Old date showing in SERP
I see some old date Jan 21 2013 showing up for some categories in Google search results. These are category pages and I do not see the date in view source. This is not a wordpress site or a blog page. We keep changing this page by removing/adding items so it is not outdated.
Technical SEO | | rbai0 -
Title tag not showing on google? Please Help!
I've read the FAQs and searched the help center. My URL is: http://www.webygeeks.comI have updated title tags of my client's website 10-15 days ago, still the title on google is coming as the company name 😞 Why so??Description is correct but title is incorrect, can you please recommend me something guys?Also, i am wondering why the google cache is showing date of september 5 and we have changed the titles around 10 - 15 days before that http://webcache.googleusercontent.com/search?q=cache:P45GOiHRaIUJ:www.webygeeks.com/+&cd=1&hl=en&ct=clnk Really appreciate your suggestion.
Technical SEO | | lvp11380 -
Spaces (actual spaces) in URL
Hi all, Is there a huge loss of SEO performance if a URL shows spaces with an actual space (i.e. %20) in the URL rather than a "-" (or indeed a "_")? I know the preferred option is to have a "-", but I am just wondering if it is worth our effort to manually change the "%20" to a "-" in all the instances? Thanks 🙂 Diana
Technical SEO | | Diana.varbanescu0 -
HELP: Wrong domain showing up in Google Search
So i have this domain (1)devicelock.com and i also had this other domain (2)ntutility.com, the 2nd domain was an old domain and it is not in use anymore. But when i search for devicelock on Google, the homepage devicelock.com does not exist. Only ntutility.com comes up. I asked one of the developer how the redirect is happening from the old domain to the new one and he told me its through a DNS forward. And there is no way to have an .htacess file to set up a 301 instead. Please help!
Technical SEO | | Devicelock0 -
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