Performance Archives - OptinMonster https://optinmonster.com Mon, 06 Jan 2025 20:27:40 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.3 https://optinmonster.com/wp-content/uploads/2024/05/cropped-archie-1-32x32.png Performance Archives - OptinMonster https://optinmonster.com 32 32 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.


If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

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.

Warning:

As of July 1, 2023, Google Analytics stopped processing data sent to GA3 Properties (aka Universal Analytics).
As of July 2024, all access to historical reports for GA3 Properties has also been discontinued. Read the full announcement from Google.

Please ensure that your OptinMonster campaigns are now assigned to a GA4 Property.

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

If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

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 Conversion Events and Event Goals 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 Conversion Events for GA4 Properties or Event Goals for GA3 Properties. In this article, you’ll learn how to create Conversion Events or Event Goals in Google Analytics for your OptinMonster campaigns. Before you start, this guide …

The post How to Create OptinMonster Conversion Events and Event Goals 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 Conversion Events for GA4 Properties or Event Goals for GA3 Properties.

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

Warning:

As of July 1, 2023, Google Analytics stopped processing data sent to GA3 Properties (aka Universal Analytics).
As of July 2024, all access to historical reports for GA3 Properties has also been discontinued. Read the full announcement from Google.

Please ensure that your OptinMonster campaigns are now assigned to a GA4 Property.

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.

GA4 Properties

Mark A Conversion

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

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

  1. Sign into your Google Analytics account.
  2. Click Admin, and navigate to the property you want to add a Conversion Event to.
    Select your Google Analytics account.
  3. In the Property column, click Events.
    Select Events for your Google Analytics Property.
  4. From the list of Events, locate optinmonster_conversion and toggle the Mark as conversion option.
    Mark OptinMonster Conversion as a conversion event in Google Analytics.

Create Conversion Event

To create a more custom conversion 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 Conversion Event to.
    Select your Google Analytics account.
  3. In the Property column, click Events.
    Select Events for your Google Analytics Property.
  4. Click Create event.
    Create a Conversion Event in Google Analytics.
  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 Conversion 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 Conversion 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 > Events until Analytics processes the event.

GA3 Properties

Create Event Goal

When you create an OptinMonster campaign and connect it to Google Analytics you can create an Event Goal to further track the ROI of your campaign.

To create an OptinMonster Event Goal in Google Analytics, follow these steps:

  1. Log into your Google Analytics account and navigate to the Admin.
    Navigate to the Admin of your Google Analytics account to begin creating an event goal.
  2. Next, select the Account and Property you want to create an Event Goal in.
    The Property you select in this step must match the Property selected for this campaign in your OptinMonster Analytics panel.

    Select the correct Account and Property for your Google Analytics account.
  1. Navigate to the Goals section of the Admin for the Property you’ve selected.
    Select Goals in the Admin of your Google Analytics account.
  2. Select the  + New Goal button.
    Select the New Goal button to create a new Google Analytics Goal.
  3. Under Goal Setup, choose Custom, then select the Continue button.
    Create a Custom Goal in Google Analytics.
  4. In the Goal description field, give the goal a name.
    This will appear in the Goals screen for you to easily identify your specific goal later on.
    Enter a Goal description to identify your goal later on in Google Analytics.
  5. Under Type, choose Event.
    Set the goal type to Event
  6. Next, select the Continue button.
    Once you give your goal a description, select the Continue button.
  7. Google Analytics will prompt you for more information about your Event Goal.
    In this article, we’re going to track the conversion event for a specific campaign.
    We do this by setting the event Action as ‘Equals to’ conversion, and the event Label as ‘Equals to’ the Unique ID of your campaign.
    Your own event Label should match the unique ID of your OptinMonster campaign.
    Set the goal type to Event
  1. When you’re finished, click Save. Once you've configured your Goal, select the Save button to finish the setup.
  2. You’ll be returned to the Goals screen in your Google Analytics Admin.
    The last step to complete before your goal will begin tracking is to turn on Recording:Enable Recording for your new Event Goal In Google Analytics.

If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

Troubleshooting

Does my Event Goal 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 Event Goal in Google Analytics.

In fact, you’ll want to customize your Event Goals to fit your specific needs, so this guide may not cover the specific Event Goal 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 Category instead.

Warning:

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

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

Yes, simply change ‘conversion’ to ‘impression’ for the event Action when configuring your goal.

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

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 Conversion Events and Event Goals 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.

Note:

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.


If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

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.

Warning:

As of July 1, 2023, Google Analytics stopped processing data sent to GA3 Properties (aka Universal Analytics).
As of July 2024, all access to historical reports for GA3 Properties has also been discontinued. Read the full announcement from Google.

Please ensure that your OptinMonster campaigns are now assigned to a GA4 Property.

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

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.


If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

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.

Warning:

As of July 1, 2023, Google Analytics stopped processing data sent to GA3 Properties (aka Universal Analytics).
As of July 2024, all access to historical reports for GA3 Properties has also been discontinued. Read the full announcement from Google.

Please ensure that your OptinMonster campaigns are now assigned to a GA4 Property.

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

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.


If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

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.


If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

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
How to Use OptinMonster’s Revenue Attribution Feature https://optinmonster.com/docs/revenue-attribution/ https://optinmonster.com/docs/revenue-attribution/#respond Fri, 10 Mar 2023 10:52:39 +0000 https://optinmonster.com/?post_type=optinmonster_docs&p=170581 OptinMonster’s Revenue Attribution feature allows you to directly view the amount of revenue an individual campaign has contributed from your eCommerce sales. In this article, you’ll learn how to use Revenue Attribution in OptinMonster. Before You Start Here are some things to know before you begin: Enable Revenue Attribution To get started, you’ll want to …

The post How to Use OptinMonster’s Revenue Attribution Feature appeared first on OptinMonster.]]>
OptinMonster’s Revenue Attribution feature allows you to directly view the amount of revenue an individual campaign has contributed from your eCommerce sales.

In this article, you’ll learn how to use Revenue Attribution in OptinMonster.

Before You Start

Here are some things to know before you begin:

  • The OptinMonster embed code must be present on the Thank You or Order Success page of your eCommerce store for Revenue Attribution to work.
  • Depending on the eCommerce platform you are using, some aspects of implementing Revenue Attribution may be more complex. For this reason, we are not able to provide support for configuring the Javascript or cURL code for your eCommerce platform at this time.

Enable Revenue Attribution

To get started, you’ll want to enable Revenue Attribution in your OptinMonster account, following these steps:

  1. From the Campaign screen, navigate to the My Account page.
    Navigate to the My Account page in your OptinMonster app.
  2. On the My Account page, scroll down to the Advanced Settings section and enable the Revenue Attribution option.
    Enable Revenue Attribution for your account in OptinMonster.
  3. (Optional) You can choose which Currency to display Revenue Attribution data in.
  4. When you’re finished, select the Save Changes button.

Embed OptinMonster

You’ll want to be certain you add the OptinMonster embed code to the Thank You or Order Success page of your eCommerce store so Revenue Attribution can work properly.

Copy Embed Code

The embed code can be found from the Publish screen of the campaign builder when editing any campaign in your account, like this:

Global embed code for OptinMonster can be found in the Publish screen of the campaign builder.

WordPress

If you are using the OptinMonster WordPress plugin the embed code will already be added for you and no further steps are necessary.

Shopify

You can add the OptinMonster embed code to the Thank You or Order Success page in Shopify following their guide here.

All Other Platforms

We have general guides for most other website platforms to help you get started.

If your eCommerce site is a Single Page Application (SPA) please refer to our guide here for implementing the OptinMonster embed code.

Implement Attribution Code

Depending on the platform your site is built on you may need to add some additional code to the Thank You or Order Success page. This code will communicate to OptinMonster specific data about the purchase that took place so it can be attributed to your campaigns correctly.

Please follow the details provided below for your specific eCommerce platform.

WordPress

If you are using the OptinMonster WordPress plugin, Revenue Attribution automatically supports and works with WooCommerce and Easy Digital Downloads.

Recommended:

Resave your site’s Permalinks and clear any site caching after enabling Revenue Attribution.

If you are not using the OptinMonster WordPress plugin or a different eCommerce plugin than indicated above, please follow our Javascript method below.

Shopify

When using Shopify you can use the following script, added to the Order Status page in Shopify following their guide here.

The code above uses liquid tags to auto-populate the parameter values where possible. Some parameters may require you to pass in your own values to utilize.

Required Parameters
  • type – value can be 'sale', 'trial', or 'lead'. Shopify does not provide liquid tags to identify different types of sales so you may need to use your own script here if you wish to set a value other than 'sale'.
  • value – the numeric value of the order, do not include currency symbols
  • currency – currency the order was taken in, must be a valid currency
Optional Parameters
  • transaction_id – the order ID / transaction ID for the order. We encourage passing this because we check against it to ensure we aren’t storing any duplicate data.
  • testtrue or false; defaults to false if not specified. If it is set to true, nothing will be stored, and we will respond with the sanitized data we would have stored.

Javascript

For eCommerce sites built on other platforms that allow you to add Javascript, you can pass the required transaction data to OptinMonster using the following code:

You’ll need to update the code to pass in your own values for each required parameter, and any optional parameters you wish to use.

Required Parameters
  • type – value can be 'sale', 'trial', or 'lead'
  • value – the numeric value of the order, do not include currency symbols
  • currency – currency the order was taken in, must be a valid currency
Optional Parameters
  • transaction_id – the order ID / transaction ID for the order. We encourage passing this because we check against it to ensure we aren’t storing any duplicate data.
  • testtrue or false; defaults to false if not specified. If it is set to true, nothing will be stored, and we will respond with the sanitized data we would have stored.

cURL

For eCommerce sites built using PHP, Ruby, and similar you can use our cURL option provided here:

You’ll need to update the code to pass in your own values for each required parameter, and any optional parameters you wish to use.

Required Parameters
  • type – value can be 'sale', 'trial', or 'lead'
  • value – the numeric value of the order, do not include currency symbols
  • currency – currency the order was taken in, must be a valid currency
  • campaigns – this parameter is required since OptinMonster works on the client-side, however, this is a server-side request. The value for each campaign ID specified can be 'click' or 'view' to identify the type of revenue (click-through or view-through). The campaign ID can be copied from the Campaigns screen like this.
Optional Parameters
  • transaction_id – the order ID / transaction ID for the order. We encourage passing this because we check against it to ensure we aren’t storing any duplicate data.
  • device – value can be 'mobile', 'tablet', or 'desktop'; defaults to 'desktop' if not specified.
  • testtrue or false; defaults to false if not specified. If it is set to true, nothing will be stored, and we will respond with the sanitized data we would have stored.

View Reports

Analytics Screen (Detailed)

For the most detailed view, you’ll want to open the individual Analytics screen for a campaign to evaluate the Revenue Attribution data that is associated with it.

  1. From the Campaigns screen, locate the campaign you wish to evaluate and select the Analytics icon from the campaign preview pane.
  2. The Analytics screen will appear with a chart of the campaign’s Revenue Attribution at the top.
    Revenue Attribution analytics chart for an OptinMonster campaign.
  3. Hover over a given day in the graph for a breakdown of the click-view and view-through revenue.
    View detailed revenue data by day.
  4. You can also filter specific date ranges.
    Filter date ranges for your OptinMonster campaign analytics.

Campaigns Screen

You can get a summary view of a campaign’s Revenue Attribution from the Campaigns screen in your account.

All analytics data, including revenue, is for a rolling 30-day period.

Revenue Attribution summary in the Campaigns screen of OptinMonster.

Dashboard Screen

The Dashboard screen allows you to easily view data across all sites, or individual sites, in your account including revenue generated.

Dashboard report for Revenue Attribution in OptinMonster.

FAQs

What’s the difference between click-through and view-through?

Click-through indicates the customer took action within a campaign (e.g. converted).

View-through indicates the customer viewed the campaign but did not take action before completing the purchase.

You may also find this article helpful to learn more about click-through vs. view-through revenue attribution.

I’ve been using Google Analytics to track revenue with OptinMonster, will this change how I evaluate campaign performance?

Our native Revenue Attribution data will be more accurate than Google Analytics.

However, the way we pass data to Google Analytics has not changed so you can continue running reports in Google Analytics if you wish to continue to do so.

Can I exclude campaigns from Revenue Attribution?

Yes, you can exclude specific individual campaigns using Javascript. Add the following script directly to your website and update it to indicate the specific campaign to be excluded from Revenue Attribution:

You can locate the campaign ID from the Campaigns screen of your account, like this:

Copy the OptinMonster campaign ID from your account.

Note:

This will work only for new visitors or those whose Revenue Attribution cookie has been removed or expired; any that previously visited would have been targeted for Revenue Attribution with cookies and will continue to attribute revenue accordingly to all campaigns.

Regarding duration, the campaign is recorded as a cookie on the visitor’s browser, and its expiration date is set to a year.


If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

Troubleshooting

I’ve enabled Revenue Attribution but it isn’t working.

Be certain the OptinMonster embed code is present on the Thank You or Order Success page of your eCommerce site. This is necessary before Revenue Attribution can work.

Learn more about how to add the OptinMonster embed code to your site with these guides.

I’ve made a test purchase but the full amount of the sale is not being attributed to my campaigns.

We divide the value of a sale between all the campaigns the sale is attributed to. As a result, seeing a fraction value is actually correct when there are multiple campaigns involved.

I’m using WooCommerce but transactions are not showing as Revenue Attribution for my campaigns, why?

When using WooCommerce, only payments that have cleared will be counted in Revenue Attribution.

This applies to all payment methods including Checks, COD, Cash, etc.

Once the sale has gone through and payment is marked completed it will be counted in Revenue Attribution.

The post How to Use OptinMonster’s Revenue Attribution Feature appeared first on OptinMonster.]]>
https://optinmonster.com/docs/revenue-attribution/feed/ 0
How to View Campaign Analytics in OptinMonster https://optinmonster.com/docs/how-to-view-campaign-analytics-optinmonster/ https://optinmonster.com/docs/how-to-view-campaign-analytics-optinmonster/#respond Mon, 06 Feb 2023 14:01:56 +0000 https://optinmonster.com/?post_type=optinmonster_docs&p=175932 OptinMonster’s native Analytics provide valuable insights into the performance of your campaigns. By using the tracking, reporting, and filtering options available, you can get a complete picture of how your campaigns are performing and make informed decisions to improve their effectiveness. In this article, you’ll learn how to view OptinMonster campaign events in native Analytics. …

The post How to View Campaign Analytics in OptinMonster appeared first on OptinMonster.]]>
OptinMonster’s native Analytics provide valuable insights into the performance of your campaigns. By using the tracking, reporting, and filtering options available, you can get a complete picture of how your campaigns are performing and make informed decisions to improve their effectiveness.

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

Before You Start

Here are some things to know before you begin:

View Campaign Reports

When you create a campaign in OptinMonster that you intend to track the detailed performance of, the campaign will be integrated with our native Analytics by default.

To view campaign event details in OptinMonster’s Analytics, follow these steps:

  1. Login to your OptinMonster account.
  2. Once logged in, select the campaign of your choice.
  3. Click the ‘Analytics’ button for your campaign to open that particular campaign’s Analytics report.
    OptinMonster Campaign Dashboard
  4. Data on the Analytics page can be filtered by date using some preset options or picking a specific date range. You can also sort the Highest Page Conversions by the number of Visitors or Conversion Rate %.
    optinmonster native analytics screen
    optinmonster native analytics screen filter

 

View Dashboard Reports

OptinMonster’s native Analytics also offers an Analytics dashboard. The Dashboard provides an overview of your campaign’s performance, including key metrics such as impressions, conversions, and conversion rates. You can view the overall performance for your campaigns or filter by date range to see performance over time.

To view details in OptinMonster’s Analytics in the dashboard, follow these steps:

  1. Go to the OptinMonster Analytics Dashboard
    OptinMonster dashboard analytics
  2. Scroll down to see and filter data per campaign as per your need:
    Optinmonster dashboard analytics filter

The campaign Analytics shows a rolling data period of the last 30 days. For more detailed Analytics reports, we recommend connecting your campaign to Google Analytics.

FAQs

How can I run more details Analytics reports for my OptinMonster campaigns?

You can connect your campaigns to Google Analytics and run more advanced Analytics reports directly from your Google Analytics account.

What’s a reasonable average conversion rate?

An excellent average conversion rate depends on various factors, including industry, target audience, and campaign type. Typically, a 1-2% conversion rate is considered good, but this can vary significantly based on your specific circumstances.

What causes the on-fire icon to appear?

The “on fire” icon appears when an OptinMonster campaign performs above average AND has at least 100 impressions or 20 conversions. This icon is displayed in the “Campaigns” view to indicate a campaign performing exceptionally well.

fire icon campaign analytics
What is the earliest date the analytics can be filtered to?

The earliest filter date is the date the campaign was created. This means you cannot filter data before the campaign was created in the OptinMonster account.

How do I track conversions while using an embed form block?

Follow our guide for tracking conversions using an embed form block.


If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

The post How to View Campaign Analytics in OptinMonster appeared first on OptinMonster.]]>
https://optinmonster.com/docs/how-to-view-campaign-analytics-optinmonster/feed/ 0