{"id":176902,"date":"2024-11-12T14:12:51","date_gmt":"2024-11-12T19:12:51","guid":{"rendered":"https:\/\/optinmonster.com\/?p=176902&#038;post_type=optinmonster_docs&#038;preview_id=176902"},"modified":"2025-08-08T10:39:23","modified_gmt":"2025-08-08T14:39:23","slug":"how-to-integrate-optinmonster-with-webflow","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/how-to-integrate-optinmonster-with-webflow\/","title":{"rendered":"How to Integrate OptinMonster with Webflow"},"content":{"rendered":"\n<p>OptinMonster works on any website where you can add our embed code, including Webflow.<\/p>\n\n\n\n<p>In this article, you&#8217;ll learn how to integrate OptinMonster with your Webflow site.<\/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>You will need a Core, Growth, Agency, or Freelancer Webflow&nbsp;Workspace or an active&nbsp;Webflow Site plan to add custom code to your entire site or individual pages.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Embed OptinMonster<\/h2>\n\n\n\n<p>To locate and embed your OptinMonster Global Embed code, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the OptinMonster dashboard,&nbsp;<a href=\"https:\/\/app.optinmonster.com\/account\/\" target=\"_blank\" rel=\"noreferrer noopener\">navigate to the&nbsp;<strong>Account<\/strong>&nbsp;page<\/a>. You can access this page by clicking on your&nbsp;<strong>Account Name<\/strong>&nbsp;in the top right corner, then select&nbsp;<strong>My Account<\/strong>&nbsp;from the dropdown menu.<br><img decoding=\"async\" width=\"800\" height=\"486\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/dashboard-account-name-my-account-1024x622.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/dashboard-account-name-my-account-300x182.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/dashboard-account-name-my-account-768x466.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/dashboard-account-name-my-account.png 1362w\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/dashboard-account-name-my-account-1024x622.png\" alt=\"\"><\/li>\n\n\n\n<li>Scroll down to the Account-wide Embed Code area. Copy the code in the box.<br><img decoding=\"async\" width=\"800\" height=\"256\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/account-copy-embed-code-1024x328.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/account-copy-embed-code-300x96.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/account-copy-embed-code-768x246.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/account-copy-embed-code.png 1244w\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/account-copy-embed-code-1024x328.png\" alt=\"\"><\/li>\n<\/ol>\n\n\n\n<div class=\"alert-box alert-yellow\">\n<p class=\"alert-box-title\"><\/p>\n\n\n\n<p>If you have already&nbsp;<a href=\"https:\/\/optinmonster.com\/docs\/creating-your-first-optin\/\" target=\"_blank\" rel=\"noreferrer noopener\">created a campaign<\/a>&nbsp;in OptinMonster, you can also find your account-wide (aka Global) embed code on the&nbsp;<strong>Publish<\/strong>&nbsp;view of the campaign builder, under Platform &gt; Any Site.<img decoding=\"async\" width=\"800\" height=\"579\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/05\/publish-copy-embed-code-1024x741.png\" alt=\"\"><\/p>\n\n\n\n<p class=\"is-style-arrow-link has-link-color\"><\/p>\n<\/div>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Next, log into your <a href=\"https:\/\/webflow.com\/login\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">Webflow<\/a> account. Navigate to&nbsp;the <strong>Dashboard &gt; All Sites<\/strong> and click on the ellipsis icon (&#8230;) on the card for your site.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"874\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/webflow-dashboard-settings-e1678873252895.png\" alt=\"Webflow Dashboard Settings\" class=\"wp-image-177914\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/webflow-dashboard-settings-e1678873252895.png 1600w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/webflow-dashboard-settings-e1678873252895-300x164.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/webflow-dashboard-settings-e1678873252895-1024x559.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/webflow-dashboard-settings-e1678873252895-768x420.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/webflow-dashboard-settings-e1678873252895-1536x839.png 1536w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>4. Next, select&nbsp;<strong>Settings<\/strong> from the dropdown menu.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"800\" height=\"392\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Site-Settings-e1678874357830.png\" alt=\"Webflow Site Settings\" class=\"wp-image-177916\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Site-Settings-e1678874357830.png 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Site-Settings-e1678874357830-300x147.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Site-Settings-e1678874357830-768x376.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>5. Next, click on&nbsp;<strong>Custom Code<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Custom-Code.png\" alt=\"Webflow Custom Code\" class=\"wp-image-177917\"\/><\/figure>\n\n\n\n<p>6. Scroll down to the&nbsp;<strong>Footer Code<\/strong> section and paste your OptinMonster Global Embed Code there. Then, click <strong>Save Changes<\/strong>.<br><img decoding=\"async\" width=\"800\" class=\"alignnone size-full wp-image-177920\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Footer-Code-e1678874721772.png\" alt=\"Webflow Footer Code\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Footer-Code-e1678874721772.png 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Footer-Code-e1678874721772-300x118.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Footer-Code-e1678874721772-768x302.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n\n\n\n<p>7. When you&#8217;re finished, click&nbsp;<strong>Publish<\/strong>.<img decoding=\"async\" width=\"800\" class=\"alignnone size-full wp-image-177921\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Publish-After-Footer-Code.png\" alt=\"Webflow Publish After Footer Code\"><\/p>\n\n\n\n<p>You can find more information about this process in Webflow&#8217;s documentation <a href=\"https:\/\/help.webflow.com\/hc\/en-us\/articles\/33961357265299-Custom-code-in-head-and-body-tags#footer-code\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"paste\">Embed a Campaign on Specific Page<\/h2>\n\n\n\n<p>To add the embed code to a specific page of your site, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the campaign builder, navigate to the <strong>Publish <\/strong>tab and copy the Campaign Embed code.<br><img decoding=\"async\" width=\"620\" height=\"342\" class=\"alignnone size-full wp-image-151149\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/publish-screen-copy-embed-code.jpg\" alt=\"Copy the embed code for your OptinMonster campaign from the Publish screen of the campaign builder.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/publish-screen-copy-embed-code.jpg 620w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/publish-screen-copy-embed-code-300x165.jpg 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/li>\n\n\n\n<li>Next, log into your Webflow account and open your site in the&nbsp;<strong>Designer<\/strong> view.<\/li>\n\n\n\n<li>Click on the <strong>Pages<\/strong> icon in the left sidebar.<br><img decoding=\"async\" width=\"800\" class=\"alignnone size-full wp-image-177925\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Pages.png\" alt=\"Webflow Pages\"><\/li>\n\n\n\n<li>Hover your cursor over the page where you would like to add your campaign. Then click on the <strong>Edit Page Settings<\/strong> icon.<br><img decoding=\"async\" width=\"800\" class=\"alignnone size-full wp-image-177926\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Page-Settings-e1678876230853.png\" alt=\"Webflow Page Settings\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Page-Settings-e1678876230853.png 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Page-Settings-e1678876230853-300x171.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Page-Settings-e1678876230853-768x439.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Scroll down to the <strong>Custom Code<\/strong> area and paste your OptinMonster <strong>campaign embed code<\/strong> there. Then, click <strong>Save<\/strong>.<br><img decoding=\"async\" width=\"800\" class=\"alignnone size-full wp-image-177927\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Page-Code.png\" alt=\"Webflow Page Code\"><\/li>\n\n\n\n<li>When you&#8217;re finished, click&nbsp;<strong>Publish<\/strong>.<br><img decoding=\"async\" width=\"800\" class=\"alignnone size-full wp-image-177930\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Publish-Page.png\" alt=\"Webflow Publish Page\"><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"inline-embed\">Embed Inline Campaigns<\/h2>\n\n\n\n<p>After adding the Global Embed Code to the Site OR the Campaign Embed code to the page, for adding an Inline campaign, you must place the <a href=\"https:\/\/optinmonster.com\/docs\/how-to-manually-add-an-after-post-or-inline-optin\/#HTML_Placeholder\" target=\"_blank\" rel=\"noopener\" title=\"HTML Placeholder\">HTML Placeholder<\/a> of the campaign on the specific page within the content where it should visually appear.<\/p>\n\n\n\n<p>To add the HTML Placeholder code to a specific part of your page, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on <strong>Add Elements<\/strong> and drag the <strong>Embed<\/strong> element on the page where you want to show your Inline Campaign.<br><img decoding=\"async\" width=\"800\" class=\"alignnone size-full wp-image-177931\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Embed-Element-e1678877372538.png\" alt=\"Webflow Embed Element\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Embed-Element-e1678877372538.png 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Embed-Element-e1678877372538-300x152.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Embed-Element-e1678877372538-768x389.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Paste your <strong>HTML Placeholder code<\/strong> click on <strong>Save &amp; Close<\/strong>.<br><img decoding=\"async\" width=\"800\" class=\"alignnone size-full wp-image-177932\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Add-the-HTML-Placeholder-and-Save-e1678877472466.png\" alt=\"Add the HTML Placeholder and Save\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Add-the-HTML-Placeholder-and-Save-e1678877472466.png 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Add-the-HTML-Placeholder-and-Save-e1678877472466-300x181.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Add-the-HTML-Placeholder-and-Save-e1678877472466-768x464.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>When you&#8217;re finished, click&nbsp;<strong>Publish<\/strong>.<br><img decoding=\"async\" width=\"800\" class=\"alignnone size-full wp-image-177930\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/Webflow-Publish-Page.png\" alt=\"Webflow Publish Page\"><\/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\">What domain do I enter when creating my campaign?<\/h5>\n\n\n\n<p>When creating your campaign you can add the domain provided by Webflow in your Dashboard (for example the one we used for testing is, <code>optinmonsters-fantastic-site.webflow.io<\/code>) for your campaign to load on. This will allow you to view the campaign when previewing your site.<\/p>\n\n\n\n<div class=\"alert-box alert-yellow\">\n<p class=\"alert-box-title\"><\/p>\n\n\n\n<p>If your site uses a custom domain with Webflow, you must also add the domain that appears in the address bar when you view your website. <br><br>If you haven&#8217;t registered the domain you want to use in your OptinMonster account yet, you can&nbsp;add the site through the&nbsp;<strong>Publish<\/strong> screen in the campaign builder, or through the&nbsp;<strong>Account &gt; Sites<\/strong> screen. Learn more about <a href=\"https:\/\/optinmonster.com\/docs\/how-to-add-edit-or-delete-a-website-in-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"\">how to register your domain in OptinMonster<\/a>.<br><br>In the <strong>Publish<\/strong> view of the campaign builder, be sure the domain is listed under the&nbsp;<strong>Websites<\/strong> section. Click&nbsp;<strong>Add a website<\/strong> if your domain isn&#8217;t already assigned to the campaign to select and add it. <img decoding=\"async\" width=\"850\" height=\"653\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/5f6cf6500e9be381063831.gif\" alt=\"Add site to the Publish screen for your OptinMonster campaign.\"><br><br>When you&#8217;re finished, click <strong>Save<\/strong>.<\/p>\n\n\n\n<p class=\"is-style-arrow-link has-link-color\"><\/p>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OptinMonster works on any website where you can add our embed code, including Webflow. In this article, you&#8217;ll learn how to integrate OptinMonster with your Webflow site. Before You Start Here are some things to know before you begin: Embed OptinMonster To locate and embed your OptinMonster Global Embed code, follow these steps: 4. Next,&nbsp;&hellip;<\/p>\n","protected":false},"author":7337,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[210],"documentation\/tags":[31399,31430,31411,31418],"class_list":["post-176902","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-platforms"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/176902","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\/7337"}],"replies":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/comments?post=176902"}],"version-history":[{"count":29,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/176902\/revisions"}],"predecessor-version":[{"id":206349,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/176902\/revisions\/206349"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=176902"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=176902"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=176902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}