Teaching Tuesday: Tracking clicks on your website

Most people who own a website are aware or have at least heard of goals and conversions. The goal or conversion being a specific action that takes place on a website which is tracked, such as making a purchase or completing a form. However, a lot of people aren't aware that you can track clicks on a website and set those up as goals. For example, if you have an email address at the bottom of your website you might want to know how many people have clicked on said email address. Google Analytics has this functionality available and it's our opinion that it's heavily under utilised. Today we're going to show you how to track clicks on your website with Google Analytics. The first thing we need to do is create a goal almost as we usually do:
  1. Log into your Google Analytics account.
  2. Navigate to Goals under the "Admin" tab.
  3. Click on "+ New Goal".
  4. From the Goal setup choose "Custom" and click "Continue".
  5. Give the goal a name such as "Email click".
  6. Choose "Event" for "Type" and click "Continue".
  7. Enter in a "Category", "Action" and "Label" as per the screenshot example below. (further reading)
  8. Click the "Save" button.
Event Goal Settings That's the easy part, now Google Analytics knows that you want to track a click, but it doesn't know which click exactly. This is where things get a bit more complicated and a basic level of programming is required or access to a web designer who can do the implementation for you. Once you're at this point, you need to add some code to the link in your website's HTML code that makes the email address at the bottom of your website clickable. The code looks as follows: It is the onclick code that triggers Google Analytics when someone clicks on the email address and when they do, the click will appear in Google Analytics where your goals/conversions usually do. There are more advanced ways of collecting clicks and seeing them under the Events area of Google Analytics but for the sake of this tutorial we're going to just stick to the simpler implementation. It's really important that you track these clicks and not only enquiry form completions because a lot of people dislike filling out forms and would rather click on an email address and if we aren't tracking the clicks we won't know how many people have captured our email address and more importantly, we won't be able to see which marketing channels are performing (or at least not accurately). If you have any questions please pop us a comment in the comments section below!

Leave a Reply

Recent Blog Posts

Recent Comments

Blog Post Archives