Title: Embed code or plugin?
Last modified: May 31, 2025

---

# Embed code or plugin?

 *  Resolved [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/)
 * Hi,
 * When using Live Site Inspector, I get the following error message: “We weren’t
   able to find the embed code on this page. Please [install the embed code](https://optinmonster.com/docs/how-to-embed-your-campaigns-on-your-site/)
   in order to preview this page.”
 * I use the OptinMonster plugin for WordPress and my website is connected. According
   to the documentation instructions, there’s nothing I should do. Am I correct?
 * Thanks for your help.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Support [Erica Franz](https://wordpress.org/support/users/ericakfranz/)
 * (@ericakfranz)
 * [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/#post-18494118)
 * Hi [@ph59](https://wordpress.org/support/users/ph59/) 👋
 * Would you try this:
    1. Navigate to the WordPress admin > OptinMonster > Campaigns screen.
    2. Change the publish status for a campaign to Published, then change it back to
       draft.
    3. Check that the notice is cleared and Live Site Inspector shows your campaign.
 * In some cases, it can be necessary to temporarily publish a campaign to trigger
   the output of our embed code to the site. And this approach will address that.
 *  Thread Starter [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/#post-18494207)
 * Hi,
 * I repeated the operation several times. I either get one of these two error messages:
 * “The Test on Page widget did not load correctly on your test page. Please ensure
   the testing page contains the OptinMonster embed code, and try again.”
 * “We weren’t able to find the embed code on this page. Please install the embed
   code in order to preview this page.”
 *  Plugin Support [Erica Franz](https://wordpress.org/support/users/ericakfranz/)
 * (@ericakfranz)
 * [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/#post-18494213)
 * [@ph59](https://wordpress.org/support/users/ph59/)
 * Could you share the URL to the site where this is happening?
 * Thanks!
 *  Thread Starter [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/#post-18494224)
 * Sure.
 * [https://onehomeplanet.com/](https://onehomeplanet.com/)
 *  Plugin Support [Erica Franz](https://wordpress.org/support/users/ericakfranz/)
 * (@ericakfranz)
 * [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/#post-18494250)
 * Awesome, thank you!
 * It looks like you have Redis caching enabled on your site; would you try the 
   same process but manually clearing cache between the changes?
 *  Thread Starter [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/#post-18494262)
 * Same result. I’ll reiterate on an incognito page and let you know.
 *  Thread Starter [Philippe Roussel](https://wordpress.org/support/users/ph59/)
 * (@ph59)
 * [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/#post-18494343)
 * It works now, but gives me the Optin view instead of the Yes/No one that I chose.
 * Oh, well. One pb at a time… 🙂
 *  Plugin Support [Erica Franz](https://wordpress.org/support/users/ericakfranz/)
 * (@ericakfranz)
 * [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/#post-18494370)
 * Hi [@ph59](https://wordpress.org/support/users/ph59/)
 * Fantastic, thank you for the update!
 * Yes/No campaigns are a paid feature included with our Plus and higher plans: 
   [https://optinmonster.com/pricing/](https://optinmonster.com/pricing/)
 * You can control which view is shown in the Display Rule settings: [https://optinmonster.com/docs/how-to-use-display-rules-in-optinmonster/](https://optinmonster.com/docs/how-to-use-display-rules-in-optinmonster/)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Embed code or plugin?’ is closed to new replies.

 * ![](https://ps.w.org/optinmonster/assets/icon-256x256.png?rev=1145864)
 * [Popup Builder & Popup Maker for WordPress – OptinMonster Email Marketing and Lead Generation](https://wordpress.org/plugins/optinmonster/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optinmonster/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optinmonster/)
 * [Active Topics](https://wordpress.org/support/plugin/optinmonster/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optinmonster/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optinmonster/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Erica Franz](https://wordpress.org/support/users/ericakfranz/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/embed-code-or-plugin/#post-18494370)
 * Status: resolved