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.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • 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

                    • dMaLasp

                      Favicon not showing in google serps

                      serp favicon

                      Hi, I have a website where the favicon is not showing in the google mobile serps. It's appearing the default icon instead (world icon). This is the tag I have place in the head section of the website: <link rel="shortcut icon" href="/favicon.ico" /> The size of the favicon is 48x48 and it's appearing correctly in the browser tag. I've checked that the google robot can crawl it and in the server logs I can see requests from the "Google Favicon" user-agent. Has anyone had this same problem? Any advice?

                      Technical SEO | | dMaLasp
                      0
                    • ThomasErb

                      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 | | ThomasErb
                      0
                    • Deacyde

                      Canonical homepage link uses trailing slash while default homepage uses no trailing slash, will this be an issue?

                      Hello, 1st off, let me explain my client in this case uses BigCommerce, and I don't have access to the backend like most other situations. So I have to rely on BG to handle certain issues. I'm curious if there is much of a difference using domain.com/ as the canonical url while BG currently is redirecting our domain to domain.com. I've been using domain.com/ consistently for the last 6 months, and since we switches stores on Friday, this issue has popped up and has me a bit worried that we'll loose somehow via link juice or overall indexing since this could confuse crawlers. Now some say that the domain url is fine using / or not, as per - https://moz.com/community/q/trailing-slash-and-rel-canonical But I also wanted to see what you all felt about this. What says you?

                      Technical SEO | | Deacyde
                      0
                    • Trevorneo

                      What punctuation can you use in meta tags? Are there any Google does not like?

                      So I know you can use dashes and | in meta tags, but can anyone tell me what other punctuation you can use? Also, it'd be great to know what punctuation you can't use. Thanks!

                      Technical SEO | | Trevorneo
                      1
                    • capmartin85

                      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 | | capmartin85
                      0
                    • themegroup

                      Effective use of hReview

                      Hi fellow Mozzers! I am just in the process of adding various reviews to our site (a design agency), but I wanted to use the ratings in different ways depending on the page. So for the home page and the services (branding, POS, direct mail etc) I wanted to aggregate relevant reviews (giving us an average of all reviews for the home page, an average of ratings from all brand projects and so on). Then, I wanted to put specific reviews on our portfolio pages, so the review relates specifically to that project. This is the easiest to do as the hReview generator is geared up for reviews that come from one source, but I can't find a way of aggregating the star ratings to make an average rating rich snippet. Anyone know where I can get the coding for this? Thanks in advance! Nick.

                      Technical SEO | | themegroup
                      0
                    • ttb

                      Tags showing up in Google

                      Yesterday a user pointed out to me that Tags were being indexed in Google search results and that was not a good idea. I went into my Yoast settings and checked the "nofollow, index" in my Taxanomies, but when checking the source code for no follow, I found nothing. So instead, I went into the robot.txt and disallowed /tag/ Is that ok? or is that a bad idea? The site is The Tech Block for anyone interested in looking.

                      Technical SEO | | ttb
                      0
                    • Stroll

                      MBG Tracker...how to use it?

                      So I am a new blogger that has been submitting guest blog posts to a number of different blogs. It was recommended that I use the MBG Tracker so I can track the back links. The problem is that I am totally lost on how to use this tool. As I said before I am new to this whole thing and I am not really sure what constitutes a "base link" and a "back link." In the author bylines we are linking to different pages within a larger website. If anyone can help me I would really appreciate it!

                      Technical SEO | | Stroll
                      0

                    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
                    • 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.