{"id":112482,"date":"2023-05-09T12:48:57","date_gmt":"2023-05-09T16:48:57","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=97393"},"modified":"2025-11-13T13:23:34","modified_gmt":"2025-11-13T18:23:34","slug":"optinmonster-event-goals-google-analytics","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/optinmonster-event-goals-google-analytics\/","title":{"rendered":"How to Create OptinMonster Key Events in Google Analytics"},"content":{"rendered":"\n<p>By connecting your OptinMonster campaigns with Google Analytics you can leverage the additional tools available in their platform, including Key Events.<\/p>\n\n\n\n<p>In this article, you&#8217;ll learn how to create Key Events in Google Analytics for your OptinMonster campaigns.<\/p>\n\n\n\n<p><em><strong>Before you start<\/strong>, this guide assumes you&#8217;ve already <a href=\"https:\/\/optinmonster.com\/docs\/how-optinmonster-uses-google-analytics-to-measure-conversion-analytics\/\" target=\"_blank\" rel=\"noopener\" title=\"\">connected your campaign with Google Analytics<\/a>.<\/em><\/p>\n\n\n\n<p><em><strong>It can take up to 48 hours&nbsp;<\/strong><\/em>for Google Analytics to process the data we send them. If you need to check campaign data sooner we recommend using Google Analytics&#8217; Realtime feature as shown in this guide.<\/p>\n\n\n\n<p><em><strong>In-house analytics data from OptinMonster<\/strong><\/em> can be viewed at any time <a href=\"https:\/\/optinmonster.com\/docs\/how-to-view-campaign-analytics-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"\">following this guide<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mark A Key Event<\/h2>\n\n\n\n<p>GA4 makes it easy to mark an existing event as a Key Event, including OptinMonster campaign conversions.<\/p>\n\n\n\n<p>If you want to simply mark all OptinMonster campaign conversions as Key Events in Google Analytics, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Sign into your Google Analytics account.<\/li>\n\n\n\n<li>Click&nbsp;<a class=\"glossary-term\" data-answer=\"6132368\" href=\"https:\/\/support.google.com\/analytics\/answer\/6132368\" target=\"_blank\" rel=\"nofollow noopener\">Admin<\/a>, and navigate to the property to which you want to add a Key Event.<br><img decoding=\"async\" width=\"850\" height=\"346\" class=\"wp-image-201166\" style=\"width: 850px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property.jpg\" alt=\"\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property.jpg 1200w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property-300x122.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property-1024x417.jpg 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property-768x313.jpg 768w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/li>\n\n\n\n<li>In the Admin column, click Data Display &gt; <strong>Events<\/strong>.<br><img decoding=\"async\" width=\"850\" height=\"370\" class=\"wp-image-201167\" style=\"width: 850px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events.jpg\" alt=\"In the Admin column, cliick Events under Data Display\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events.jpg 1200w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events-300x131.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events-1024x445.jpg 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events-768x334.jpg 768w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/li>\n\n\n\n<li>From the list of Events, locate <code>optinmonster_conversion<\/code> and toggle the&nbsp;<strong>Mark as key event<\/strong> option.<br><img decoding=\"async\" width=\"850\" height=\"283\" class=\"wp-image-201177\" style=\"width: 850px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/mark-key-events.jpg\" alt=\"Mark Key Events\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/mark-key-events.jpg 1200w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/mark-key-events-300x100.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/mark-key-events-1024x340.jpg 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/mark-key-events-768x255.jpg 768w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Create Key Event<\/h3>\n\n\n\n<p>To create a more custom key event that includes your OptinMonster campaign(s) and other matching conditions, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Sign into your Google Analytics account.<\/li>\n\n\n\n<li>Click&nbsp;<a class=\"glossary-term\" data-answer=\"6132368\" href=\"https:\/\/support.google.com\/analytics\/answer\/6132368\" target=\"_blank\" rel=\"nofollow noopener\">Admin<\/a>, and navigate to the property you want to add a Key Event to.<br><img decoding=\"async\" width=\"850\" height=\"346\" class=\"wp-image-201166\" style=\"width: 850px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property.jpg\" alt=\"Dlick Admin then select your property\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property.jpg 1200w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property-300x122.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property-1024x417.jpg 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/click-admin-select-property-768x313.jpg 768w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/li>\n\n\n\n<li>In the Admin column, click Data Display &gt; <strong>Events<\/strong>.<br><img decoding=\"async\" width=\"850\" height=\"368\" class=\"wp-image-201163\" style=\"width: 850px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events.png\" alt=\"Click Events option\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events.png 1202w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events-300x130.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events-1024x443.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2025\/02\/admin-data-display-events-768x332.png 768w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/li>\n\n\n\n<li>Click&nbsp;<strong>Create event<\/strong>.<br><img decoding=\"async\" width=\"850\" height=\"271\" class=\"wp-image-201178\" style=\"width: 850px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/create-event.jpg\" alt=\"Create Event\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/create-event.jpg 1200w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/create-event-300x96.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/create-event-1024x327.jpg 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/create-event-768x245.jpg 768w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/li>\n\n\n\n<li>On the next screen, click <strong>Create<\/strong>.<br><img decoding=\"async\" width=\"800\" height=\"234\" class=\"alignnone size-full wp-image-178985\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/ga-create.jpg\" alt=\"Create a Conversion Event.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/ga-create.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/ga-create-300x88.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/ga-create-768x225.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Under&nbsp;<em>Custom event name<\/em>, enter a name (40 characters or less). For this example we&#8217;ve entered <code>om_demo_conversion_event<\/code>.<br><img decoding=\"async\" width=\"800\" height=\"385\" class=\"alignnone size-full wp-image-178983\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/conversion-event-name.jpg\" alt=\"Enter a name for your Conversion Event.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/conversion-event-name.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/conversion-event-name-300x144.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/conversion-event-name-768x370.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Next, we&#8217;re going to identify a specific OptinMonster campaign to use as part of the Key Event. In this example, for <strong>Matching conditions<\/strong> under <em>Parameter<\/em> we&#8217;ve entered&nbsp;<code>event_name<\/code> and under <em>Value<\/em> we&#8217;ve entered <code>optinmonster_conversion<\/code>.<br><img decoding=\"async\" width=\"800\" height=\"342\" class=\"alignnone size-full wp-image-178990\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/optinmonster_conversion.jpg\" alt=\"OptinMonster Conversion event as a matching condition.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/optinmonster_conversion.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/optinmonster_conversion-300x128.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/optinmonster_conversion-768x328.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li><strong>Optional<\/strong>: If you would like to identify a specific OptinMonster campaign in your Matching conditions you can create custom dimensions for <code>om_campaign_name<\/code> and <code>om_campaign_id<\/code>. Check our guide on <a href=\"https:\/\/optinmonster.com\/docs\/how-to-view-optinmonster-reports-on-google-analytics\/\" target=\"_blank\" rel=\"noopener\" title=\"\">viewing OptinMonster reports in Google Analytics<\/a> 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:<br><img decoding=\"async\" width=\"800\" height=\"341\" class=\"alignnone size-full wp-image-178982\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/conversion-event-condition.jpg\" alt=\"Conversion Event Matching Conditions.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/conversion-event-condition.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/conversion-event-condition-300x128.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/conversion-event-condition-768x327.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Select the <strong>Add condition<\/strong> button to add other matching conditions to your custom Key Event.<\/li>\n\n\n\n<li>When you&#8217;re finished, click <strong>Create<\/strong>.<br><img decoding=\"async\" width=\"800\" height=\"305\" class=\"alignnone size-full wp-image-178980\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/create-conversion-event.jpg\" alt=\"Create your Conversion Event.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/create-conversion-event.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/create-conversion-event-300x114.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/05\/create-conversion-event-768x293.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>The new event will appear in the&nbsp;<em>Custom events<\/em>&nbsp;table, but it won&#8217;t appear in the&nbsp;<em>Existing events<\/em>&nbsp;table in Admin &gt; Data Display &gt; Events until Analytics processes the event.<\/li>\n<\/ol>\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">Troubleshooting<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">Does my Custom Event have to be configured identically to this guide?<\/h5>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>In fact, you&#8217;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.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Can I enter the title of my campaign instead of the numeric ID?<\/h5>\n\n\n\n<p>Yes, if grabbing the numeric ID doesn&#8217;t fit your workflow, you can enter the title of your campaign as the event <strong>Parameter<\/strong> instead.<\/p>\n\n\n\n<div class=\"alert-box alert-red\">\n<p class=\"alert-box-title\">Warning:<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p class=\"is-style-arrow-link has-link-color\"><\/p>\n<\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Can I track my campaign&#8217;s impression events instead of conversions?<\/h5>\n\n\n\n<p>Yes, simply change &#8216;optinmonster_conversion&#8217; to &#8216;optinmonster_impression&#8217; for the event_name conditions when configuring your Custom Event.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Where do I find the campaign ID to use in my Custom Event?<\/h5>\n\n\n\n<p>The campaign&#8217;s unique ID is shown in the Campaign Dashboard preview pane:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"800\" height=\"603\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/optinmonster-campaign-id.gif\" alt=\"The OptinMonster campaign ID can be copied from the preview pane.\" class=\"wp-image-150518\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;ll learn how to create Key Events in Google Analytics for your OptinMonster campaigns. Before you start, this guide assumes you&#8217;ve already connected your campaign with Google Analytics. It can take&nbsp;&hellip;<\/p>\n","protected":false},"author":4657,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[31818],"documentation\/tags":[31497,31424,31425,31411],"class_list":["post-112482","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-performance"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112482","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=112482"}],"version-history":[{"count":22,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112482\/revisions"}],"predecessor-version":[{"id":209294,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112482\/revisions\/209294"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=112482"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=112482"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=112482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}