{"id":112440,"date":"2022-03-30T15:47:39","date_gmt":"2022-03-30T19:47:39","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=18089"},"modified":"2025-07-21T14:23:19","modified_gmt":"2025-07-21T18:23:19","slug":"how-to-create-an-after-post-or-in-line-optin","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/how-to-create-an-after-post-or-in-line-optin\/","title":{"rendered":"How to Create an After Post or Inline Campaign"},"content":{"rendered":"\n<p>Easily show an optin form within your page content, sidebar, or below blog posts using Inline campaigns in OptinMonster. This type of campaign shows on the page instead of overlaying the page content.<\/p>\n\n\n\n<p>In this article, you&#8217;ll learn how to create an Inline campaign.<\/p>\n\n\n\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/PdNTzsPtc14?rel=0\" width=\"800\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Before You Start<\/h2>\n\n\n\n<p>Here are some things to know before you begin:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Inline campaigns must be embedded within the page content where you want them to appear. They will not automatically appear on your site without this step. <a href=\"https:\/\/optinmonster.com\/docs\/how-to-manually-add-an-after-post-or-inline-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"\">See our guide for embedding Inline campaigns<\/a>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create\">Create Inline Campaign<\/h2>\n\n\n\n<p>To create an Inline campaign, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the&nbsp;<a href=\"https:\/\/app.optinmonster.com\/campaigns\" target=\"_blank\" rel=\"noopener\" title=\"\">Campaigns<\/a> screen, select the <strong>Create New Campaign<\/strong> button.<br><img decoding=\"async\" width=\"800\" height=\"713\" class=\"alignnone size-full wp-image-164069\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-new-campaign.jpg\" alt=\"Select the Create New Campaign button to get started in OptinMonster.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-new-campaign.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-new-campaign-300x267.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-new-campaign-768x684.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>From the modal, select&nbsp;<strong>Templates<\/strong>&nbsp;as the type of campaign you\u2019d like to create.<br><img decoding=\"async\" width=\"800\" height=\"505\" class=\"alignnone size-full wp-image-169370\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/templates-selection-modal.jpg\" alt=\"Select Templates from the popup modal to begin selecting a campaign template in OptinMonster.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/templates-selection-modal.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/templates-selection-modal-300x189.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/templates-selection-modal-768x485.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>On the next screen, select&nbsp;<strong>Inline<\/strong> as the campaign type.<br><img decoding=\"async\" width=\"800\" height=\"480\" class=\"alignnone size-full wp-image-164382\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-inline-campaign.jpg\" alt=\"Select Inline as the campaign type\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-inline-campaign.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-inline-campaign-300x180.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-inline-campaign-768x461.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>You can filter, sort, and search from available Inline campaign templates.<br><img decoding=\"async\" width=\"800\" height=\"481\" class=\"alignnone size-full wp-image-169413\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/filter-inline-type-templates.jpg\" alt=\"Search and filter available Inline type campaign templates.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/filter-inline-type-templates.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/filter-inline-type-templates-300x180.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/filter-inline-type-templates-768x462.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Hover over any template in the list to <strong>Preview<\/strong>&nbsp;or&nbsp;<strong>Use Template <\/strong>to select it and open the campaign builder.<br><img decoding=\"async\" width=\"800\" height=\"480\" class=\"alignnone size-full wp-image-169412\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/preview-select-inline-template.jpg\" alt=\"Preview or select an Inline template to use it.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/preview-select-inline-template.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/preview-select-inline-template-300x180.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/preview-select-inline-template-768x461.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Once you&#8217;ve selected a campaign you&#8217;ll be prompted to give it a name and assign it to a site in your account.<br>Select the&nbsp;<strong>Start Building<\/strong> button to create the campaign and open it in the builder to customize.<br><img decoding=\"async\" width=\"800\" height=\"848\" class=\"alignnone size-full wp-image-169411\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/create-inline.jpg\" alt=\"Name your Inline campaign and assign it to a site.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/create-inline.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/create-inline-283x300.jpg 283w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/create-inline-768x814.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>You can now configure and customize your campaign in the builder, be sure to <strong>Save<\/strong> the changes as you work.<br>Just getting started? <a href=\"https:\/\/optinmonster.com\/docs\/getting-started-with-optinmonster-checklist\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Follow our guide here<\/a> to customize your campaign, or <a href=\"https:\/\/optinmonster.com\/demo\/\" target=\"_blank\" rel=\"noopener\" title=\"\">join a demo<\/a>!<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">How are Impressions (Visitors) counted for Inline campaigns in my analytics reports?<\/h5>\n\n\n\n<p>An Inline campaign&#8217;s impression is counted when the campaign visually appears within the browser window to your visitor.<\/p>\n\n\n\n<p>If the campaign is placed below the fold of your site the visitor will need to scroll the campaign into view before an impression is counted.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"embed\">Troubleshooting<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">I&#8217;ve added the OptinMonster Global Embed code to my site but my Inline campaign isn&#8217;t showing up.<\/h5>\n\n\n\n<p>You&#8217;ll want to be sure to place the Inline campaign&#8217;s embed code directly within your page content where it should appear to your visitors. This is required even if you&#8217;ve already added the Global Embed Code to your site.<\/p>\n\n\n\n<p>Follow our <a href=\"https:\/\/optinmonster.com\/docs\/how-to-manually-add-an-after-post-or-inline-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"\">guide for embedding Inline campaigns on your site<\/a>.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Why does my Inline campaign&#8217;s design appear squished on the page?<\/h5>\n\n\n\n<p>Inline campaigns will automatically stretch to fit the width of the content area they are embedded within.<\/p>\n\n\n\n<p>If you&#8217;re embedding the campaign within a narrower block of content on your site than the campaign appears in the builder it can cause significant visual differences between the two views.<\/p>\n\n\n\n<p>We recommend you <a href=\"https:\/\/optinmonster.com\/docs\/how-to-change-the-campaign-width\/\" target=\"_blank\" rel=\"noopener\" title=\"\">adjust the max-width of the campaign in the builder<\/a> to more closely resemble the size of the block you will be embedding the campaign in on your site. This will make it easier to adjust the design to fit how it will appear on your site.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Why am I missing some Display Rules for my Inline campaign?<\/h5>\n\n\n\n<p>Inline campaigns will visually appear when the page is loaded and cannot be configured to use conditions like&nbsp;<a href=\"https:\/\/optinmonster.com\/docs\/how-to-show-your-campaigns-on-a-time-delay\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Time Delay<\/a>, <a href=\"https:\/\/optinmonster.com\/docs\/how-to-trigger-a-campaign-based-on-scroll-percentage\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Scroll Percentage<\/a>, <a href=\"https:\/\/optinmonster.com\/docs\/how-to-activate-exit-intent-in-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Exit-Intent<\/a>, <a href=\"https:\/\/optinmonster.com\/docs\/how-to-use-the-inactivitysensor-in-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"\">InactivitySensor<\/a> or <a href=\"https:\/\/optinmonster.com\/docs\/how-to-use-monsterlinks-to-load-your-popup-with-click-of-a-button\/\" target=\"_blank\" rel=\"noopener\" title=\"\">MonsterLink<\/a> to trigger their appearance. Those options will not be available when setting the Display Rules for your Inline campaign.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Easily show an optin form within your page content, sidebar, or below blog posts using Inline campaigns in OptinMonster. This type of campaign shows on the page instead of overlaying the page content. In this article, you&#8217;ll learn how to create an Inline campaign. Before You Start Here are some things to know before you&nbsp;&hellip;<\/p>\n","protected":false},"author":4657,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[28200],"documentation\/tags":[31399,31497,31402,31411,31401],"class_list":["post-112440","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-campaign-types"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112440","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=112440"}],"version-history":[{"count":20,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112440\/revisions"}],"predecessor-version":[{"id":196695,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112440\/revisions\/196695"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=112440"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=112440"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=112440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}