So, I’m experimenting with OptinMonster paired with my MailChimp email newsletter list on my WordPress blog. I’m only a couple days in, but I did some quick troubleshooting on an After Post / In Line Optin that wasn’t displaying.
Quick Answer (TL;DR)
If you’re using the Sitewide Embed code, you need to specify where an After Post / In-Line Optin goes with an extra line of code.
You only need to do three key things to add Optins to your site (after getting your account, of course):
- Setup your email newsletter provider integration
- Create Optin(s)
- Embed Optin code to your site (see next section)
Note: I had both the Lightbox and the Mobile Optins setup and added to my site before I tried adding the After Post campaign.
How I Embedded OptinMonster
There are three options to embed the OptinMonster Campaign to your site:
- Sitewide embed code *my choice*
- Campaign-specific embed code
- WordPress plugin
I chose to use the sitewide embed code. I have an awesome theme that has a place in my WordPress admin panel where I can add this easily.
I’m not using the plugin because I’m currently working to reduce the number of plugins on my site. And sitewide seemed much easier than campaign-specific.
Description by OptinMonster on the sitewide embed:
One embed code for any campaign attached to the specified site. Any new campaigns assigned to the site will be loaded automatically.
Example: Let’s say you want to load 5 campaigns one your website. This option is perfect because you only need to insert one embed code one time, and then additional campaigns assigned to your site in the future will be loaded in automatically.
OptinMonster After Post Not Displaying
It seems obvious enough that you’d have to add additional code to tell the site *where* to add the After Post / In-Line Optin. But, I read the Sitewide Embed too literally. I mean, it said, “Any new campaigns assigned to the site will be loaded automatically.” Any? No, not After Post Campaigns.
Upon visiting the embed page for my After Post Optin and expanding the Sitewide Embed section, I noticed a little extra note:
Important: you also need to insert the following code where you would like your After Post / In-line campaign to load on your site.
Oh now you tell me! lol. I hadn’t bothered to look at this page since I thought my campaigns were already good-to-go with Sitewide Embed. But, this makes sense. Plus, you get to control where the After Post / In-Line Optin displays, which is nice.
I copied the code below the note on my OptinMonster Embed tab and added it to an End of Post widget, which another nice feature of my theme. Woop!
Anywho, I didn’t see this in the OptinMonster Debug post, so I thought I’d throw a quick post up in case anyone else runs into this. Hope it’s helpful!
Check out OptinMonster’s Debug post for fixes on other Optin types
Here’s a detailed review and walkthrough of OptinMonster by WPCrafter.com (30 minute video) – Note: it was made in September 2014, so the UI is a little different, but I still found it helpful
Are you using OptinMonster? Which campaign is working best for you?
Thanks for reading!