Google Analytics Click Tracking Step by Step

This post contains affiliate links. As a partner with Amazon and various brands, I am compensated when qualifying purchases are made through my referral links.

Learning to understand Google Analytics is crucial for any blog, website, or online business. It will enable you to know how your website is obtaining traffic and where your website needs to improve. 

However, Google Analytics click tracking enables you to understand additional elements of your website that Google Analytics cannot track alone. For example, Google Analytics click tracking shows how long users spend looking at a video or where users drop off at. 

What else can Google Analytics click tracking do?

  • Monitoring outbound clicks to other websites 
  • Checking how many users clicked on mail to email addresses or phone numbers
  • Tracking media and PDF downloads
  • Monitoring clicks on essential parts of your page, such as the “contact us” part. 

If you want to truly optimize your website to bring the most satisfactory results, using Google Analytics, click tracking is essential, and here’s how you do it!

Install Google Analytics 

You can’t use click tracking without installing Google Analytics into your website. You can do this by installing the code on your website and adding Google Tag Manager code to all your website’s pages. 

You should ensure you’re using the new Google Analytics version, the (gtas.js) version, before adding any code to your pages. The other version is the old Universal Google Analytics version (Analytics.js). But it’s best if you use the newer version. 

Decide which elements you wish to track 

Now you should decide which elements you wish to monitor. What is the most critical aspect of your page? Do you have an e-commerce website, or are you running a simple blog to engage readers? 

Once you’ve decided the most critical elements of your website, you choose either PDF downloads or clicks on outbound clicks. Moreover, if you have a website with affiliate links – such as hotels – you’ll want to know the best data on outbound clicks. 

Enable a link click trigger option in GTM 

To begin click tracking, you will need to enable something named a link click listener. This feature is in GMT and listens to link clicks on the page. If the click listener notices a click, it will show the event in Debug (P;D) mode and GTM preview.

The listener will push the click data to the data layer, allowing you to track made on your webpage at specific points on the page.

Google has many auto-listeners in GTM, such as YouTube Listener, Scroll Listener, and many more, so you can always track crucial data using auto-listeners. Also, there are various click listeners for the Mixcloud Player and Vimeo Listener. 

But you must have at least one click trigger enabled on a page. So you might ask, how do you do that?

In Google Tag Manager, you should click trigger, and then trigger configuration, and then new, and then click just links. Once you’ve got to this point, you should leave all settings the same and call the trigger all link clicks or whatever name you like. 

You should see a new event called link click on the summary section. If you don’t see this, then you should refresh the page.

Switch on built-in click variables

If you want to see more precise triggers, you require variables. These are small pieces of information you can use in triggers and tags. 

To enable these, you should go to your GMT account and head towards variables. You should then find the built-in variables section and then click configure. You’ll then see an extensive list of built-in variables, and you should click them all one by one. 

After that, you should refresh the page and see variables such as Click URL, Click Classes, etc. 

Make a tag 

Now you’re at an essential stage in setting up Google Analytics click tracking because you can send outbound link clicks to your Google Analytics data. 

You should go to tags in the GTM interface, then Tag Configuration, and Universal Analytics. From here, you can add anything important to you in the events category section. For example, you can add outbound clicks to the events section category to track all outbound clicks. 

Now you should be able to track all outbound clicks to any websites linked from your webpage, but now you’ll need to test to make sure. 

Test it

Now let’s refresh the page and go to the preview and debug mode. You can now click all clicks on your webpage to ensure click tracking is working. It should track all the clicks in real-time, so when you’re in Google Analytics, head to real-time and then events

You should see the data that you clicked with Google Tag Manager, and it should be in real-time. Once you see the data, you’ve successfully set up clicking tracking, and you can monitor all important activity on your website. 

Set a Google Analytics target based on click events 

So now you’ve set up Google Analytics click tracking, you can reap the benefits of the fantastic feature. But what is your goal? For obvious reasons, some clicks on the webpage are more important than others. 

If you’d like to set a goal, you should head to goals and then click new goal. Now you can enter the value that you consider to be a completed goal. For example, 10,000 clicks on your outbound affiliate link to a New York City hotel. 

Once you’ve set your goal, you should test it to ensure it works properly. You should click Google Analytics, and then Realtime, and then conversions.

You should see a conversions tab here, and you’ll be able to track your target and see how your website performs. Why not click the link a few times, just to make sure it’s successfully tracking your goal. 

Final Thoughts 

The process of setting up Google Analytics click tracking might seem complicated, but with the steps above, it becomes a lot easier. You must optimize the use of click tracking to better your business and grow. 

Many website users don’t understand the tool or don’t have the patience to set it up. Nevertheless, your website will be considerably better if you do so.