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

                          • KasperK

                            Is Affiliate Duplicate Content?

                            Hi moz fans!
                            I'm working on some client sites.
                            They have a lot of products, which they are selling through their webshop and two affiliate sites.
                            But I can't stop wondering:
                            The affilate sites are using the same product descriptions and images - Will Google see that as duplicate content?
                            And if so.. How can I prevent that? The two affiliate sites are well etablished and huge sites, so I guess they know what they are doing.. Is there some way I can check it? When I do a google search, whit the "My product description text", I'm getting some different results: Sometimes all three sites appear (main site, and affilate) Sometimes it's only the affilates Sometimes it's only the main site. So to make it short:
                            If i'm using affliate, will Google see it as duplicate content?
                            How do I check it, and how do I prevent it? Thank you!

                            Affiliate Marketing | | KasperK
                            0
                          • BradsDeals

                            Looking for a way to crawl and test validity of affiliate links at scale. Ideas?

                            Hey all, I'm on the hunt for a service that will crawl our affiliate links and let us know when they return an error. I need to know that the last URL in the chain is returning a 200 over thousands of pages and links on a continual basis. The hitch is that most crawlers like Screaming Frog will return all of our links as working because it's only testing the first step, and this really requires a cloud solution anyway. Anyone happen to know of something? Edit for clarity's sake: I need something to check entire redirect chains in bulk that isn't a Wordpress plugin, isn't a website where you plug in a URL and it cuts you off after the first 100 results, and has the ability to crawl the site and provide reporting on a continual basis. Bi75jku

                            Affiliate Marketing | | BradsDeals
                            0
                          • edward-may

                            Affiliate Program: Does anyone know how to set this up?

                            Hi Guys Does anyone know how I can make a affiliate programme on my website eg - I have a sales person in two of our local regions and I want to find a way I can track any sales made through them via my website so I can pay them their commission. Any advice around this, the website is wordpress! Cheers Justin

                            Affiliate Marketing | | edward-may
                            0
                          • 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
                          • juris_l

                            Affiliate program links

                            Hello, I've question regarding affiliate partner generated links.Company www.example.com has a affiliate program. Partner www.example2.com links to the company site with affiliate link www.example.com/?affid=xxxx in banner, article etc. As I understand these type of links could hurt our Company site, so I asked partners to use rel="nofollow" in all links where they link to us usign ?affid=xxxx in url. To be 100% sure that I did the right thing I decided to post here my question. Could these type of links hurt our Company site? Regards,
                            Juris

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