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

                          • Katarina-Borovska

                            Conversions tracking on another website

                            Hi guys, Situation: A website selling a mix of products from various vendors. When a product's Buy Now get clicked, it redirects to the vendor's website so the order can be placed there. Question: How do I track all these conversions reliably? Is there any shortcut? Also, what do they need to do technically to make it work, and will it send to my GA or is it any tool that will record these conversions? Does anyone do this actively? Thanks for ALL the ANSWERS!

                            Affiliate Marketing | | Katarina-Borovska
                            0
                          • 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
                          • 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
                          • 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
                          • ATIseo

                            Affiliate URLs Indexed in Google

                            We have an active in-house affiliate program which has a create-a-link function where affiliate, as in most affiliate programs, can build links back to our content to produce sales. The problem that I am seeing is that some of the affiliate URL versions are being indexed in Google rather than the original page. For instance.. http://www.ourdomain.com/page_start.aspx?affnum=F025212&Start_Page=RaceCar&referrer=createlink is outranking... http://www.ourdomain.com/racecar This presents 2 issues for us. First, this presents duplicate content issues obviously. Second, we pay our affiliates a portion of the sales so, in order to maximize profitability, we'd like the indexed pages to be the original version. What's the best way to handle this? I want to make sure that affiliates continue to get credit for links from their sites but search engine links should go to the original versions.

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