Try MaidPop Free →
← Back to Blog

How to Install MaidPop on WordPress

A cleaning-business owner at a desk updating a WordPress site on a laptop, cleaning supplies nearby.

To add MaidPop to WordPress, install the free WPCode plugin (Insert Headers and Footers), go to Code Snippets, then Header & Footer, paste your MaidPop snippet into the Header box, and click Save Changes. On WordPress.com you need a paid plan for this. A self-hosted WordPress.org site doesn't need a WordPress.com plan at all.

No theme editing.

The popup asks for an email address, or a phone number if you picked The Text Option, plus an optional first name. It opens about 10 seconds after a page loads. It's free forever, with a small "Powered by MaidPop" line on the free plan. The builder-neutral version is how to add a popup to your cleaning business website. On GoDaddy Website Builder instead of WordPress? Read how to install MaidPop on GoDaddy.

Am I on WordPress.com or WordPress.org?

They're different, and the steps depend on which you have. If you manage your site by logging in at wordpress.com, you're on WordPress.com. If a host such as GoDaddy runs WordPress for you and you log in at your own site's address, that's self-hosted WordPress.

On WordPress.com, WordPress says adding header code is available on the Personal, Premium, Business and Commerce plans. Free sites need an upgrade, and WordPress.com also says plugin installs are on all paid plans. Sources: Add code to headers and Install a plugin on a WordPress.com site.

On a self-hosted site you can install plugins from your dashboard.

Where do I get the MaidPop snippet?

Sign in to MaidPop. After you pick a template you're on the Install step. Choose I'll do it myself, then Just copy the code. The button says Copy code to clipboard. The same code is on Site Settings later, under Embed Snippet, where the button says Copy. It's one script tag with your ID in it:

<!-- MaidPop Popup Widget -->
<script src="https://maidpop.io/widget/v1/mp.js" data-id="YOUR-ID" data-api="..." async defer></script>

Use the copy button rather than retyping it.

How do I install the plugin and paste the code?

  1. In your WordPress dashboard, go to Plugins and then Add Plugin (on self-hosted sites, Add New). Search for WPCode, find Insert Headers and Footers by WPCode, and install and activate it.
  2. Go to Code Snippets, then Header & Footer.
  3. Paste the MaidPop snippet into the Header box.
  4. Click Save Changes at the top right of the page.

Anything in WPCode's Header field is printed in the head of every page. WPCode says to add the snippet exactly as the provider gave it, including the opening and closing script tags, because WPCode prints the field as it is. MaidPop's snippet is already a complete script tag, so paste it as it is and don't wrap it again. If you use a caching plugin, clear your site cache after saving, because WPCode shows a reminder for this.

Sources: WordPress.com: Add code to headers, WPCode: Using the Global Header & Footer settings and the WPCode plugin page on WordPress.org.

What if my WordPress is hosted by GoDaddy?

Same steps. GoDaddy's help says to sign in to WordPress, select Plugins, then Add New, search for the plugin, select Install Now, and then Activate. After that, follow the WPCode steps above. Source: GoDaddy: Install a plugin in WordPress.

GoDaddy has no page of its own about header code on Managed WordPress, so the header part comes from WPCode's docs. If your GoDaddy site is Website Builder rather than WordPress, that plugin path isn't available. Use the GoDaddy guide.

How to check it's working

Open your live site in a private window, not the WordPress editor or preview. MaidPop doesn't detect the editor, and a preview frame keeps the popup inside the frame.

Wait about 10 seconds on any page. The MaidPop popup should open in the middle of the screen and dim the page behind it. If you turned on trust badges, a thin bar runs across the bottom of the page. It hides while the popup is open.

Close it, or fill it in, and click to another page. It stays closed for the rest of that visit, and a fresh private window brings it back.

Try your own email in the form. There's an optional first name and one contact field. You'll get the lead by email, and by webhook if you set one up on Site Settings.

Nothing there? Clear your cache, then make sure the snippet is in the Header box and not the Footer.

Not showing? Send this to your web person

Copy and paste this:

Hi, I'm adding a small script called MaidPop to my WordPress site. Could you check it's in place? It needs to load on all pages, in the head, so in the Header box of the WPCode plugin (Code Snippets, Header & Footer). It must not be nested inside another script tag. If there's a caching plugin, please clear the cache. The snippet is below.

(paste your snippet here)

Want more? Best website builders for cleaning businesses and why your cleaning website loses visitors are good next reads.

Ready to capture more leads from your website?

Try MaidPop Free →