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. Digital Marketing
    3. Affiliate Marketing
    4. How to track Affiliate Clicks to Google Analytics

    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 Affiliate Clicks to Google Analytics

    Affiliate Marketing
    5
    11
    27326
    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.
    • gamesecure
      gamesecure last edited by

      Hi,

      We would like to track the affiliate link clicks. Is there any way to track it from Google Analytic?


      Rajiv

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

        Rajiv,

        In GA are you looking under Goals or Events? Go to Behavior ---> Events.

        Do you see anything there? And are you sure people are clicking those buttons?

        That landing page is massively keyword stuffed. If it works for you then fine, but if you're having trouble ranking I would look into drastically reducing keyword use on the page.

        Good luck!

        1 Reply Last reply Reply Quote 2
        • gamesecure
          gamesecure @Everett last edited by

          Hello Everett,

          It seems that you provided Classic Analytics link even we are using Universal Analytics. set the function according to Universal Analytics but there no tracking.

          --

          Rajiv

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

            Did this work for you Rajiv?

            Event Tracking is definitely what you're looking for. You can learn more about it here:

            https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

            gamesecure 1 Reply Last reply Reply Quote 1
            • Alick300
              Alick300 last edited by

              Hi Rajiv,

              Use this ga('send','event','category','action'); tracking will work, you can test by clicking yourself on the link.

              Hope this helps.

              Thanks

              Everett 1 Reply Last reply Reply Quote 1
              • gamesecure
                gamesecure @Alick300 last edited by

                Hello Alick300,

                After watching your referred video, I implemented the process to track the click  but conversion count is still  0 in Google Analytics. Could you check where did I mistake?

                Web site http://www.adulthosting.org/ on the home page, visit now link is given in a table. on the button click following code Placed :

                Visit Now

                And in GA I defined a Goal selecting type Event and 'Affiliate' Category is taken under Goal details.
                Is there any issue with function used in HTML on button click or in Goal Setting.


                Rajiv

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

                  Got it! thanks Alick300🙂

                  1 Reply Last reply Reply Quote 0
                  • gamesecure
                    gamesecure @Carloseo last edited by

                    Hi Carlos,

                    This guide for WordPress but we are not using WrodPress platform. Also, Installation of Google Analytics Plugin is required.  I wonder if there is a functionality  in GA without any installation.

                    --

                    Rajiv

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

                      Hi,

                      You can track affiliate link clicks by event tracking. I'm sharing you a video that will help you to track any clicks by event tricking.

                      http://www.matthewwoodward.co.uk/tutorials/how-to-track-anything-with-google-analytics/

                      Hope this helps.

                      Thanks

                      gamesecure 2 Replies Last reply Reply Quote 1
                      • Snoogle
                        Snoogle last edited by

                        Another way is through using StatCounter - a free competitor to Google Analytic.

                        It has a pre-built external link tracking, which I use on a number of client sites to track exit links. This may be handy for affiliate tracking too. Attached is a screengrab of the exit link tracking dashboard

                        dhefsxZ

                        1 Reply Last reply Reply Quote -1
                        • Carloseo
                          Carloseo last edited by

                          Hi Jajiv,

                          Sure there is, you can follow this step by step guide is very well explained.

                          http://authoritywebsiteincome.com/how-to-actually-set-up-google-analytics-click-tracking-affiliate-links-and-external-clicks-step-by-step-guide/

                          Hope it helps,

                          gamesecure 1 Reply Last reply Reply Quote 1
                          • 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

                          • nomad_blogger

                            My affiliate links are being crawled by Google. Is this a bad thing? Also, should I add rel: nofollow to affiliate links?

                            Hi All, I have an issue on Google Search Console. It seems all my affiliate links are being crawled. Is this a bad thing? The reason I found out is that all but one link was flagged with a warming. It goes on to say that it was blocked by robots.txt. The strange thing is that I've not set any links to be blocked in robots.txt. Also, should affiliate links be nofollow?  I'm asking because I was recently sent this article by Yoast on how to properly cloak my affiliate links without using a plugin. https://yoast.com/cloak-affiliate-links/  In the method, they apply the nofollow and noindex rules to the links. I'm just a little confused on how to go about affiliate links the SEO friendly way.

                            Affiliate Marketing | | nomad_blogger
                            0
                          • lcourse

                            What is the danger of integrating different affiliate program widgets far under our core content?

                            We have pages with lots of unique content that are ranking very well in google.
                            I am now considering to add towards the end of the pages widgets from the booking.com affiliate program and also from the affiliate program of two other accommodtion sites. These affilliate widgets would be placed far beyond our core content in the bottom 15% of the page. Each widget will contain a large number of links to the different accomodation options that booking.com or others offer. In our context this information would be indeed very useful for our visitors. Shall I be concerned that our google rankings may suffer due to google perceiving our site as less quality (or google misinterpreting our intent to generate traffic to affiliate programs) ? If google rankings would be suffering, is this something we would normally see in a week (most of our pages are crawled daily by google)  and then recover in a week when we would remove the widgets or would this generally be something that would affect the ranking over the course of a month or more? Shall I be concerned abou link dillution since my pages would now have a lot of links pointing to the affiliate sites, which could devalue my internal links? Any thoughts?

                            Affiliate Marketing | | lcourse
                            0
                          • Benavest

                            What's the best way to go about making Duplicate Content Pages on my domain for affiliates?

                            Hello, I would like to make a bunch of duplicate pages of my site's Home Page, that way affiliates of mine can have a page of their own with links specialized to themselves littered throughout the page. What's the best practice going about this without jeopardizing domain authority from tons of duplicate content signals firing off?

                            Affiliate Marketing | | Benavest
                            0
                          • Zippy-Bungle

                            How do you find Affiliate Links on your site that have not been nofollowed?

                            We've just signed up to an affiliate scheme because we were sending links to them because we thought their product was valuable to our users. So we now have to go through and nofollow all of these links over 100's of pages. Is there any way that do a crawl of the site to identify all links to a particular site and tell me what page they are on and whether they are nofollow/follow?

                            Affiliate Marketing | | Zippy-Bungle
                            0
                          • NHA_DistanceLearning

                            Why do my Google Analytics campaign URLs not show up in reports?

                            Hi guys, I'm puzzled because of my affiliate campaign URLs not showing up properly in my Google Analytics reports. I'll try to explain what I did and I hope some of you can provide advice on how to proceed from there on. What do I want to do?
                            Actually, what I want to do is quite simple. I tagged a few URLs for Google Analytics to show up in my campaign reports. I used the URL builder to do so. Example: http://www.nhad.de?utm_source=affiliate&utm_medium=zanox&utm_content=banner&utm_campaign=105x139. Is that the entire URL?
                            Uhm, no. Because of the active de-duplication script on our website, I need to put some characters in front of it: **www.nhad.de/affiliate.aspx?NETWORK=ZANOX&NEXTURL=**http://www.nhad.de?utm_source=affiliate&utm_medium=zanox&utm_content=banner&utm_campaign=105x139. Yikes. Yes, I know. What do I see?
                            Basically, when I paste the above url and run it in (for example) Chrome, only this shows up in my browser: www.nhad.de/?utm_source=affiliate. In my Analytics reports, the campaign URL is not recognised, just the source in my traffic report. The medium is indicated with 'not set'. What am I doing wrong, and what can I do to make my campaigns appear in Analytics? Best, Bas

                            Affiliate Marketing | | NHA_DistanceLearning
                            0
                          • xoffie

                            Merchant´s data feed for affiliates is the same content as their own website...

                            Hi Some advice appreciated.  Started working on a site and found out that they are giving their unique content to their affiliates (an XML feed so appearing on another domain). In this case, if they want to provide the data like that, how can we protect ourselves? Should we use author tags in our html, is that necessary? Is there any fix other than "stop doing that and give them different content"? Thanks

                            Affiliate Marketing | | xoffie
                            0
                          • bizzer

                            Can anyone help me find the broadband ISP affiliate program I need?

                            I have a couple sites that deal with broadband internet access, and I'm looking to monetize beyond adsense. I'd like to sign up for some affiliate programs from internet service providers like Charter, CenturyLink, Comcast, etc. I found a couple affiliate programs but I am having no luck at all figuring out the programs that so many other websites are involved with.  In about every case, the user is able to enter in their address and then a search is performed, returning programs available at their location.  The programs I've found just do the traditional ad click-throughs for a possible commission. Can anyone enlighten me what kind of programs they are using?

                            Affiliate Marketing | | bizzer
                            0
                          • shawn81

                            Google Analytics Tracking Pixels for Third-Party sites???

                            Hello, Does anyone know if it is possible to track an event on a third party site and have it post back to your Google Analytics account? For example, I am sending traffic to a partners site and I want to know if that traffic I am sending them will hit a specific point of conversion (a sale) and I'm wondering if it possible to place a tracking pixel on their thankyou.html page that gets recorded in my google analytics?

                            Affiliate Marketing | | shawn81
                            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

                          Access all your tools in one place. Whether you're tracking progress or analyzing data, everything you need is at your fingertips.

                          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.