OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster



How to Use WordPress Shortcodes with OptinMonster

How to Use WordPress Shortcodes with OptinMonster

OptinMonster makes it easy to use Shortcodes from your WordPress plugins or theme with our templated campaigns.

In this article, you’ll learn how to add WordPress shortcodes to OptinMonster campaigns..

Before You Start

Here are some things to know before you begin:

Add Shortcode

You can use shortcodes in your OptinMonster campaign to further customize the appearance, content, and functionality.

To add a shortcode to your OptinMonster campaign, follow these steps:

In this walk-through we’re adding a WPForms shortcode to an OptinMonster campaign.
  1. Copy your shortcode from its source.
  2. Then, go to your OptinMonster campaign in the OptinMonster builder.
  3. Select the Add Blocks button then click and drag an HTML element into your campaign.
  4. Paste the shortcode you previously copied into the HTML editor box.
    Note: The Campaign Builder will not show you a live preview of the parsed shortcode. Don’t worry! It will still appear correctly on your site.
  5. Once you are satisfied with your campaign’s appearance and settings, set the campaign Status to Live and then Save your campaign.
  6. Next, navigate to the Campaigns list in the OptinMonster plugin, from the admin of your WordPress site.
  7. Your campaigns and their Publish statuses will automatically sync to the OptinMonster plugin. Confirm or update your campaign’s status as needed.
  8. The campaign should now appear on your site for you to test.

If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)
Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE! Click here to get started →


Will my shortcode work if I’m manually embedding the campaign or using Google Tag Manager?

No, shortcodes added to your OptinMonster campaign will only work if you’re using the OptinMonster plugin to embed your campaigns.

Do I need to use both the WordPress Plugin and the Display Rules?

Learn how our WordPress Plugin and Display Rules work together.

Still stuck?

How can we help?

Last updated on

Start Getting More Leads & Sales Today with OptinMonster!

Start Getting More
Leads & Sales Today
with OptinMonster!

Create and launch smart capture forms today in minutes. What are you waiting for?

Create and launch smart capture forms
today in minutes. What are you waiting for?

OptinMonster has transformed our business. Before integrating their optins, our clients saw a 2% conversion rate from web traffic, which is slightly above the standard for their industry. With the integration of OptinMonster’s lightbox popup, exit-intent technology, split testing, and other tools, our client’s conversion rates soared by an unprecedented 500%. They attracted substantially more customers while spending less on digital advertising. Their success propelled them to the top of their markets, outperforming national chains and other medical spas with much bigger marketing budgets. Our client’s success in their market has distinguished us in our own. We are now one of the most sought-after marketing firms in the industry of aesthetic medicine. We know that the integration of OptinMonster, more than any other tool or marketing strategy, has supported this growth and achievement.

chris zelig medstar media

Chris Zelig

Partner, Medstar Media

OptinMonster has been a game-changer for us. From driving donations to collecting new leads, there is nothing that this simple tool has failed to accomplish. Our lead collection rate has jumped by over 1,000%.

joe lowe american bird conservancy

Joe Lowe

Director of Digital Communications, American Bird Conservancy

Through OptinMonster’s exit-intent popups, we have more than doubled our sales conversion rate. Best of all is the compound effect of using OptinMonster over a long period of time—more conversions mean more customers, which means more word of mouth.

mitch smith, managing director, shockbyte

Mitch Smith

Managing Director, Shockbyte.com