How to Integrate OptinMonster with RainMaker

OptinMonster can work with any website. The best lead generation tool works on RainMaker too! This guide will show you how you can integrate the power of OptinMonster into your RainMaker site.

  1. Create and Publish a Campaign
  2. Paste the Embed Code

Step 1 – Create and Publish a Campaign

The first step is to create a campaign and retrieve it’s embed code. See this guide on how to embed your campaigns on your site for a step-by-step walkthrough if you need assistance.

Step 2 – Paste the Embed Code into the Header of your page in RainMaker

Go ahead and log into your account.


Click the Design tab on the left of your screen. Next, click Appearance


Now you have 2 ways to add OptinMonster to you Site.

A) Popup Type Campaigns

For your lightboxes, floating bars, slide-in’s, etc, you need to go to Design > Appearance > Scripts


There, you add your embed code to the Footer area. Although you’re adding the embed code to your entire site with this method, you can still target which pages of your site you want the campaign to appear on by following our Page Targeting documentation.

B) Inline Type Campaigns

For campaigns like After Post / Inline or Sidebar you need to go to Design > Appearance > Content Areas > [Area of your choice.]

You’ll add either the HTML Placeholder (if using a Sitewide Embed) or the entire Campaign Specific Embed where you want your campaign to appear on the page.


In this case, you could add it to your primary sidebar widget by adding a Text widget and pasting your code there.


You’re all done! You can now navigate to the front-end of your Rainmaker site and test your beautiful new campaign!


Q: What domain do I enter when creating my campaign?

A: When creating your campaign you can add your site’s custom domain (the domain used to reach the front-end of your site) in the Setup panel > Optin Campaign Website section of the campaign builder.

You can control which domains your campaign is allowed to load on by adding them to the Optin Campaign Website field.

Q: I have questions about how the Embed Code works.

A: If you have any questions, such as:

  • What domain do I enter when creating my campaign?
  • What’s the difference between the Sitewide and Campaign Specific embed codes?
  • I’m using the Sitewide Embed, how do I control where my campaigns load?
  • I’m using the Sitewide Embed, how do I control where on the page my After Post / Inline or Sidebar campaigns appear?
  • Does the embed code have to be pasted before the closing </body> tag?
  • How do Afterpost and Inline Campaigns work with Embed Codes?

All of the questions above are answered on our main Embed Documentation available here.