Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Technical SEO
    4. How to track my actual traffic source using Google Analytics which are now showing as referral traffic?

    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?

    Technical SEO
    3
    8
    1708
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • DebashishB
      DebashishB last edited by

      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?

      jZjTN

      1 Reply Last reply Reply Quote 0
      • TrentonGreener
        TrentonGreener @DebashishB last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • DebashishB
          DebashishB @TrentonGreener last edited by

          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.

          TrentonGreener 1 Reply Last reply Reply Quote 0
          • TrentonGreener
            TrentonGreener @DebashishB last edited by

            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

            DebashishB 1 Reply Last reply Reply Quote 1
            • DebashishB
              DebashishB @TrentonGreener last edited by

              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.

              TrentonGreener 1 Reply Last reply Reply Quote 0
              • DebashishB
                DebashishB @Alick300 last edited by

                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?

                1 Reply Last reply Reply Quote 0
                • TrentonGreener
                  TrentonGreener last edited by

                  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
                  DebashishB 1 Reply Last reply Reply Quote 0
                  • Alick300
                    Alick300 last edited by

                    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

                    DebashishB 1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    Got a burning SEO question?

                    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                    Start my free trial


                    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.

                    • See all categories

                    Related Questions

                    • woshea

                      Google Search Console Showing 404 errors for product pages not in sitemap?

                      search console 404 error 404s

                      We have some products with url changes over the past several months. Google is showing these as having 404 errors even though they are not in sitemap (sitemap shows the correct NEW url). Is this expected? Will these errors eventually go away/stop being monitored by Google?

                      Technical SEO | | woshea
                      0
                    • ghesta

                      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?
                      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/چگونه-پولدار-شویم/

                      Technical SEO | | ghesta
                      0
                    • TNZ

                      Google not Indexing images on CDN.

                      My URL is: https://bit.ly/2hWAApQ We have set up a CDN on our own domain: https://bit.ly/2KspW3C We have a main xml sitemap: https://bit.ly/2rd2jEb and https://bit.ly/2JMu7GB is one the sub sitemaps with images listed within. The image sitemap uses the CDN URLs. We verified the CDN subdomain in GWT. The robots.txt does not restrict any of the photos: https://bit.ly/2FAWJjk. Yet, GWT still reports none of our images on the CDN are indexed. I ve followed all the steps and still none of the images are being indexed. My problem seems similar to this ticket https://bit.ly/2FzUnBl but however different because we don't have a separate image sitemap but instead have listed image urls within the sitemaps itself. Can anyone help please? I will promptly respond to any queries. Thanks
                      Deepinder

                      Technical SEO | | TNZ
                      0
                    • RoxBrock

                      Robots.txt & meta noindex--site still shows up on Google Search

                      I have set up my robots.txt like this: User-agent: *
                      Disallow: / and I have this meta tag in my on a Wordpress site, set up with SEO Yoast name="robots" content="noindex,follow"/> I did "Fetch as Google" on my Google Search Console My website is still showing up in the search results and it says this: "A description for this result is not available because of this site's robots.txt" This site has not shown up for years and now it is ranking above my site that I want to rank for this keyword. How do I get Google to ignore this site? This seems really weird and I'm confused how a site with little content, that has not been updated for years can rank higher than a site that is constantly updated and improved.

                      Technical SEO | | RoxBrock
                      1
                    • ozererim

                      How do I get out of google bomb?

                      Hi all, I have a website named bijouxroom.com; and I was in the 7th page for the search term takı in google; and 2nd page for online takı. Now, I see that in one day my results seem to be on the 13th and 10th page in google respectively. I made too much anchor text for takı and online takı. What shall I do to gain my positions back? Thanks in advance. Regards,

                      Technical SEO | | ozererim
                      0
                    • Devicelock

                      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 | | Devicelock
                      0
                    • ClaireH-184886

                      Does anyone use buzzfeed to creat links traffic and increase brand

                      Hi i would like to know if anyone uses http://www.buzzfeed.com to create links, gain traffic and increase brand awareness. I have signed up for an account but cannot get it to work and would like some help. I can get my content on there but cannot manage to get the links to work I signed up for this account a while back and a friend shown me how to use it but i have forgotten. here is my page http://www.buzzfeed.com/lifestylemagazine some links work and some links do not. what i am trying to do is to publish stories from my site as well as other sites and have the link included where you press the title and it goes to the site any help would be great

                      Technical SEO | | ClaireH-184886
                      0
                    • glennfriesen

                      Does the Referral Traffic from a Link Influence the SEO Value of that Link?

                      If a link exists, and nobody clicks on it, could it still be valuable for SEO? Say I have 1000 links on 500 sites with Domain Authority ranging from 35 to 80. Let's pretend that 900 of those links generate referral traffic. Let's assume that the remaining 100 links are spread between 10 domains of the 500, but nobody ever clicks on them. Are they still valuable? Should an SEO seek to earn more links like those, even though they don't earn referral traffic? Does Google take referral data into account in evaluating links? 5343313-zelda-rogers-albums-zelda-pictures-duh-what-else-would-they-be-picture3672t-link-looks-so-lonely.jpg Sad%20little%20link.jpg

                      Technical SEO | | glennfriesen
                      1

                    Get started with Moz Pro!

                    Unlock the power of advanced SEO tools and data-driven insights.

                    Start my free trial
                    Products
                    • Moz Pro
                    • Moz Local
                    • Moz API
                    • Moz Data
                    • STAT
                    • Product Updates
                    Moz Solutions
                    • SMB Solutions
                    • Agency Solutions
                    • Enterprise Solutions
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • Local Citation Checker
                    • MozBar Extension
                    • MozCast
                    Resources
                    • Blog
                    • SEO Learning Center
                    • Help Hub
                    • Beginner's Guide to SEO
                    • How-to Guides
                    • Moz Academy
                    • API Docs
                    About Moz
                    • About
                    • Team
                    • Careers
                    • Contact
                    Why Moz
                    • Case Studies
                    • Testimonials
                    Get Involved
                    • Become an Affiliate
                    • MozCon
                    • Webinars
                    • Practical Marketer Series
                    • MozPod
                    Connect with us

                    Contact the Help team

                    Join our newsletter
                    Moz logo
                    © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy

                    Looks like your connection to Moz was lost, please wait while we try to reconnect.