Performance Archives - OptinMonster https://optinmonster.com Thu, 13 Nov 2025 18:25:21 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.1 https://optinmonster.com/wp-content/uploads/2024/05/cropped-archie-1-32x32.png Performance Archives - OptinMonster https://optinmonster.com 32 32 How to Integrate OptinMonster with Matomo https://optinmonster.com/docs/how-to-integrate-optinmonster-with-matomo/ https://optinmonster.com/docs/how-to-integrate-optinmonster-with-matomo/#respond Sun, 10 Aug 2025 19:27:06 +0000 https://optinmonster.com/?p=206435&post_type=optinmonster_docs&preview_id=206435 Do you use Matomo to understand how visitors interact with your website? Great news! You can connect OptinMonster to your Matomo account to see how your campaigns are performing. In this guide, we’ll walk you through how to set up event tracking in Matomo for your OptinMonster campaigns. Before you start, you’ll need to have an …

The post How to Integrate OptinMonster with Matomo appeared first on OptinMonster.]]>
Do you use Matomo to understand how visitors interact with your website? Great news! You can connect OptinMonster to your Matomo account to see how your campaigns are performing.

In this guide, we’ll walk you through how to set up event tracking in Matomo for your OptinMonster campaigns.

Before you startyou’ll need to have an active Matomo account and install Matomo tracking code to your website.

Adding the Tracking Code

To get started, we’re going to use a code snippet. Think of it as a little messenger that tells Matomo every time one of your OptinMonster campaigns is shown to a visitor (an impression) or when a visitor signs up through one (a conversion). This lets you track your campaign’s success without ever leaving your Matomo dashboard!

  1. First, you’ll need to copy the entire code snippet below.
  1. Paste the embed code into your site template file just before the closing </body> tag.

Viewing Your Data in Matomo

Great job! Now that the code is in place, OptinMonster will begin sending your campaign events over to Matomo. Here’s how you can find and understand that data. You can view all your campaign events by navigating to the Behaviour > Events section in your Matomo dashboard. Matomo’s official documentation offers a more detailed look at how to find and use event reports.

Within the report, your campaign data is tracked using the following labels:

  • Event Category: Your OptinMonster campaign’s name.
  • Event Action: Either om_impression or om_conversion.
  • Event Name: The unique ID of your OptinMonster campaign.

You can also see these events in the Visits Log when looking at an individual visitor’s journey through your site.

FAQs

What if I don’t see any data in Matomo?

Don’t worry, sometimes it can take a little while for new data to show up. First, try clearing your website’s cache and your browser’s cache. Then, visit your site in a private or incognito browser window to trigger a campaign impression. If you still don’t see anything after an hour, it’s a good idea to go back and double-check that the code snippet was pasted into the correct location and that all your changes were saved.

What do the om_impression and om_conversion event actions mean?

These are the two types of events OptinMonster sends to Matomo to track your campaign’s performance.

  • om_impression: This event is recorded every time a campaign is successfully displayed to a visitor.
  • om_conversion: This event is recorded when a visitor completes the goal of the campaign, such as submitting a form or clicking a button.
The post How to Integrate OptinMonster with Matomo appeared first on OptinMonster.]]>
https://optinmonster.com/docs/how-to-integrate-optinmonster-with-matomo/feed/ 0
How to Exclude OptinMonster Resources from Your Caching Plugin https://optinmonster.com/docs/how-to-exclude-optinmonster-resources-from-your-caching-plugin/ https://optinmonster.com/docs/how-to-exclude-optinmonster-resources-from-your-caching-plugin/#respond Sat, 02 Aug 2025 14:59:19 +0000 https://optinmonster.com/?p=205482&post_type=optinmonster_docs&preview_id=205482 Using a caching plugin is a great way to speed up your website, but sometimes it can prevent dynamic content, like your OptinMonster campaigns, from displaying correctly. To make sure your campaigns always appear as expected, you may need to tell your caching plugin not to optimize OptinMonster’s resources. In this guide, you’ll learn how …

The post How to Exclude OptinMonster Resources from Your Caching Plugin appeared first on OptinMonster.]]>
Using a caching plugin is a great way to speed up your website, but sometimes it can prevent dynamic content, like your OptinMonster campaigns, from displaying correctly. To make sure your campaigns always appear as expected, you may need to tell your caching plugin not to optimize OptinMonster’s resources.

In this guide, you’ll learn how to exclude OptinMonster resources from many popular caching plugins.

Understanding Caching and OptinMonster

Before we dive into the steps, let’s quickly talk about what caching is. Think of it like your website taking a snapshot of a page. When a visitor arrives, your site shows them that quick snapshot instead of having to build the page from scratch every time. This makes your site load much, much faster!

To ensure OptinMonster functions correctly, you’ll need to prevent your caching plugin from changing our key JavaScript files. The setting in your plugin might be called exclude JavaScript files, exclude from minification, or exclude from defer.

You’ll need to exclude the script: a.omappapi.com/app/js/api.min.js

Below, you will find links to the official instructions for many popular caching plugins to help you find where to add these exclusions.

WP Rocket

WP Rocket makes it simple to exclude our scripts from its file optimization features. You can follow their official guide to learn how to add the OptinMonster resources to the exclusion lists in their settings.

NitroPack

NitroPack has a dedicated section for excluding resources from optimization. It’s important to note that NitroPack’s Ludicrous mode can be very aggressive and may override some exclusion rules. If you’re having trouble, you may need to disable Ludicrous mode first from NitroPack’s settings menu.

Cloudflare

If you’re using Cloudflare’s CDN, you can use its Page Rules feature to prevent certain resources from being cached. You can create a rule to bypass the cache for URLs containing OptinMonster’s script.

SiteGround Optimizer

The SiteGround Optimizer plugin has settings to exclude JavaScript files from minification. You can find these options in the plugin’s Frontend Optimization tab.

LiteSpeed Cache

LiteSpeed Cache provides detailed tuning settings within its Page Optimization section. You can add the OptinMonster URLs to the list of excluded JavaScript files.

W3 Total Cache

W3 Total Cache has many settings, but you’ll want to focus on the Minify section. There, you can specify JavaScript files that should never be minified, ensuring OptinMonster’s scripts are left untouched and run as intended.

WP-Optimize

With WP-Optimize, you’ll want to look for the settings related to minifying JavaScript files. You can add our scripts to the exclusion list there to prevent them from being minified or merged with other scripts.

Hummingbird

The Hummingbird plugin has a powerful Asset Optimization feature. Within its settings, you can add exclusions to prevent it from compressing or modifying OptinMonster’s files.

Breeze

Breeze, the caching plugin from Cloudways, includes options to exclude URLs and specific JavaScript files from minification in its Advanced Options tab.

Jetpack

Jetpack’s Site Accelerator feature speeds up static file load times. However, it does not currently offer a way to exclude specific files. If you find that your campaigns are not loading correctly, we recommend deactivating the Speed up static file load times option in your Jetpack settings.

Comet Cache

Comet Cache includes an HTML compressor that can affect scripts. To prevent issues, you’ll need to add an exclusion for the OptinMonster script to prevent it from being compressed or altered by this feature.

Powered Cache

Comet Cache allows you to exclude specific URLs or URI patterns from being minified. You can find these settings in the plugin’s Javascript Optimization panel.

Clearfy Cache

The Clearfy plugin offers performance optimization features, including minifying JavaScript. It’s important to add the OptinMonster script to the exclusion list to prevent it from being minified and ensure your campaigns display correctly.

Other Caching Plugins

Many other caching plugins offer similar exclusion settings. We recommend looking through your plugin’s documentation or settings panel for sections labeled Exclusions, Bypass, or Advanced to add the OptinMonster scripts.

Some plugins, such as Simple Cache, Hyper Cache may offer limited or no exclusion options. If you are using one of these and experience issues, you may need to disable the plugin or switch to a caching plugin with more granular controls.


FAQs

Will excluding OptinMonster’s files slow down my site?

Not at all! OptinMonster’s scripts are already highly optimized and load asynchronously, which means they don’t block your other content from loading. Excluding them from your site’s cache simply ensures you are always getting the most up-to-date version of our code so your campaigns run smoothly.

Why do I need to do this? My campaigns seem to be working.

Caching plugins store a static version of your site’s files to serve them to visitors more quickly. However, OptinMonster relies on dynamic scripts to target and display campaigns correctly. If an old version of our script is cached, it can lead to campaigns not appearing, targeting rules failing, or other unexpected behavior. It’s a proactive step to ensure everything always works perfectly.

What if my caching plugin isn’t on this list?

No problem! The list above covers many common plugins, but it’s not exhaustive. Almost every caching plugin includes a settings area where you can specify files or scripts to exclude from caching. Just look for a section in your plugin’s settings labeled Exclusions, Advanced, or something similar, and add the OptinMonster resources mentioned at the start of this guide.

The post How to Exclude OptinMonster Resources from Your Caching Plugin appeared first on OptinMonster.]]>
https://optinmonster.com/docs/how-to-exclude-optinmonster-resources-from-your-caching-plugin/feed/ 0
Multiple Event Tracking in OptinMonster Campaigns Using Google Analytics https://optinmonster.com/docs/multiple-event-tracking-in-optinmonster-campaigns-using-google-analytics/ https://optinmonster.com/docs/multiple-event-tracking-in-optinmonster-campaigns-using-google-analytics/#respond Fri, 03 Jan 2025 19:30:40 +0000 https://optinmonster.com/?post_type=optinmonster_docs&p=199854 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 …

The post Multiple Event Tracking in OptinMonster Campaigns Using Google Analytics appeared first on OptinMonster.]]>
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.

The post Multiple Event Tracking in OptinMonster Campaigns Using Google Analytics appeared first on OptinMonster.]]>
https://optinmonster.com/docs/multiple-event-tracking-in-optinmonster-campaigns-using-google-analytics/feed/ 0
How to Optimize Campaign Usage in OptinMonster https://optinmonster.com/docs/how-to-optimize-campaign-usage-in-optinmonster/ https://optinmonster.com/docs/how-to-optimize-campaign-usage-in-optinmonster/#respond Mon, 10 Jul 2023 15:34:10 +0000 https://optinmonster.com/?post_type=optinmonster_docs&p=172289 Here at OptinMonster, we do our best to make sure the campaigns you create have the least impact on your website page speed. However, there are some practices that go against that purpose and we would like to help you navigate around those whenever possible. In this article, we’ll share tips to help you identify …

The post How to Optimize Campaign Usage in OptinMonster appeared first on OptinMonster.]]>
Here at OptinMonster, we do our best to make sure the campaigns you create have the least impact on your website page speed. However, there are some practices that go against that purpose and we would like to help you navigate around those whenever possible.

In this article, we’ll share tips to help you identify opportunities to optimize your OptinMonster usage.

Before You Start

Here are some things to know before you begin:

Reduce Campaign Quantity

Reducing the total number of campaigns loading on any single page is the number one way to limit the impact that OptinMonster will have on your page speed.

There are two different forms of embed code that we provide to control what campaigns appear on your site:

  • Global Embed Code – this single embed code option allows ALL campaigns assigned to that site to be loaded into the page. The Display Rules configured for each individual campaign then determine whether the campaign can appear to the visitor or not.
  • Campaign-Specific Embed Code – this single embed code controls only the individual campaign. If the Display Rules also allow the campaign to appear on the specific page the embed code has been placed it can appear to the visitor.

Campaign-Specific Embed Code

Making use of the Campaign-Specific Embed code instead of the Global Embed code where appropriate means a smaller API response or fewer API requests (depending on which embed code you’re using).

And in effect, that reduces the number of resources that must also load into the page (the more resources loading the greater impact on page speed).

WordPress

If your site is built using WordPress and you are using the OptinMonster WordPress plugin you can easily limit which page(s) each individual campaign is embedded on using the Output Settings.

Our WordPress plugin uses the campaign-specific embed code which controls only that specific campaign.

Learn more about how to use the WordPress Output Settings to control where your campaigns appear here.

Advanced Users

Note:

The following details are intended only for advanced technical users; and describes an experimental setting. Please use with caution and test thoroughly before deploying to your production site.

If you don’t have much control over your website code and inserting the Campaign-Specific code is not suitable, there is still something we suggest you can try.

Including the Global Embed code on your site; you can utilize an advanced setting in OptinMonster to activate a URL path filter.

The filter works similarly to the Output Settings of our WordPress plugin (to process which scripts get loaded on your site’s page in the backend), and is meant to reduce the amount of processing the OptinMonster script will be responsible for on the frontend.

How the filter works is if your campaigns make use of only the URL Path Display Rule to determine where the campaign appears. This rule must be used in exclusion of all other types of rules.

For example, the following is a good Display Rule configuration because the only conditions are URL Path rules:

Rules Example

And the following is bad because it includes a non-URL Path rule (Time Delay):

Rules Example

You can test the URL Path filter by appending the ?omSendUrlPath=1 query argument to any of your pages’ URLs where you have placed the OptinMonster Global Embed code. For example:

https://optinmonster.com?omSendUrlPath=1

If you obtained positive results, you can activate the URL Path filter using the following code added to your site:

Optimize Web Fonts and FontAwesome

The OptinMonster campaign builder makes it easy for you to use a bunch of cool and different Web Fonts in your campaigns.

It is important to be aware that the more unique Web Fonts used throughout your campaigns, the more resources that must be loaded onto your site which affects the page speed.

Additionally, each Web Font needs to be loaded before your campaign gets displayed so the design of the campaign does not suffer from font swapping (having the font swapped after it is already visible). The loading of Web Fonts can delay the appearance of your campaign and in some cases (e.g. MonsterLinks™ and Exit-Intent®) can trigger the pre-loading of the Web Font and its resources during the OptinMonster script initialization, which can have a direct impact on your page’s performance score.

To optimize the performance of your OptinMonster campaigns with Web Fonts we suggest the following:

MonsterLinks™ and Exit-intent® campaigns are naturally more time-sensitive than other campaigns, so they trigger web fonts and images to be preloaded during the OptinMonster script initialization so they can be displayed without delay.

FontAwesome Icons:

In October 2020, we released an update to replace the FontAwesome icons from Web Fonts to SVGs. That change allows the icons to work without loading additional resources on your page, which is a great thing! However, if you have campaigns that were created before October 2020 that contain icons it’s possible those campaigns are still relying on Web Font loading.

We recommend you audit older campaigns and for any containing icons, delete and re-add the icon element again. That change should be enough to force the campaign to use the SVG version instead of Web Fonts.

Optimize Images

Images can be heavy resources that drag down website performance very quickly so giving them special attention when creating campaigns goes a long way to optimize campaign usage in OptinMonster.

Image Compression

OptinMonster automatically compresses images when they are uploaded to your OptinMonster account.

Image Dimensions

Adjusting the dimensions of the image to be no larger than it will be displayed within the campaign is the ideal approach to reducing image filesize and optimizing the performance.

Learn more about optimizing your OptinMonster campaign’s image dimensions here.

Avoid Cumulative Layout Shift (CLS)

Cumulative Layout Shift happens when the page content initially appears on the page in one way and then shifts or adjusts the layout during or after the page has finished loading.

This can annoy site visitors, and Google’s Core Web Vitals tool warns against it.

In OptinMonster there are two campaign types that can trigger a CLS warning; Inline and Floating Bar campaigns.

When implementing either of these campaigns we recommend the following:

Inline Campaigns

When placing your Inline campaign, enclose it in a <div> container and add a style to the div that sets a minimum height. This height value should match or slightly exceed the height that your Inline campaign will display at.

This allows the page to load with the spacing reserved for the Inline campaign to appear within and no shifting of the layout to occur.

For example:

Learn more about adding your Inline campaign to your site here

Floating Bar Campaigns

When showing a Floating Bar campaign on your site we recommend:

  • Configure the Floating Bar campaign to shown on user-interaction (e.g. Scroll Percentage, MonsterLink™, or Exit-Intent®) or use a Time Delay value that is greater than the amount of time it takes for your page to finish loading fully. For example, if the page takes 5 seconds to finish loading set a value of 7 seconds or great for the time delay.
  • Alternatively, reposition the Floating Bar at the bottom of the screen instead of the top. Floating Bars that show at the top of the screen push the page content downwards when they load so they won’t obscure the header/navigation; this can trigger a CLS warning if the campaign is allowed to appear too early in the page loading sequence.

Pro Tip:

Use a tool like GTMetrix to check the average load time for any page of your site.

The post How to Optimize Campaign Usage in OptinMonster appeared first on OptinMonster.]]>
https://optinmonster.com/docs/how-to-optimize-campaign-usage-in-optinmonster/feed/ 0
How to View Revenue Generated from OptinMonster Campaigns in Google Analytics https://optinmonster.com/docs/how-to-view-revenue-generated-from-optinmonster-campaigns-in-google-analytics/ https://optinmonster.com/docs/how-to-view-revenue-generated-from-optinmonster-campaigns-in-google-analytics/#respond Tue, 09 May 2023 16:50:19 +0000 https://optinmonster.com/?post_type=optinmonster_docs&p=134795 Are you looking for how much revenue your OptinMonster campaigns have generated on your site? In this article, you’ll learn how to view revenue generated from OptinMonster campaigns in Google Analytics. Before you start, this guide assumes you’ve already connected your campaign with Google Analytics. It can take up to 24 hours for Google Analytics to …

The post How to View Revenue Generated from OptinMonster Campaigns in Google Analytics appeared first on OptinMonster.]]>
Are you looking for how much revenue your OptinMonster campaigns have generated on your site?

In this article, you’ll learn how to view revenue generated from OptinMonster campaigns in Google Analytics.

Before you start, this guide assumes you’ve already connected your campaign with Google Analytics.

It can take up to 24 hours for Google Analytics to process the data we send them. If you need to check campaign data sooner we recommend using Google Analytics’ Realtime feature as shown in this guide.

In-house analytics data from OptinMonster can be viewed at any time following this guide.

GA3 vs GA4 Properties

When configuring Google Analytics for your campaigns you’ll notice there are two options available, to select GA3 and GA4 Properties.

GA3 is often referred to as Universal Analytics, and you’ll see that represented in the ID assigned to GA3 Properties with the UA- prefix.

We’ve recently released an update to allow you to send campaign data to GA4 Properties, while still allowing you to keep campaigns connected to GA3 Properties for a smoother transition.

If you do not already have or are using a GA3 Property it is not necessary to create or connect to one. Instead, you should connect your campaigns only to your GA4 Property.

Some of the information in this guide is intended for those still using GA3 Properties, in which case you’ll see that clearly indicated in the section.

Please be aware that Google Analytics stopped processing data sent to GA3 Properties as of July 1, 2023. We strongly recommend updating your OptinMonster campaigns to indicate a GA4 Property to avoid any interruption.

See Google Analytics’ announcement.

GA3 Properties

View Revenue Data

Important:

Before you start, for access to Ecommerce data in Google Analytics you must first be using the enhanced ecommerce plugin as outlined by Google Analytics.

When you create campaigns in OptinMonster to increase the revenue on your site it’s helpful to know the amount of revenue each campaign has generated.

To view revenue generated from OptinMonster campaigns in Google Analytics, follow these steps:

  1. Log into your Google Analytics dashboard.
  2. Next, navigate to the Behavior > Events > Top Events screen from the sidebar menu.View Top Events in Google Analytics
  3. Select the individual OptinMonster campaign you want to view revenue data for.
  4. On this screen, select the Ecommerce link under the Explorer tab.
    Ecommerce link in the Explorer tab of Google Analytics
  5. The next screen that loads will show you the amount of revenue generated from your OptinMonster campaign. In particular, the conversion event revenue indicates the amount of revenue created after the visitor converted through the campaign.
    Revenue column in Google Analytics shows you the revenue generated from OptinMonster campaigns
The post How to View Revenue Generated from OptinMonster Campaigns in Google Analytics appeared first on OptinMonster.]]>
https://optinmonster.com/docs/how-to-view-revenue-generated-from-optinmonster-campaigns-in-google-analytics/feed/ 0
How to Create OptinMonster Key Events in Google Analytics https://optinmonster.com/docs/optinmonster-event-goals-google-analytics/ https://optinmonster.com/docs/optinmonster-event-goals-google-analytics/#respond Tue, 09 May 2023 16:48:57 +0000 https://optinmonster.com/?post_type=optinmonster_docs&p=97393 By connecting your OptinMonster campaigns with Google Analytics you can leverage the additional tools available in their platform, including Key Events. In this article, you’ll learn how to create Key Events in Google Analytics for your OptinMonster campaigns. Before you start, this guide assumes you’ve already connected your campaign with Google Analytics. It can take …

The post How to Create OptinMonster Key Events in Google Analytics appeared first on OptinMonster.]]>
By connecting your OptinMonster campaigns with Google Analytics you can leverage the additional tools available in their platform, including Key Events.

In this article, you’ll learn how to create Key Events in Google Analytics for your OptinMonster campaigns.

Before you start, this guide assumes you’ve already connected your campaign with Google Analytics.

It can take up to 48 hours for Google Analytics to process the data we send them. If you need to check campaign data sooner we recommend using Google Analytics’ Realtime feature as shown in this guide.

In-house analytics data from OptinMonster can be viewed at any time following this guide.

Mark A Key Event

GA4 makes it easy to mark an existing event as a Key Event, including OptinMonster campaign conversions.

If you want to simply mark all OptinMonster campaign conversions as Key Events in Google Analytics, follow these steps:

  1. Sign into your Google Analytics account.
  2. Click Admin, and navigate to the property to which you want to add a Key Event.
  3. In the Admin column, click Data Display > Events.
    In the Admin column, cliick Events under Data Display
  4. From the list of Events, locate optinmonster_conversion and toggle the Mark as key event option.
    Mark Key Events

Create Key Event

To create a more custom key event that includes your OptinMonster campaign(s) and other matching conditions, follow these steps:

  1. Sign into your Google Analytics account.
  2. Click Admin, and navigate to the property you want to add a Key Event to.
    Dlick Admin then select your property
  3. In the Admin column, click Data Display > Events.
    Click Events option
  4. Click Create event.
    Create Event
  5. On the next screen, click Create.
    Create a Conversion Event.
  6. Under Custom event name, enter a name (40 characters or less). For this example we’ve entered om_demo_conversion_event.
    Enter a name for your Conversion Event.
  7. Next, we’re going to identify a specific OptinMonster campaign to use as part of the Key Event. In this example, for Matching conditions under Parameter we’ve entered event_name and under Value we’ve entered optinmonster_conversion.
    OptinMonster Conversion event as a matching condition.
  8. Optional: If you would like to identify a specific OptinMonster campaign in your Matching conditions you can create custom dimensions for om_campaign_name and om_campaign_id. Check our guide on viewing OptinMonster reports in Google Analytics for detailed instructions on how to do this. Once the custom dimensions are created for your GA4 Property, you can use those parameters in your matching conditions, like this screenshot shows:
    Conversion Event Matching Conditions.
  9. Select the Add condition button to add other matching conditions to your custom Key Event.
  10. When you’re finished, click Create.
    Create your Conversion Event.
  11. The new event will appear in the Custom events table, but it won’t appear in the Existing events table in Admin > Data Display > Events until Analytics processes the event.

Troubleshooting

Does my Custom Event have to be configured identically to this guide?

Not at all, instead, you should consider this a starter guide to help you get familiar and comfortable creating your first Custom Event in Google Analytics.

In fact, you’ll want to customize your Custom Events to fit your specific needs, so this guide may not cover the specific Custom Event you end up creating in your own Google Analytics account.

Can I enter the title of my campaign instead of the numeric ID?

Yes, if grabbing the numeric ID doesn’t fit your workflow, you can enter the title of your campaign as the event Parameter instead.

Warning:

If you use the title of your campaign in the Custom Event, any changes to the title in OptinMonster will need to be reflected in the Custom Event as well. It is important you name each OptinMonster campaign uniquely, with no identical titles unless intentional for your Custom Event tracking.

Can I track my campaign’s impression events instead of conversions?

Yes, simply change ‘optinmonster_conversion’ to ‘optinmonster_impression’ for the event_name conditions when configuring your Custom Event.

Where do I find the campaign ID to use in my Custom Event?

The campaign’s unique ID is shown in the Campaign Dashboard preview pane:

The OptinMonster campaign ID can be copied from the preview pane.
The post How to Create OptinMonster Key Events in Google Analytics appeared first on OptinMonster.]]>
https://optinmonster.com/docs/optinmonster-event-goals-google-analytics/feed/ 0
How to Exclude Your IP Address From Tracking Events in Google Analytics https://optinmonster.com/docs/how-to-exclude-your-ip-address-from-tracking-events-in-google-analytics/ https://optinmonster.com/docs/how-to-exclude-your-ip-address-from-tracking-events-in-google-analytics/#respond Tue, 09 May 2023 16:48:43 +0000 https://optinmonster.com/?post_type=optinmonster_docs&p=92660 If you are seeing inaccurate results in Google Analytics due to your own visits to your website you can ignore Events triggered from your IP address. Exclude IP Address To exclude your IP Address from Google Analytics reports, follow the Google Analytics Filter Out Internal Traffic guide here. FAQs How can I find my IP Address? …

The post How to Exclude Your IP Address From Tracking Events in Google Analytics appeared first on OptinMonster.]]>
If you are seeing inaccurate results in Google Analytics due to your own visits to your website you can ignore Events triggered from your IP address.

Important:

This guide assumes you’ve already connected your campaign to Google Analytics.

At this time it is not possible to filter your IP Address when reviewing native analytics in OptinMonster. Learn more about native analytics here.

Exclude IP Address

To exclude your IP Address from Google Analytics reports, follow the Google Analytics Filter Out Internal Traffic guide here.

FAQs

How can I find my IP Address?

You can find the public IP address you are currently using by searching “what is my ip address ipv4” on google.com. You can find out what IP addresses and subnets your company uses by asking your network administrator.

In this article, we are using the IPv4 address (or Internet Protocol Version 4) which is the shorter, more common form of IP address. The longer IPv6 address can also be used with Google Analytics.

Can I exclude multiple IP addresses?

If you have multiple IP addresses or subnets to exclude, you can either specify multiple addresses in a single filter or else make more than one filter. As with all filters, make sure the conditions you specify don’t interfere with or contradict each other.

The post How to Exclude Your IP Address From Tracking Events in Google Analytics appeared first on OptinMonster.]]>
https://optinmonster.com/docs/how-to-exclude-your-ip-address-from-tracking-events-in-google-analytics/feed/ 0
How to Integrate OptinMonster with Google Analytics https://optinmonster.com/docs/how-optinmonster-uses-google-analytics-to-measure-conversion-analytics/ https://optinmonster.com/docs/how-optinmonster-uses-google-analytics-to-measure-conversion-analytics/#respond Tue, 09 May 2023 16:48:31 +0000 https://optinmonster.com/?post_type=optinmonster_docs&p=87435 OptinMonster makes it easy to integrate your campaigns with Google Analytics for detailed reporting. View, filter and run detailed reports on campaign impressions and conversions using Google Analytics. In this article, you’ll learn how to connect Google Analytics with OptinMonster. Before you start, you’ll need to have an active Google Analytics account. Create your Google …

The post How to Integrate OptinMonster with Google Analytics appeared first on OptinMonster.]]>
OptinMonster makes it easy to integrate your campaigns with Google Analytics for detailed reporting. View, filter and run detailed reports on campaign impressions and conversions using Google Analytics.

In this article, you’ll learn how to connect Google Analytics with OptinMonster.

Before you start, this feature is available with a Pro and higher subscription.

Native Analytics:

Google Analytics integration is optional.

Before you start, you’ll need to have an active Google Analytics account. Create your Google Analytics account.

Before you start, if you are not the owner of the Google Analytics account you are connecting to OptinMonster, you will need to be an Editor or Administrator level user.

Required: Custom Dimensions

Before you can run reports from your Google Analytics account, it is necessary to first create custom dimensions in Google Analytics for your GA4 Property.

To create custom dimensions for your OptinMonster campaigns in Google Analytics, follow these steps:

  1. Sign into your Google Analytics account.
  2. While viewing the Google Analytics property you wish to modify, click the gear icon in the lower left-hand corner. Then select the Data display > Custom definitions option.
    Navigate to Custom Dimensions in Google Analytics
  3. In the Custom definitions screen, select the Create custom dimension button.
    Create a new Custom Dimension
  4. You’ll create three new Custom Dimensions: OM Campaign Name, OM Campaign ID, and OM Campaign Interaction. For each, set the Scope to Event, and enter the associated Event parameter as om_campaign_name, om_campaign_id, and om_campaign_interaction, respectively.
    Create a custom definition for campaign name
    Create a custom definition for campaign ID
    Custom dimensions for the OM Campaign Interaction event parameter.

Connect Google Analytics

When you create a campaign in OptinMonster that you intend to track the detailed performance of you’ll want to integrate with Google Analytics.

To connect Google Analytics to OptinMonster, follow these steps:

  1. In the OptinMonster Campaign builder, navigate to the Analytics view and select the Connect button next to Google Analytics.
    Connect Google Analytics.
  2. If there are no existing Google Analytics integrations in your OptinMonster account you will be prompted to authenticate with Google Analytics.
    Select the Generate Authentication Code button.
    Authenticate Google Analytics with OptinMonster.
  3. A popup window will open. If you are not already logged into Google Analytics you will first be prompted to do so. Then, select the Allow button to authenticate the connection between Google Analytics and OptinMonster.
    Grant permission for Google Analytics to connect with OptinMonster.
  4. Next, you’ll be returned to OptinMonster and the Google Authorization Code field will automatically populate with the generated code.
    Enter an Account Label (*internal use only) then select the Next button.
    Connect OptinMonster with Google Analytics.*The Account Label can be anything that helps you identify the specific integration within OptinMonster. It’s possible to add more than one Google Analytics integration to your account and this is an easy way to differentiate between them when assigning integrations to individual campaigns.
  5. Required: Select the Property you want to send Analytics data to. You can send data to GA4 Properties.
    Select the Google Analytics properties you want to send data to.
  1. When you’re finished, Save the campaign.

Default Google Analytics

You can easily assign a default Google Analytics integration all campaigns you create, to streamline the integration process.

To assign a default Google Analytics integration, follow these steps:

  1. Navigate to the Sites page of your OptinMonster account.
  2. Next, select the Edit button for the site you wish to assign a default Google Analytics integration to.
    Edit a Site in OptinMonster.
  3. Scroll down to the Google Analytics setting, select the Google Analytics Account and GA4 Google Analytics Property you wish to assign as the default.
    Select the default GA4 integration for your Site in OptinMonster.
  4. Optional: You can apply this change to all existing and new campaigns connected to the Site you are editing by enabling the checkbox field.
    Apply the default Google Analytics integration to all campaigns.
  5. When you’re finished click the Save Changes button.

Remove Google Analytics

Individual Campaign

To remove Google Analytics integration from individual campaigns in your OptinMonster account, follow these steps:

  1. In the OptinMonster Campaign builder, navigate to the Analytics view and select the Disconnect button for Google Analytics.
    Disconnect Google Analytics from OptinMonster campaign.
  2. When you’re finished, Save your campaign.
    Impressions and conversions will no longer be sent to Google Analytics.

Account-Wide

Warning:

This action cannot be undone and will disconnect Google Analytics from any and all campaigns that were integrated with it. You will need to manually reconnect each individual campaign if you wish to send analytics data to Google Analytics again.

To remove a Google Analytics integration from your account completely, follow these steps:

  1. Navigate to the Integrations page in your OptinMonster account.
  2. Select the Configure button below the Google Analytics icon.
    Configure your Google Analytics integration.
  3. Next, select Disconnect next to the integration you want to remove.
    Disconnect Google Analytics from OptinMonster.

Warning:

This will permanently delete the integration. There is no option to undo this action. If you decide to add the integration again you will need to manually reconnect individual campaigns.

  1. Finally, confirm the deletion by selecting Yes, I’m Sure.

Test Integration

GA4 Properties

Use the Realtime Report to test your Google Analytics integration without delay.

View Analytics Data

Native Analytics:

Are you looking for analytics data within the OptinMonster app? Learn how to access the native analytics data for your campaigns here.

Google Analytics reports can be viewed directly from your Google Analytics account.

Customize Event Data

Note:

The information available in this section is intended for users with advanced technical knowledge, where they have a specific requirement to change the data OptinMonster sends to Google Analytics.

The following OptinMonster Javascript Events are available that allow you to adjust event tracking to your needs:

You can use the OptinMonster Javascript Events indicated above to modify how the data is sent to Google Analytics.

For example, you could use the following to change the event name:

Or the following example to add custom event parameters to collect more information:

FAQs

Why do I see different impression counts in OptinMonster and GA4?

That’s a great question, and it’s very common to see different impression/conversion numbers in your OptinMonster dashboard compared to what you see in Google Analytics 4 (GA4). This is completely normal, and it doesn’t mean anything is broken!

The difference comes down to how each system tracks and records a campaign view.

Think of an OptinMonster Impression as the most direct and accurate count. Every single time we display one of your campaigns to a visitor, our own system immediately and reliably counts it.

A GA4 Impression, on the other hand, is only recorded when OptinMonster successfully tells Google Analytics that a campaign was shown, and the Google Analytics tracking script on your site successfully hears and records it.

Here’s a breakdown of the core differences.

  • Tracking Method:
    • OptinMonster: We track impressions directly through our own system and send the data straight to our servers. It’s a closed loop.
    • GA4: It relies on its own separate tracking system being loaded and running correctly in your visitor’s web browser.
  • Data Reliability:
    • OptinMonster: Our native tracking works independently. It isn’t affected by most other scripts or browser extensions on the page.
    • GA4: Its ability to count an impression depends entirely on its tracking code being properly loaded and initialized on your site, without being blocked.
  • Counting Logic:
    • OptinMonster: We count every single time a campaign is displayed. No exceptions, no estimates.
    • GA4: On sites with a lot of traffic, GA4 may use a process called sampling, where it counts a percentage of impressions and then estimates the total number.
  • Processing Requirements:
    • OptinMonster: Our count happens instantly when the campaign is displayed.
    • GA4: For the count to happen, the GA4 script must not be blocked by the visitor’s ad blocker or other privacy browser extensions, which is very common.
Why are my GA4 impression/conversion numbers consistently lower than in OptinMonster?

As we covered in the previous question, OptinMonster and GA4 are not the same thing. It is very common to see lower numbers in GA4. This doesn’t mean anything is broken! It’s usually due to one of these common scenarios:

  • Many visitors use ad blockers which often stop Google Analytics from running. In this case, OptinMonster still counts the impression, but Google Analytics never receives the message.
  • If a visitor’s internet is slow or there’s another script on your page that causes an error, the Google Analytics tracking code might not load properly. Again, we’ll count the impression, but GA4 won’t.
  • Some visitors have browser settings that block all Google Analytics tracking for privacy reasons.
  • On websites with very high traffic, Google Analytics might use sampling. This means it doesn’t record every single event but instead estimates the total based on a smaller sample. OptinMonster, on the other hand, always counts every impression.
Which impression/conversion metric should I trust for reporting?

You should trust OptinMonster’s native analytics for the most accurate count of how many times your campaigns were actually displayed or converted. Think of our numbers as the true display count. GA4 data is still very valuable for seeing how those campaign interactions fit in with all the other behaviors on your site, like page views and goal completions.

How does OptinMonster track impressions in GA4?

When a campaign is displayed to a visitor, OptinMonster sends a custom event to GA4 called optinmonster_impression. This event also includes the campaign’s name and ID, which is why we had you set up those custom dimensions earlier! This allows you to filter and view data for specific campaigns right inside of Google Analytics.

Why might I see impression spikes in OptinMonster but not in GA4?

This usually comes down to timing and traffic volume. OptinMonster counts every single impression in real-time. During a big traffic spike, GA4 might use sampling (where it only counts a percentage of impressions and estimates the rest) or experience processing delays. So, you’ll always see the most immediate and complete data inside your OptinMonster dashboard.

Can I track conversions if I’m using a custom form?

Yes! You will need to modify your form’s code to track conversions when the form is submitted.

How can I bulk-assign a GA4 Property to all existing OptinMonster campaigns?

You can assign a GA4 Property to all existing campaigns following the Default Google Analytics section in this guide.

How can I find my GA4 Property ID?

When you connect OptinMonster to Google Analytics, you’ll see the GA4 Property ID displayed in braces after the name and domain of the Property for each item available, like this:

GA4 Property ID in OptinMonster

You can locate the GA4 Property ID in your Google Analytics account following this guide.

What data does OptinMonster send to Google Analytics?

OptinMonster sends the following data to GA4 Properties:

  • Custom Event: optinmonster_impression
  • Custom Event: optinmonster_conversion
  • Custom Event: optinmonster_interaction

For each Custom Event, we pass the following data as custom event parameters:

  • Campaign Name (om_campaign_name)
  • Campaign ID (om_campaign_id)
  • Campaign Interaction (om_campaign_interaction)

It’s possible that Google Analytics may also track other data with this that we don’t control. However, the above details are all that OptinMonster sends to Google Analytics.

Troubleshooting

Why can’t I find the Property I wish to assign?

In most instances, this happens when you do not have the correct permissions for the Property.

You must be one of the following for a Property to be available:

  • The Google Analytics account owner
  • OR be a user with Editor or Administrator access.
My Google Analytics data doesn’t match OptinMonster’s in-house analytics data.

This is normal and not an indication of any errors.

Please be aware that:

  • OptinMonster’s in-house analytics are exact metrics, we do not filter or sample any data so the numbers you see are the literal number of impressions and conversions for each campaign in your OptinMonster account.
  • However, it is very common for Google Analytics to sample data and not provide you with the literal number of impressions and conversions.
My website visits don’t match campaign impressions.

There are several reasons a campaign’s impression data does not match your overall pageview count in Google Analytics, including:

  • Order of campaign loading: if you have multiple campaigns of the same type they will load on the page in the order they’re embedded in the DOM. If for some reason the visitor never proceeds through the first campaign that appears of that type they will not end up viewing any additional campaigns of that type until they do.
    For example, assuming you have three lightbox campaigns embedded throughout your entire site:
    Scenario 1: The homepage is set to load all of the campaigns. Campaign 1 appears to the visitor but they exit the page before loading campaign 2 and campaign 3.
    Scenario 2: campaign 1’s page targeting excludes the campaign from loading on the homepage, as a result campaign 2 loads on the homepage first and there’s no impression counted for campaign 1 on this pageview.
  • Cookie Settings: OptinMonster allows you to set both Individual Cookies and Global Cookies to help control how often your campaigns appear to visitors.
    Individual Cookies: Once a visitor has successfully subscribed, or closed the campaign with the close icon, a cookie will be set for the number of days you’ve specified. Once that time has lapsed the campaign will appear to them again.
    Global Cookies: What this does is prevent any popup campaigns from appearing to a visitor only once they’ve successfully subscribed through one of your campaigns. This allows you to more finely tune the appearance of the campaign to your visitors. If you’ve set an individual cookie for any campaign and the visitor closes or submits the campaign they won’t continue to see that campaign even if they continue clicking through your site and generating pageview in Google Analytics. If you’ve set a global cookie for the domain and the visitor closes or submits an campaign they will not see any other campaigns on the site until the cookie duration has passed or they clear their browser’s cookies. See our cookie documentation for more details.
  • Desktop vs. Mobile: Is your campaign configured to load on only specific devices? You’ll want to be sure you’re filtering your overall Google Analytics page-views by the device used and compare to mobile vs. non-mobile campaigns running on your site.
  • Configuration: Depending on the settings you’ve defined for each individual campaign it’s possible for Google Analytics to count a pageview (the webpage finishes loading) and for the visitor to navigate away from or exit your site before the campaign is shown to them. As a result, GA will reflect a pageview but your campaign will not count an impression since it did not appear to the visitor.

As a result, it’s rarely possible to run a direct comparison between the impression count of an individual campaign and the overall (unfiltered) pageview count of your site in Google Analytics.

The post How to Integrate OptinMonster with Google Analytics appeared first on OptinMonster.]]>
https://optinmonster.com/docs/how-optinmonster-uses-google-analytics-to-measure-conversion-analytics/feed/ 0
How to View OptinMonster Reports in Google Analytics https://optinmonster.com/docs/how-to-view-optinmonster-reports-on-google-analytics/ Tue, 09 May 2023 16:48:11 +0000 https://optinmonster.com/?post_type=optinmonster_docs&p=90204 OptinMonster makes it easy to integrate with Google Analytics. If you’ve integrated your OptinMonster campaign with Google Analytics, you can view detailed impression and conversion reports. In this article, you’ll learn how to view OptinMonster campaign events in Google Analytics. Before you start, this guide assumes you’ve already connected your campaign with Google Analytics. It …

The post How to View OptinMonster Reports in Google Analytics appeared first on OptinMonster.]]>
OptinMonster makes it easy to integrate with Google Analytics. If you’ve integrated your OptinMonster campaign with Google Analytics, you can view detailed impression and conversion reports.

In this article, you’ll learn how to view OptinMonster campaign events in Google Analytics.

Before you start, this guide assumes you’ve already connected your campaign with Google Analytics.

It will take 48 hours for Google Analytics to process the initial data we send them. After that time, it takes up to 24 hours for Google Analytics to process campaign event data. If you need to check campaign data sooner we recommend using Google Analytics’ Realtime feature as shown in this guide.

In-house analytics data from OptinMonster can be viewed at any time following this guide.

Required: Custom Dimensions

Before you can run reports from your Google Analytics account, it is necessary to first create custom dimensions in Google Analytics for your GA4 Property.

To create custom dimensions for your OptinMonster campaigns in Google Analytics, follow these steps:

  1. Sign into your Google Analytics account.
  2. While viewing the Google Analytics property you wish to modify, click the gear icon in the lower left-hand corner. Then select the Data display > Custom definitions option.
    Navigate to Custom Dimensions in Google Analytics
  3. In the Custom definitions screen, select the Create custom dimension button.
    Create a new Custom Dimension
  4. You’ll create three new Custom Dimensions: OM Campaign Name, OM Campaign ID, and OM Campaign Interaction. For each, set the Scope to Event, and enter the associated Event parameter as om_campaign_name, om_campaign_id, and om_campaign_interaction, respectively.
    Create a custom definition for campaign name
    Create a custom definition for campaign ID
    Custom dimensions for the OM Campaign Interaction event parameter.

Realtime Reports

Using Google Analytics’ Realtime report, you can view campaign events that have taken place in the last 30 minutes following these steps:

  1. Be sure you are logged into your Google Analytics account.
  2. Open the Realtime report for the Google Analytics Property you’ve connected to your OptinMonster campaign.
  3. Optional: In a new tab/window, test your OptinMonster campaign following one of the options in this guide.
  4. Viewing the default report you can find the optinmonster_impression, optinmonster_conversion, and optinmonster_interaction data within the Event Count card.
    Default Realtime report for OptinMonster Events in Google Analytics.

Campaign Impressions and Conversions

To view specific impressions and campaigns in your Realtime report, follow these steps:

  1. Select optinmonster_impression or optinmonster_conversion from the Event Count card.
    • optinmonster_impression: event tracked each time a campaign is displayed to a visitor.
    • optinmonster_conversion: event tracked each time an element with conversion tracking enabled is activated by a visitor.
      Select an OptinMonster event from the Event Count card in Google Analytics Realtime
  2. Next, select om_campaign_id or om_campaign_name depending on how you’d like to identify your specific campaign in the Realtime report.
    Choose how you'd like to identify your OptinMonster campaign.
  3. In this example, we selected om_campaign_name and a list of campaigns is displayed. Here you can track the realtime reporting of event data for your specific campaign to test that it is working as you intend.
    List of campaigns in Google Analytics Realtime.

Campaign Interactions

To view specific interactions within your campaigns, follow these steps:

  1. Select optinmonster_interaction from the Event count card.
    View the optinmonster_interaction events in Google Analytics.
  2. Next, you can further filter the data in the Event count card by selecting om_campaign_name, om_campaign_id, or om_campaign_interaction.
    • om_campaign_name: will show a list of campaign names and the event count for their campaign interactions.
    • om_campaign_id: will show a list of campaign IDs and the event count for their campaign interactions.
    • om_campaign_interaction: will show a list of GA Block IDs and the event count for their element interactions.
      GA Block IDs can be found through the Event count card in Google Analytics.

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.

In GA4 we can access OptinMonster Event Data by navigating to the Reports > Engagement > Events view. In the Events table, you’ll find the optinmonster_impression, optinmonster_conversion, and optinmonster_interaction events listed:

Selecting a specific OptinMonster event will allow you to further filter the associated data:

From this same screen, or returning to the previous screen, you can run more advanced reports by building a Comparison and selecting an individual OptinMonster campaign.

  1. To do this, first select the Edit comparisons icon.
    Edit comparisons in Google Analytics.
  2. In the right panel, select an existing Comparison or add a new one to start.
    Select a comparison to edit or add.
  3. From the first dropdown field select Campaign Name from the Custom Events section.
    Select an OptinMonster Event Name.
  4. Next, select the specific OptinMonster campaign you are testing from the Dimension values dropdown.
    Select the individual OptinMonster campaign.
  5. Optional: Add any other conditions to your Comparison you would like to use when filtering campaign event data in your Realtime report.
    For example, view data specific to an individual Page by selecting Page path and screen class then select the individual page(s) you want to use in the Comparison:
    Filter by page in Google Analytics.
  6. Select the Apply button to finish building your Comparison.
    Apply Comparison settings.
  7. Your Event report will now show data only for the OptinMonster campaign you’ve indicated in the Comparison.

FAQs

Why do I see different impression counts in OptinMonster and GA4?

That’s a great question, and it’s very common to see different impression/conversion numbers in your OptinMonster dashboard compared to what you see in Google Analytics 4 (GA4). This is completely normal, and it doesn’t mean anything is broken!

The difference comes down to how each system tracks and records a campaign view.

Think of an OptinMonster Impression as the most direct and accurate count. Every single time we display one of your campaigns to a visitor, our own system immediately and reliably counts it.

A GA4 Impression, on the other hand, is only recorded when OptinMonster successfully tells Google Analytics that a campaign was shown, and the Google Analytics tracking script on your site successfully hears and records it.

Here’s a breakdown of the core differences.

  • Tracking Method:
    • OptinMonster: We track impressions directly through our own system and send the data straight to our servers. It’s a closed loop.
    • GA4: It relies on its own separate tracking system being loaded and running correctly in your visitor’s web browser.
  • Data Reliability:
    • OptinMonster: Our native tracking works independently. It isn’t affected by most other scripts or browser extensions on the page.
    • GA4: Its ability to count an impression depends entirely on its tracking code being properly loaded and initialized on your site, without being blocked.
  • Counting Logic:
    • OptinMonster: We count every single time a campaign is displayed. No exceptions, no estimates.
    • GA4: On sites with a lot of traffic, GA4 may use a process called sampling, where it counts a percentage of impressions and then estimates the total number.
  • Processing Requirements:
    • OptinMonster: Our count happens instantly when the campaign is displayed.
    • GA4: For the count to happen, the GA4 script must not be blocked by the visitor’s ad blocker or other privacy browser extensions, which is very common.
Why are my GA4 impression/conversion numbers consistently lower than in OptinMonster?

As we covered in the previous question, OptinMonster and GA4 are not the same thing. It is very common to see lower numbers in GA4. This doesn’t mean anything is broken! It’s usually due to one of these common scenarios:

  • Many visitors use ad blockers which often stop Google Analytics from running. In this case, OptinMonster still counts the impression, but Google Analytics never receives the message.
  • If a visitor’s internet is slow or there’s another script on your page that causes an error, the Google Analytics tracking code might not load properly. Again, we’ll count the impression, but GA4 won’t.
  • Some visitors have browser settings that block all Google Analytics tracking for privacy reasons.
  • On websites with very high traffic, Google Analytics might use sampling. This means it doesn’t record every single event but instead estimates the total based on a smaller sample. OptinMonster, on the other hand, always counts every impression.
Which impression/conversion metric should I trust for reporting?

You should trust OptinMonster’s native analytics for the most accurate count of how many times your campaigns were actually displayed or converted. Think of our numbers as the true display count. GA4 data is still very valuable for seeing how those campaign interactions fit in with all the other behaviors on your site, like page views and goal completions.

How does OptinMonster track impressions in GA4?

When a campaign is displayed to a visitor, OptinMonster sends a custom event to GA4 called optinmonster_impression. This event also includes the campaign’s name and ID, which is why we had you set up those custom dimensions earlier! This allows you to filter and view data for specific campaigns right inside of Google Analytics.

Why might I see impression spikes in OptinMonster but not in GA4?

This usually comes down to timing and traffic volume. OptinMonster counts every single impression in real-time. During a big traffic spike, GA4 might use sampling (where it only counts a percentage of impressions and estimates the rest) or experience processing delays. So, you’ll always see the most immediate and complete data inside your OptinMonster dashboard.

Can I send events to Google Analytics when using a Custom HTML form in my campaign?

Yes, to do this you will need to modify your form’s code to track conversions when the form is submitted.

What data does OptinMonster send to Google Analytics?

OptinMonster sends the following data to GA4 Properties:

  • Custom Event: optinmonster_impression
  • Custom Event: optinmonster_conversion
  • Custom Event: optinmonster_interaction

For each Custom Event, we pass the following data as custom event parameters:

  • Campaign Name (om_campaign_name)
  • Campaign ID (om_campaign_id)
  • Campaign Interaction (om_campaign_interaction)

It’s possible that Google Analytics may also track other data with this that we don’t control. However, the above details are all that OptinMonster sends to Google Analytics.

The post How to View OptinMonster Reports in Google Analytics appeared first on OptinMonster.]]>
How to View Historical OptinMonster Data in Google Analytics https://optinmonster.com/docs/how-to-view-historical-optinmonster-data-in-google-analytics/ https://optinmonster.com/docs/how-to-view-historical-optinmonster-data-in-google-analytics/#respond Thu, 04 May 2023 20:07:14 +0000 https://optinmonster.com?p=118248&post_type=optinmonster_docs&preview_id=118248 For campaigns created before the switch to native analytics, you can access your historical data on your campaign’s Analytics page. Before You Start Here are some things to know before you begin: Accessing Historical Data If your campaign was created before the switch to native analytics, you can access the historical data via your Google …

The post How to View Historical OptinMonster Data in Google Analytics appeared first on OptinMonster.]]>
For campaigns created before the switch to native analytics, you can access your historical data on your campaign’s Analytics page.

Before You Start

Here are some things to know before you begin:

Accessing Historical Data

If your campaign was created before the switch to native analytics, you can access the historical data via your Google Analytics account. When viewing the campaign analytics page, you will see a “View Historical Data” link next to the date filters.

"View Historical Data" link on campaign's Analytics page

When you click this, you will be taken to a help page and your Google Analytics Report should open in a new tab or window. If you do not see the new window or it was blocked by your popup blocker, the help page will also contain a link for you to click to get to the same report.

Google Analytics Report Page

While we have attempted to create a link to the relevant report in your Google Analytics dashboard, deep-linking to these reports is not officially supported by Google. As such, you may encounter errors on the reports page.

Troubleshooting

Encountering Errors with the Google Analytics Reports page

If you do encounter errors on the reports page, we recommend simply following our guide to View OptinMonster Reports in Google Analytics.

The post How to View Historical OptinMonster Data in Google Analytics appeared first on OptinMonster.]]>
https://optinmonster.com/docs/how-to-view-historical-optinmonster-data-in-google-analytics/feed/ 0