OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster

Home

Docs

Multiple Event Tracking in OptinMonster Campaigns Using Google Analytics

Multiple Event Tracking in OptinMonster Campaigns Using Google Analytics

OptinMonster makes it easy to create powerful campaigns for many different goals and outcomes. Including campaigns where you would like to track multiple events.

In this article, we’ll show you how to track multiple events in your OptinMonster campaigns using Google Analytics.

Requirements

Before you can start tracking multiple events in your campaigns, it is necessary to configure Google Analytics and OptinMonster.

To get started tracking multiple events, follow these steps:

  1. First, you’ll need to connect your OptinMonster campaigns to Google Analytics.
  2. Once Google Analytics is connected to your campaigns, it is necessary to create several Custom Dimensions within your Google Analytics account. Until this is done, you will not be able to view event data for OptinMonster campaigns!

GA Block ID

Campaign interactions are tied to the unique GA Block ID for individual elements in each campaign. You can find the GA Block ID for an element following these steps:

  1. In the campaign builder, direct select an actionable element in your campaign.
    Direct select the actionable element in your campaign.
  2. In the sidebar panel, scroll down to the GA Block ID section:
    The GA Event ID for your OptinMonster campaign element is passed to Google Analytics for interaction event tracking.

Automatic Assignment

The following Blocks will automatically have a unique GA Block ID assigned:

Manual Assignment

You can also track interactions with custom forms and HTML in your campaigns using a data attribute.

To track a click interaction in your custom forms or html, add the data-gablockid data attribute and pass a unique or non-unique value depending on your goals.

Form Example:

Link Example:

In the examples above, we use mycustomform_gablockid and mycustomlink_gablockid, respectively, as the value passed during each interaction event. We recommend you customize those values for your specific goals.

You can create a completely unique value for each instance, to help you identify the exact element that is interacted with.

Alternatively, if your goal is more general, you could use a common value for similar types of elements. For example, you could use the same value for all links pointing to a specific URL, etc.

Google Analytics Reports

Realtime Reports

Once you have Google Analytics configured with OptinMonster following the previous section, you can immediately check data using Google’s Realtime reports feature.

Event Reports

Important:

It takes 48 hours for Google Analytics to process the initial data we send them, so Event Reports will not reflect your OptinMonster campaign data until then. If you need to access data earlier than 48 hours please use GA’s Realtime reports.

  1. In GA4, navigate to the Reports > Engagement > Events view and select the optinmonster_interaction event from the Events list:
    Select the optinmonster_interaction event in Google Analytics.
  2. From the Events: optinmonster_interaction screen, locate the OM Campaign Interactions card to identify the specific GA Block IDs associated with the interactions.
    The GA Block IDs are shown in Google Analytics when filtering the OM Campaign Interactions in your Event reports.
  3. From this same screen, you can run additional reports and create Comparisons to further evaluate your campaign data.

FAQs

Am I required to enable conversion tracking on each element before I can track multiple events?

No, conversions and interactions are passed as separate data to Google Analytics. An interaction event will be passed with or without conversion tracking enabled on the element.

What is the difference between a conversion and an interaction event?

An interaction is captured for all interactive elements in a campaign, including the following:

A conversion is captured on any individual element you have enabled conversion tracking on.

Why are my interaction events greater in number than conversions?

An interaction event will be counted for all interactive elements inside of a campaign, however, only an element with conversion tracking will also capture a conversion event when interacted with.

For that reason, if you have multiple interactive elements inside of a campaign and only one with conversion tracking enabled it would be normal to see more interactions than conversions for that campaign.

Using Google Analytics reports, you can identify which specific block elements in your campaign are capturing the greatest or least amount of interactions.

Should I enable conversion tracking on all interactive elements in my campaign?

We recommend you enable conversion tracking only on the single-most important element or final step of your campaign, that when interacted with best indicates your campaign has accomplished its specific goal.

You can identify how visitors are interacting with all other elements in your campaign using the OM Campaign Interaction event when running reports in Google Analytics.

Can I customize the GA Block ID for an element?

The GA Block ID cannot be customized, except in the case where you are adding it as a data attribute to a custom HTML form or other elements using the HTML Block.


Still stuck?

How can we help?

Last updated on


Start Getting More
Leads & Sales Today
with OptinMonster!

Create and launch smart capture forms today in minutes. What are you waiting for?

Create and launch smart capture forms
today in minutes. What are you waiting for?

OptinMonster has transformed our business. Before integrating their optins, our clients saw a 2% conversion rate from web traffic, which is slightly above the standard for their industry. With the integration of OptinMonster’s lightbox popup, exit-intent technology, split testing, and other tools, our client’s conversion rates soared by an unprecedented 500%. They attracted substantially more customers while spending less on digital advertising. Their success propelled them to the top of their markets, outperforming national chains and other medical spas with much bigger marketing budgets. Our client’s success in their market has distinguished us in our own. We are now one of the most sought-after marketing firms in the industry of aesthetic medicine. We know that the integration of OptinMonster, more than any other tool or marketing strategy, has supported this growth and achievement.

chris zelig medstar media

Chris Zelig

Partner, Medstar Media

OptinMonster has been a game-changer for us. From driving donations to collecting new leads, there is nothing that this simple tool has failed to accomplish. Our lead collection rate has jumped by over 1,000%.

joe lowe american bird conservancy

Joe Lowe

Director of Digital Communications, American Bird Conservancy

Through OptinMonster’s exit-intent popups, we have more than doubled our sales conversion rate. Best of all is the compound effect of using OptinMonster over a long period of time—more conversions mean more customers, which means more word of mouth.

mitch smith, managing director, shockbyte

Mitch Smith

Managing Director, Shockbyte.com