How to Use OptinMonster’s Content Blocking Feature

You can now enable content locking for OptinMonster’s Inline Campaigns! Follow this guide to learn how to use OptinMonster’s content locking feature.

REQUIREMENTS: Content Locking requires a Plus Subscription or higher.
  1. Create an Inline Campaign
  2. Configure Content Locking
  3. Embed the Content Locking Campaign

Step 1 – Create an Inline Campaign

To begin, create an Inline Campaign that you would like to use for content locking.

Step 2 – Configure Content Locking

Once you’ve created an Inline campaign, go to the Inline Settings panel.

Inline Settings Panel

Enable lock content below campaign.

Enable Content Locking

Once activated, you can set the Content Locking Style.

Choose Content Locking Style

There are two content locking methods available:

  • Obfuscation: Blurs out the text below the campaign (default).
  • Removal: Removes the text completely below the campaign.
NOTE: The amount of time the content stays unlocked is determined by the success cookie duration.

Step 3 – Embed the Content Locking Campaign

The campaign is now ready to be embedded before the content you want to lock.

IMPORTANT: Your campaign will only lock content that is in the same container. Be sure the campaign embed code is not wrapped in a separate div container or it will not lock any of the content that appears visually beneath it.

Embed Campaign Code

Save the changes to your page or post, then preview your site and your content will be locked based on the optin’s configuration until the visitor submits the campaign.

Content Locking Example


Q: Can I unlock all content on my site after a visitor has subscribed?

A: Yes! Be sure to set global cookie durations for your domain. Any value greater than zero for the Global Success Cookie will unlock all content on your site once a visitor has subscribed for that number of days.

Q: Can I use Content Locking with a Custom HTML Integration?

A: Yes! Just be sure your custom HTML form’s submit field contains the om-trigger-conversion class, and OptinMonster will take care of the rest.

If you’re adding an HTML link to the Custom HTML field instead of a form, you can add the same class to your HTML link tag and when selected the content will be unlocked.

Learn more about using the om-trigger-conversion class with OptinMonster.

Q: Why doesn’t Obfuscation work on Internet Explorer 11?

A: Unfortunately Internet Explorer 11 does not support the obfuscation method, so to ensure your content isn’t freely available to visitors on IE11 we remove the content from view until it has been unblocked.