Master your Amazon Affiliate Click-Through-Rates with Google Analytics Event Tracking & AmaLinks Pro

Back to All Documentation

Are you ready to see exactly what people are clicking on when viewing your pages? Did you know you could be tracking your affiliate link clicks almost instantly with AmaLinks Pro?

Today I’m going to show you how easy and powerful it is to track your affiliate link clicks right within Google Analytics.

Why would you want to track affiliate link clicks?

So you can see exactly what people click on within the context of all the other Google Analytics data available. For example, do you know without a doubt what products in your tables are clicked on the most? And have the data to back it up?

Well, it’s easy with AmaLinks Pro! 

Here is how to make sure your website is set up to track the AmaLinks Pro Affiliate Link Event Data.

Step 1: Install Google Analytics

* If you know you have Google Analytics installed, you can skip this step, but come back to troubleshoot if your event tracking is not working.

Log into your Google Analytics and set up a Property for your website if you have not already. There are many tutorials online if you need help with this step.

Then add the tracking code to your website in your preferred way. You can either paste this code into yourtag or use a plugin such as Google Analyticator to add the tracking code to your site.

AmaLinks Pro Auto Event Tracking works with either the latest and standard gtag.js as in the example above but also works with the legacy analytics.js tracking code as well. We recommend using the gtag.js version as that is what Google recommends.

Step 2: Verify your Google Analytics Tracking Code is Tracking Properly, and test out Real-time Analytics

To test if your Google Analytics is tracking properly, visit the Real Time > Overview page and you should see yourself there and be tracking at least 1 visitor.

 

Don’t see anything being tracked in the real time analytics?

If you are using the Google Analyticator plugin mentioned above, it may be set to not track logged in admin users. If this is the case, log out of your website, visit your homepage, and see if you are being tracked.

If nothing is being tracked, the next step is to verify that you see your tracking code in the website’s source code.

To verify if your tracking code is installed, right-click on your webpage in an open space, and click “View Page Source”

Next, look at the page of code that opened up in a new tab, and click CTRL+F (CMD+F Mac) and search for the word “google”. You should be able to find your Google Analytics tracking code that looks similar to this.

If you do not see your tracking code present in the page source, and no traffic is being recorded in real-time, please refer to the documentation of the plugin you are using to insert the tracking code or refer to Google’s own documentation.

Step 3: Activate Event Tracking in your AmaLinks Pro Settings

Once you have your Real-time Google Analytics working, and can see yourself in the Real-time traffic (check by looking for your location, city, etc…) go to your AmaLinks Pro Settings Page and click on the “General” tab. If you do not see the “general” tab, your plugin may be out of date. Update the plugin and try again

Check the box next to “Enable Google Analytics Auto Event Tracking” and click the “Save Changes” button.

Now you should be all set up to test your event tracking.

Step 4: Testing the AmaLinks Pro Auto Event Tracking in Google

Open up a page that has either an AmaLinks Pro text link, image link, showcase or product comparison table … and click on a link or two. DO NOT CLICK MORE THAN YOU NEED! You don’t want to send Amazon much test traffic.

Now open up your web browser page with the Google Analytics Real-time Analytics and click on the Events view.

Give it a few seconds after clicking your affiliate link, but if after say 30 seconds you do not see your click tracked in real-time, go back through these instructions to see what is wrong.

If tracked successfully, you will see events listed for your click! You will now track every Amazon Affiliate link click right within Google Analytics – enabling you to get some really awesome data on exactly what people are clicking on within your web pages.

Here’s What To Do with the Affiliate Link Data Tracked in Google Analytics

Okay, so now you’ve been tracking your affiliate link clicks in Google Analytics. What good does this do you?

Let’s find out!

The Anatomy of an event tracked in GA (Google Analytics)

Every event we track has 3 components sent over to Google Analytics. These have a hierarchical structure.

  • Category – We send over the Page ID and the Page Title. This is our highest level of organization. By tracking the page the visitor viewed as the top level, you will be able to collect data on all link types that were clicked on that page
    • Action – This tells you whether the user clicked a text link, image link, CTA button, Showcase link, or comparison table link.
      • Label – In the label, we send over some important information about exactly what was clicked, such as the ASIN, link text, or image alt tag.

Now let’s take a look at all of the events that are tracked for AmaLinks Pro

All Events Automatically Tracked with AmaLinks Pro

  • Text Link
    • Category: ID# 123 – Your Page Title Here
      • Action: Text Link Click
      • Label: Link Text: XXXXXX, ASIN: XXXXXXXXX
  • Image Link
    • Category: ID# 123 – Your Page Title Here
      • Action: Image Link Click
      • Label: Image Alt Tag: XXXXXX, ASIN: XXXXXXXXX
  • CTA Button
    • Category: ID# 123 – Your Page Title Here
      • Action: CTA Button Click
      • Label: CTA Button: XXXXXX, ASIN: XXXXXXXXX
  • Showcase
    • Category: ID# 123 – Your Page Title Here
      • Action: Showcase Title Link Click
      • Label: CTA Button: XXXXXX, ASIN: XXXXXXXXX
    • Category: ID# 123 – Your Page Title Here
      • Action: Showcase Image Link Click
      • Label: CTA Button: XXXXXX, ASIN: XXXXXXXXX
    • Category: ID# 123 – Your Page Title Here
      • Action: Showcase Bottom Button Click
      • Label: CTA Button: XXXXXX, ASIN: XXXXXXXXX
    • Category: ID# 123 – Your Page Title Here
      • Action: Showcase Opened Reviews
      • Label: CTA Button: XXXXXX, ASIN: XXXXXXXXX
    • Category: ID# 123 – Your Page Title Here
      • Action: Showcase Closed Reviews
      • Label: CTA Button: XXXXXX, ASIN: XXXXXXXXX
    • Category: ID# 123 – Your Page Title Here
      • Action: Showcase Opened Disclaimer Popup
      • Label: CTA Button: XXXXXX, ASIN: XXXXXXXXX
    • Category: ID# 123 – Your Page Title Here
      • Action: Showcase Closed Disclaimer Popup
      • Label: CTA Button: XXXXXX, ASIN: XXXXXXXXX
  • Comparison Table
    • Category: ID# 123 – Your Page Title Here
      • Action: Image Link Click
      • Label: Image Alt Tag: XXXXXX, ASIN: XXXXXXXXX
    • Category: ID# 123 – Your Page Title Here
      • Action: Image Link Click
      • Label: Image Alt Tag: XXXXXX, ASIN: XXXXXXXXX
    • Category: ID# 123 – Your Page Title Here
      • Action: Image Link Click
      • Label: Image Alt Tag: XXXXXX, ASIN: XXXXXXXXX
    • Category: ID# 123 – Your Page Title Here
      • Action: Image Link Click
      • Label: Image Alt Tag: XXXXXX, ASIN: XXXXXXXXX

By organizing our event categories by page, you can track all types of AmaLinks Pro links on a web page and see what ones are really getting hight CTRs, and what links are not converting.

Are your image links the best performing? Or maybe the Comparison Table is. Even if it is the comparison table – which product and what column are being clicked on?

Now you can find out.

Now that we can collect this data, I’m going to collect some event data and add some examples here on how to use this information to make data-driven decisions on what your readers are actually interested in clicking on.

More to come …

1 thought on “Master your Amazon Affiliate Click-Through-Rates with Google Analytics Event Tracking & AmaLinks Pro”

Leave a Comment

(more links in the footer)