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.

dradcast logo

Jeff Hosts the DradCast

I had the pleasure of hosting DradCast episode #75. We chatted about all kinds of topics from how I happened into web development, how so many different kinds of dev shops can complete in the same space, WordCamp Orange County, and my star turn on Friends.
Read More
good website design in-browser

Good Website Design In-Browser

Welcome to the fourth installment of our five part series about custom approaches to good website design. In this post we’re talking about in-browser design. Suspending Formal Design In-Browser Design can be useful for projects where there is a built-in audience, where the lifespan of the site is short, or where the development timeline or…
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.