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
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • 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.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

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

      • 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

                          • lfrazer

                            Affiliate marketing: yes or no?

                            Hello, A colleague recently asked me about affiliate marketing for our clients, and my answer for a few years now has been emphatically "no", because I had not seen it done in positive way. How does everyone weigh in affiliate marketing, and what companies and/or software would you suggest? For example, is http://www.admedia.com/ a reputable source? I see lots of bad reviews on these guys. Any thoughts, suggestions, etc would be extremely valuable. Thanks in advance!

                            Affiliate Marketing | | lfrazer
                            0
                          • EcommerceSite

                            How to setup affiliate marketing for my website?

                            I work for an ecommerce company and would like to setup some sort of affiliate marketing similar to Amazon. 1. If someone was referred to our site and they made a purchase we would pay out. 2. If we referred a user to someone else's page and they made a purchase we would get paid. I looked into http://www.commissionfactory.com/ but wasn't sure if that would meet my needs. Does anyone have any recommendations?

                            Affiliate Marketing | | EcommerceSite
                            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
                          • unikey

                            Affiliate Programs

                            Hi, I am wondering what if any affiliate management applications are being used out there. Anyone using Shareasale... I am looking into them.

                            Affiliate Marketing | | unikey
                            0
                          • tennisexpress

                            Does Google look at Domain Registrar owner information when counting links into a site?

                            Question: If the domain registrar owner info is the same on two websites, will Google/other search engines discredit any linking between the two sites when calculating page rank? We have two company sites. One is our main ecommerce domain which we have been linking into from information domains in the past. We recently cut ties with the company that hosted them for us and wish to host them ourselves to preserve the inbound traffic. We are worried, however, that the traffic will be discredited now that we own both domains. Thanks for looking!

                            Affiliate Marketing | | tennisexpress
                            0
                          • bizzer

                            In what ways would an affiliate site be okay with Google?

                            I know Google has slammed affiliate sites hard. But affiliate marketing can be a real business and had an idea for one, but I would like to know if ALL affiliate sites are looked at as evil in Google's eyes, or if it's just those with thin and duplicate content in the product descriptions. I know they want brands to come up ahead of affiliates of that brand, and that makes sense.  If I sold Acme Widgets products, Acme Widgets itself should come up ahead of my site.  But what if the site sold widgets in general, with the term widgets not a branded keyword? If all product descriptions are unique and well-written content, on a site that is  high quality, would it still be downgraded by Google just because there are affilate links in it? I guess overall the question could be boiled down to, are affiliate sites hit because they have horrible content or because they have links to affiliate programs in them?

                            Affiliate Marketing | | bizzer
                            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
                          • Gamer07

                            How many affiliate links is considered too many?

                            Hi, Let's say you have great reviews for 50 products and some of these products do have affiliate links on review pages. And then you have user scores and you come up with a top 20 product list sorted by user scores. Now if you have the list of  top 20 products on one page and all these products have an affiliate link (with nofollow relation and a 301 redirect) on the same page with only a couple of images and a summary of the review linked to the review pages, would this still be considered as what Google calls a "bridge page"? Would it be better to still generate the top 20 list but rather link to review pages only? (to avoid too many affiliate links on one single page).

                            Affiliate Marketing | | Gamer07
                            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
                          • 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.