How To Track Events on Your Website

Google Analytics helps us understand traffic on our websites. It logs visits, page views, demographics, and more. When first building a site, this is valuable information. But as time rolls on, you may want to know more than just which pages were visited. You probably want to know what users are doing when they are on your pages. For that, you’ll want to track events.

What is an Event?

Events are interactions a viewer makes with content on your page. This can be tracked independently from the page load. These are things like clicks, downloads, video plays, and more. It is important to note that events are not a finite list of actions a user can take. While there are many common examples listed above, every website is unique. Any way you expect a user to behave on your site can be considered an event.

Why Track Events?

Tracking page views is very important. Let’s say you created a targeted landing page on your site. Of course you want to know how many visits that page receives. But let’s say that page has a very specific call-to-action button you are trying to get viewers to click. Knowing how many page viewers actually click that button gives you even more insight to effectiveness of your landing page. That button click is a specific event you can track.

Let’s take that a step further. Maybe you created two or three calls-to-action on that landing page. Each with a different wording or graphic element to entice the viewer to click. When you track events for all buttons, not only do you learn how many page viewers are clicking through, but you’ll also learn which of your calls-to-action gets the most response. This is useful to modify lesser-performing CTAs to become more productive. It also valuable in giving you insight into what your viewers and customers are wanting from your site. Everything you learn translates into better future content creation.

How to Track Events

Google provides a solid event tracking tutorial on their developers site. The process assumes you already have Google Analytics set up on your website. Tracking events involves adding JavaScript snippets to your events. If you are comfortable with JavaScript, these little snippet will pose no real challenge. You’ll see some great examples in the link above.

However, if JavaScript is not your bag, Click Ranger Pro is here to help. Click Range Pro offers a simple interface where you can select and label the events you want to track on your site. Once installed on your WordPress site, an intuitive front-end interface will guide you as you begin to track events. Check out our feature list to see if Click Ranger Pro is a good fit for your event tracking needs.

Written by the Team at Pixel Jar

We hope you got something useful out of that post. If you'd like to read more we have an active blog with topics across the spectrum of website development. If you're researching information for a project we'd love to talk to you about it.

child themes versus theme frameworks

WordCamp Las Vegas 2010: Child Themes vs. Theme Frameworks

Brandon speaks at WordCamp Las Vegas 2010 discussing the pros and cons of using child themes versus using theme frameworks.
Read More

The Most Common Conversion Mistakes – Part 2

Wondering why your website isn’t getting the results you want? It could be that you’re making one or more of the most common conversion mistakes. “Conversion” refers to the percentage of your website visitors who take a desired action, such as clicking, buying or downloading. In a previous post we talked about some of the…
Read More

How Can We Help You?

We want to build your next project.

Connect with Pixel Jar

Our Community

Subscribe to learn more about the goings on at Pixel Jar.
  • Note: Your email will be added to our CRM and be used to receive emails from Pixel Jar. You can unsubscribe at any time.

  • This field is for validation purposes and should be left unchanged.