Creating a Google Analytics conversion tracking strategy that can scale gracefully doesn’t need to be stressful or difficult, but for many people, it can be.
Coming up with a scalable conversion tracking strategy comes down to the following:
Being organized and having a solid plan.
If your “plan” for tracking conversions is to do it as fast and easy as possible – you are inevitably going to have problems down the road.
Why?
Successful websites (and their respective businesses) grow over time. This means your conversion tracking strategy has to be built to scale – or you will inevitably fail (you like that rhyme?).
We have a ton of experience dealing with websites of all shapes and sizes – each with its own tracking needs and challenges. This article will outline the major areas to consider when re-working the Google Analytics conversion tracking strategy for your website.
During the duration of this article, we are going to assume you are tracking basic activities such as page views inside Google Analytics, this article is going to focus specifically on tracking conversions.
Because every website is different, we need to first determine what kinds of activities we will be tracking. Here are some important questions to ask:
Generally speaking, an action is considered to be a “conversion” when personal information is submitted through a web-form (thus placing the person into a particular stage in the businesses sales funnel). This could range from a simple newsletter submission to a free-trial sign-up for your product or service.
Identifying conversion points on your website is invaluable when it comes to configuring goals inside Google Analytics (more on that later).
Below are some common conversion activities that may apply to your website:
You’ll notice that we aren’t being extremely detailed in what specific conversion took place. You’ll understand why and how we will determine that later in this article.
Once you have an idea of what your website’s conversion points are, you need to take a step back and see the big picture.
A very common misconception is that one web form = one goal configuration in Google Analytics. For small sites with 2-3 conversion points, this will work, but for larger companies with 100’s different conversion points, this isn’t feasible.
Google Analytics limits each view inside a property to 20 goal slots. This means, if a website had 75 different webinars we wouldn’t be able to create a goal for each individual webinar conversion – we would run out of goal slots.
Instead, we should create “catch all” goals that show the total numbers of related conversion points. We’ll learn how to configure these in the section below.
You can track a conversion goal in two ways inside Google Analytics:
Event-Based (Recommended)
Event-based goals are triggered when a specific event is fired when a certain action takes place on a website. This often requires the help of a web-developer with knowledge of JavaScript.
Destination Based
A destination-based goal is triggered when a URL is visited by a user. These are commonly referred to as “Thank You” or “Confirmation” pages.
We suggest using event-based goal tracking whenever possible. In certain situations, a destination-based goal may work just fine. However, using too many destination-based goals can leave you short on goal slots (you only get 20 slots per view).
Google Analytics event tracking is configured around 5 main parameters:
The code for a specific event tracking call would look like this (text wrapped in []
are placeholder values):
ga( 'send', 'event', '[CATEGORY]', '[ACTION]', '[LABEL]', null, { nonInteraction: true } );
You can configure a goal to fire when a particular event contains/matches one or more or the fields above. Following our example scenario above we’ll want to configure two goals that fire when the following happens:
1. Category
= Conversions
AND Action
= Downloaded - E-Book
2. Category
= Conversions
AND Action
= Downloaded - Webinar
After we configure the goals inside analytics, we need to fire the JavaScript event code on our website to trigger the goal inside Google Analytics when the conversion has happened:
ga( 'send', 'event', 'Conversions', 'Downloaded - [E-Book/Webinar]', '[TITLE/URL PATH]', null, {nonInteraction: true} );
For the sake of brevity, we are using placeholder values in the code example above. We’ll want to replace the [TITLE/URL PATH]
values above with the title or url path for each respective E-Book or Webinar. Additionally, we’ll also want to replace the [E-Book/Webinar]
value above with the type of conversion happening.
If you aren’t familiar with JavaScript-based goal configuration such as event tracking, you might be wondering how/where this code should be installed.
It all depends on how your website forms work once submitted. Here are two of the most common ways web-forms work:
User is redirected
If the user is redirected to unique a “Thank You” or “Confirmation” page on submission, you can install the code to fire on that page. It is extremely important that this URL is unique and isn’t shared by multiple forms. Otherwise, you will fire events across all your forms and skew your data.
If the URL isn’t unique you’ll either need to have a developer dynamically change the event code to fire correctly for each form submission, or you’ll need to create separate urls for each form. (This is why I despise thank you pages).
The form is replaced with a message
If the form is replaced with an inline message on submission, you’ll need to fire the event when that message is shown but only after the form is successfully submitted. I can’t stress that last part enough – make sure that the event is only firing when the form is successfully submitted and not on page load or when it fails validation.
When the events are implemented correctly, we should start to see data populating into the event reports in Google Analytics under:
Reporting › Behavior › Events › Overview.
We’ll want to look inside the Conversions category data to see the breakdown of our event actions. This view will show the total number of conversions for a specific conversion point (e.g: Webinars). This view is great for two reasons:
Additionally, we would also be able to see the overall numbers for both E-Books and Webinars by looking at the goal reports under:
Reporting › Conversions › Goals › Overview.
Additionally, we can drill down into the event label values for a particular event action to see what E-Books or Webinars were downloaded for a given timeframe. The example below is showing the individual download numbers for each webinar:
TL; DR;
Creating a scalable Google Analytics conversion tracking strategy doesn’t have to be such a pain in the neck. It all starts with a solid plan and sticking to it.
We highly encourage the use of event-based goals to track conversions on your website over destination-based goals. By leveraging event-based tracking, you will allow your tracking strategy to scale with your website’s conversion points, especially if you do a decent amount of content marketing.
To briefly recap, here are some general guidelines for conversion tracking: