how to use google analytics to track anything
DESCRIPTION
Track anything from affiliate clicks to email signups using Google Analytics. Check out my own custom Analytics report.TRANSCRIPT
mat t hewwo o dward.co .uk http://www.matthewwoodward.co.uk/tutorials/how-to-track-anything-with-google-analytics/
Matthew Woodward
How To Track Anything With Google Analytics
A lot of you have asked me how I track things like af f iliate link clicks, email signups and such things with GoogleAnalytics.
The short answer is with Google Analytics Event Tracking!
What You Will Learn
How to track anything with Google Analytics
Including af f iliate clicks, email sign ups, shopping f unnels & more
How to setup event tracking & goal tracking
How to work out the monetary value of a conversion easily
Get access to my personal custom Google Analytics report
My previous tutorial will teach you how to increase traf f ic with Google Analytics .
Google Analytics Event Tracking Tutorial
Don’t worry it is much easier than you think! Just f ollow along with my live example-
Essentially you can track anything that happens on a website f rom someone click on a link to someoneconverting as an email subscription.
Here is a basic example of how to use Google Analytics event tracking to track af f iliate links-
The def ault Analytics event tracking code looks like this-
onclick="_gaq.push(['_trackEvent', 'category', 'act ion', 'label']);"
We want to replace 3 values-
Category – The category/type of event, e.g. Af f iliate Click
Action – Give the action a name, eg click (I use af f iliate programme name here)
Label – Anything else you want to include (I use the page URL)
So track an af f iliate link click f or Ahref s on the tools of the trade page it would look like this-
onclick="_gaq.push(['_trackEvent', 'Affiliate', 'Ahrefs', '/tools-of-the-trade/']);"
Now we just need to add it to our usual af f iliate link that looks like this-
<a href="/get/ahrefs/">Ahrefs</a>
Which ends up looking like this-
<a href="/get/ahrefs/" onclick="_gaq.push(['_trackEvent', 'Affiliate', 'Ahrefs', '/tools-of-the-trade/']);">Ahrefs</a>
Everytime someone clicks on that af f iliate link, Google Analytics will log it was an af f liate link click f or Ahref sand the page it came f rom.
Please see the video f or more detailed setup instructions and learn how to track other things like emailsubscriptions, signups & shopping carts!
Custom Reporting With Events & Goals
Once setup you can create custom reports that tell you a bunch of things like-
Which traf f ic source sent the most opt in conversions
Which page converts the most af f iliate clicks
Which af f iliate program is perf orming the best f or which traf f ic source
This is what my custom Google Analytics report looks like (you can get it below)-
Straight away you can see 10.9% of traf f ic f rom the WarriorForum signs up to my email list while only 3.4% dof rom Traf f icPlanet.
Equally you can see 46.1% of YouTube traf f ic clicks an af f iliate link compared to just 25.8% f romBlackHatWorld.
Take a look at this post or this post to learn more about why that is important to know!