{"id":199854,"date":"2025-01-03T14:30:40","date_gmt":"2025-01-03T19:30:40","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=199854"},"modified":"2025-08-18T10:42:52","modified_gmt":"2025-08-18T14:42:52","slug":"multiple-event-tracking-in-optinmonster-campaigns-using-google-analytics","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/multiple-event-tracking-in-optinmonster-campaigns-using-google-analytics\/","title":{"rendered":"Multiple Event Tracking in OptinMonster Campaigns Using Google Analytics"},"content":{"rendered":"\n<p>OptinMonster makes it easy to create powerful campaigns for many different goals and outcomes. Including campaigns where you would like to track multiple events.<\/p>\n\n\n\n<p>In this article, we&#8217;ll show you how to track multiple events in your OptinMonster campaigns using Google Analytics.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Requirements<\/h2>\n\n\n\n<p>Before you can start tracking multiple events in your campaigns, it is necessary to configure Google Analytics and OptinMonster.<\/p>\n\n\n\n<p>To get started tracking multiple events, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First, you&#8217;ll need to <a href=\"https:\/\/optinmonster.com\/docs\/how-optinmonster-uses-google-analytics-to-measure-conversion-analytics\/\" title=\"\">connect your OptinMonster campaigns to Google Analytics<\/a>.<\/li>\n\n\n\n<li>Once Google Analytics is connected to your campaigns, it is necessary to <a href=\"https:\/\/optinmonster.com\/docs\/how-to-view-optinmonster-reports-on-google-analytics\/#Required_Custom_Dimensions\" target=\"_blank\" rel=\"noopener\" title=\"create several Custom Dimensions within your Google Analytics account\">create several Custom Dimensions within your Google Analytics account<\/a>. <em>Until this is done, you will not be able to view event data for OptinMonster campaigns!<\/em><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">GA Block ID<\/h2>\n\n\n\n<p>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:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the campaign builder, direct select an actionable element in your campaign.<br><img decoding=\"async\" width=\"800\" height=\"443\" class=\"wp-image-200134\" style=\"width: 800px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103251.png\" alt=\"Direct select the actionable element in your campaign.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103251.png 1640w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103251-300x166.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103251-1024x567.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103251-768x425.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103251-1536x850.png 1536w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>In the sidebar panel, scroll down to the <strong>GA Block ID<\/strong> section:<br><img decoding=\"async\" width=\"800\" height=\"647\" class=\"wp-image-200135\" style=\"width: 800px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103516.png\" alt=\"The GA Event ID for your OptinMonster campaign element is passed to Google Analytics for interaction event tracking.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103516.png 1470w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103516-300x242.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103516-1024x828.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-103516-768x621.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Automatic Assignment<\/h3>\n\n\n\n<p>The following Blocks will automatically have a unique GA Block ID assigned:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/optinmonster.com\/docs\/how-to-add-a-button-to-your-campaign\/\" target=\"_blank\" rel=\"noopener\" title=\"How to Add a Button to Your Campaign\">Button<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/optinmonster.com\/docs\/create-countdown-timer-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"How to Create a Countdown Timer Campaign\">Countdown<\/a><\/li>\n\n\n\n<li>Fields<\/li>\n\n\n\n<li>Icons (applied if linked)<\/li>\n\n\n\n<li><a href=\"https:\/\/optinmonster.com\/docs\/add-an-image-to-every-optin-type-and-theme\/\" target=\"_blank\" rel=\"noopener\" title=\"Add an Image to Your OptinMonster Campaign\">Image<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/optinmonster.com\/docs\/how-to-add-social-media-buttons-to-your-campaign\/\" target=\"_blank\" rel=\"noopener\" title=\"How to Add Social Media Buttons to Your Campaign\">Social Media<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/optinmonster.com\/docs\/how-to-add-a-list-to-your-campaign\/\" target=\"_blank\" rel=\"noopener\" title=\"How to Add a List to Your Campaign\">Smart List<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/optinmonster.com\/docs\/how-to-add-a-text-block-to-your-optinmonster-campaign\/\" target=\"_blank\" rel=\"noopener\" title=\"How to Add a Text Block to Your OptinMonster Campaign\">Text<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-a-yes-no-optin-with-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"How to Create A Yes \/ No Campaign with OptinMonster\">Yes\/No<\/a><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"1012\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/04\/ga4-1-1024x1012.png?wsr\" alt=\"\" class=\"wp-image-202621\" style=\"width:865px;height:auto\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/04\/ga4-1-1024x1012.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/04\/ga4-1-300x296.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/04\/ga4-1-768x759.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/04\/ga4-1-1536x1518.png 1536w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/04\/ga4-1.png 1670w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Manual Assignment<\/h3>\n\n\n\n<p>You can also track interactions with <a href=\"https:\/\/optinmonster.com\/docs\/how-to-connect-optinmonster-with-any-custom-html-form\/\" target=\"_blank\" rel=\"noopener\" title=\"custom forms\">custom forms<\/a> and <a href=\"https:\/\/optinmonster.com\/docs\/how-to-add-html-to-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"How to Add HTML To An OptinMonster Campaign\">HTML<\/a> in your campaigns using a data attribute.<\/p>\n\n\n\n<p>To track a click interaction in your custom forms or html, add the <code>data-gablockid<\/code> data attribute and pass a unique or non-unique value depending on your goals.<\/p>\n\n\n\n<p><strong>Form Example<\/strong>:<\/p>\n\n\n\n<script src=\"https:\/\/library.wpcode.com\/embedjs\/r5pjyw95.js\/\"><\/script>\n\n\n\n<p><strong>Link Example<\/strong>:<\/p>\n\n\n\n<script src=\"https:\/\/library.wpcode.com\/embedjs\/joe1y0w2.js\/\"><\/script>\n\n\n\n<p>In the examples above, we use <code>mycustomform_gablockid<\/code> and <code>mycustomlink_gablockid<\/code>, respectively, as the value passed during each interaction event. <em>We recommend you customize those values for your specific goals.<\/em><\/p>\n\n\n\n<p>You can create a completely unique value for each instance, to help you identify the exact element that is interacted with.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Google Analytics Reports<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Realtime Reports<\/h3>\n\n\n\n<p>Once you have Google Analytics configured with OptinMonster following the previous section, you can immediately check data using Google&#8217;s Realtime reports feature.<\/p>\n\n\n\n<p class=\"is-style-arrow-link\"><a href=\"https:\/\/optinmonster.com\/docs\/how-to-view-optinmonster-reports-on-google-analytics\/#Realtime_Reports\" target=\"_blank\" rel=\"noopener\" title=\"\">Get started using Realtime reports with OptinMonster campaign data<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Event Reports<\/h3>\n\n\n\n<div class=\"alert-box alert-yellow\">\n<p class=\"alert-box-title\"><strong>Important:<\/strong><\/p>\n\n\n\n<p>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 <a href=\"https:\/\/optinmonster.com\/docs\/how-to-view-optinmonster-reports-on-google-analytics\/#Realtime_Reports\" target=\"_blank\" rel=\"noopener\" title=\"use GA's Realtime reports\">use GA&#8217;s Realtime reports<\/a>.<\/p>\n\n\n\n<p class=\"is-style-arrow-link has-link-color\"><\/p>\n<\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In GA4, navigate to the&nbsp;<strong>Reports<\/strong>&nbsp;&gt;&nbsp;<strong>Engagement<\/strong>&nbsp;&gt;&nbsp;<strong>Events<\/strong>&nbsp;view and select the <code>optinmonster_interaction<\/code> event from the Events list:<br><img decoding=\"async\" width=\"800\" height=\"548\" class=\"wp-image-200127\" style=\"width: 800px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-100058.png\" alt=\"Select the optinmonster_interaction event in Google Analytics.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-100058.png 1698w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-100058-300x206.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-100058-1024x702.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-100058-768x526.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-100058-1536x1053.png 1536w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>From the Events: optinmonster_interaction screen, locate the <strong>OM Campaign Interactions<\/strong> card to identify the specific GA Block IDs associated with the interactions.<br><img decoding=\"async\" width=\"800\" height=\"329\" class=\"wp-image-200162\" style=\"width: 800px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-121630.png\" alt=\"The GA Block IDs are shown in Google Analytics when filtering the OM Campaign Interactions in your Event reports.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-121630.png 2060w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-121630-300x123.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-121630-1024x422.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-121630-768x316.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-121630-1536x632.png 1536w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/01\/Markup-2025-01-06-at-121630-2048x843.png 2048w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>From this same screen, you can run additional reports and <a href=\"https:\/\/support.google.com\/analytics\/answer\/9269518?hl=en\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">create Comparisons<\/a> to further evaluate your campaign data.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">FAQs<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">Am I required to enable conversion tracking on each element before I can track multiple events?<\/h5>\n\n\n\n<p>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.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">What is the difference between a conversion and an interaction event?<\/h5>\n\n\n\n<p>An interaction is captured for all interactive elements in a campaign, including the following:<\/p>\n\n\n\n<p>A conversion is captured on any individual element you have <a href=\"https:\/\/optinmonster.com\/docs\/how-to-enable-conversion-tracking\/\" target=\"_blank\" rel=\"noopener\" title=\"enabled conversion tracking on\">enabled conversion tracking on<\/a>. <\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Why are my interaction events greater in number than conversions?<\/h5>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Using Google Analytics reports, you can identify which specific block elements in your campaign are capturing the greatest or least amount of interactions.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Should I enable conversion tracking on all interactive elements in my campaign?<\/h5>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>You can identify how visitors are interacting with all other elements in your campaign using the OM Campaign Interaction event when <a href=\"https:\/\/optinmonster.com\/docs\/how-to-view-optinmonster-reports-on-google-analytics\/\" target=\"_blank\" rel=\"noopener\" title=\"How to View OptinMonster Reports in Google Analytics\">running reports in Google Analytics<\/a>.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Can I customize the GA Block ID for an element?<\/h5>\n\n\n\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;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&nbsp;&hellip;<\/p>\n","protected":false},"author":4657,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[31818],"documentation\/tags":[31407,31399,31421,31486,31451,31409,31425,31411,31485,31894,31502,31450,31501],"class_list":["post-199854","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-performance"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/199854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/types\/optinmonster_docs"}],"author":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/users\/4657"}],"replies":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/comments?post=199854"}],"version-history":[{"count":6,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/199854\/revisions"}],"predecessor-version":[{"id":202779,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/199854\/revisions\/202779"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=199854"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=199854"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=199854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}