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. SEO and Digital Marketing Forum
    2. Categories
    3. Digital Marketing
    4. Affiliate Marketing
    5. 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
    11 5 27.7k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic 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


                          Explore more categories

                          • Moz Tools

                            Chat with the community about the Moz tools.

                            Getting Started
                            Moz Pro
                            Moz Local
                            Moz Bar
                            API
                            What's New

                          • SEO Tactics

                            Discuss the SEO process with fellow marketers

                            Content Development
                            Competitive Research
                            Keyword Research
                            Link Building
                            On-Page Optimization
                            Technical SEO
                            Reporting & Analytics
                            Intermediate & Advanced SEO
                            Image & Video Optimization
                            International SEO
                            Local SEO

                          • Community

                            Discuss industry events, jobs, and news!

                            Moz Blog
                            Moz News
                            Industry News
                            Jobs and Opportunities
                            SEO Learn Center
                            Whiteboard Friday

                          • Digital Marketing

                            Chat about tactics outside of SEO

                            Affiliate Marketing
                            Branding
                            Conversion Rate Optimization
                            Web Design
                            Paid Search Marketing
                            Social Media

                          • Research & Trends

                            Dive into research and trends in the search industry.

                            SERP Trends
                            Search Behavior
                            Algorithm Updates
                            White Hat / Black Hat SEO
                            Other SEO Tools

                          • Support

                            Connect on product support and feature requests.

                            Product Support
                            Feature Requests
                            Participate in User Research

                          • See all categories

                          • Why do my Google Analytics campaign URLs not show up in reports?
                            NHA_DistanceLearning
                            NHA_DistanceLearning
                            0
                            3
                            6.0k

                          • Affiliate URLs Indexed in Google
                            ATIseo
                            ATIseo
                            0
                            6
                            3.5k

                          • Google Analytics Tracking Pixels for Third-Party sites???
                            shawn81
                            shawn81
                            0
                            2
                            3.8k

                          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
                          • Digital Marketers
                          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 - 2026 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.