Google Analytics Event Tracking. Get More Tweeps.

26 Jul

Estimated read time: 6 min

What’s in it for you: Use Google Analytics Event Tracking (trackEvent) to help you get more conversions on your site.

I recently posted a few videos that had nothing to do with web analytics. I did mention that if I generated enough interesting traffic through those videos, I’ll write a post on it.  So here it is.

In July, 50% of my visits came from Twiter. 41% specifically from the ones I tweeted out.  How do I know this?  By tagging all the tweets I send out with Google Analytics tracking code, I can differentiate my own efforts from other traffic sources.

So let’s note that Twitter is the main driver of traffic to my site.  It’s clearly working better than the other channels so far, so if my goal is to generate more traffic I should focus on getting more followers.  I had a Twitter button on the sidebar, so at least that’s a start.

I thought about it some more and decided I should test to see if I add another Twitter button on the bottom of each post, if that will generate more followers.

After I added the new buttons, sure enough, I started getting some followers the next few days.

Cool… but which button are they coming from?  Are they from the newly added buttons on the bottom of each post, or the one from the sidebar?  I assume it’s the buttons on the bottom of each post, but I’d rather not guess.  Or are they even coming from the buttons at all?  Maybe a random person with a lot of followers happened to recommend following me and had nothing to do with the new buttons.

So how do I track to see 1) if the buttons are getting any actions and 2) which buttons are getting me the followers?

The key is to put in a “Track Event” into the buttons.  (Here is a link to Google’s site for more info: http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html).  Since I use the latest Google Analytics async tracking, the code looks like below for event tracking.

The arrow indicates what is categorized as “Labels”.  With labels, I can add the same code as above into the post’s Twitter buttons with a different label name and see of the buttons on the posts, which one got the most.  The below shows an example of what I have in the Twitter button at the end of my “Old Spice parody video”.

This way, not only do I track whether an event was triggered from the button on the sidebar or the post, but also which post generated the event.

Now, let’s take a look into my Google Analytics account.

All the events shown are for users clicking on the Twitter buttons.

Sweet! What the heck happened on 7/21?  That’s when I put up my “Old Spice Parody” video.  Did it come from the button on the post or the sidebar?

To find out, go to Content and select the “Labels” under “Event Tracking.”

Wow. 91% of the events for clicking on the Twitter buttons have come from the button at the bottom of the post on the “Old Spice Parody” video.

Bottom line:  the button on the bottom of the post killed the sidebar button.  I need to focus my call to action for Twitter events within the post and not depend on the sidebar Twitter button.  My next test might be changing up the icons.

Takeaway: find out your goal, figure out what is going to support the goal, track events, and think about next steps.

TrackEvent in Google Analytics is a great way to track where your successes and failures are and to use the data to further optimize your site.

Track and test to see which buttons pack the most punch. Hiyah!

I recently was a guest blogger on www.idaconcpts.com and this post can be found here as well.

Related Posts:

The posts here are my opinion. I hope you found it helpful or at least fun to read. My passion is in web analytics, A/B testing, MVT, LPO, CRO, etc. All things related to driving more conversions for you buck!
    About Me.

No comments yet

Leave a Reply