How to Integrate OptinMonster with PrestaShop

Do you want to use OptinMonster with your PrestaShop website? We make it easy for you! This guide will show you how you can integrate the power of OptinMonster into your PrestaShop site.

  1. Create and Publish a Campaign
  2. Paste the Embed Code

Step 1 – Create and Publish a Campaign

The first step is to create a campaign and retrieve it’s embed code. See this guide on how to embed your campaigns on your site for a step-by-step walkthrough if you need assistance.

Step 2 – Paste the Embed Code into a Module in Your PrestaShop Site

First, login to the admin of your PrestaShop site. In this documentation we used the OptinMonster Code Module available from PrestaShop’s Addon store.

Prestashop Module

NOTE: This is a third-party module that is not maintained by the OptinMonster team. Please contact the module developer directly for assistance with this module.

From the PrestaShop admin, navigate to the Modules screen, locate the OptinMonster Code Module and select Configure.

Configure Module

To get your Account ID and User ID, go to your OptinMonster account, click on your name, and then My Account.

My Account

Scroll down to the Account-wide Embed Code section. The data-account number is the Account ID and the data-user number is the User ID.

Copy Attributes

Copy and paste the values into their fields in the module.

Paste IDs

If you’re adding an inline type campaign (After Post / Inline or Sidebar), you’ll add either the HTML Placeholder (if using the Account Wide embed code) or the entire Campaign Specific Embed where you want your campaign to appear on the page as well.

Be sure to Save your Module when you’re finished and that’s it! You can now navigate to the front-end of your PrestaShop site and test your beautiful new campaign!

Want to maximize your conversion rates? You may also want to check out how to split-test your campaigns to get higher conversions.


Q: I have questions about how the Embed Code works.

A: If you have any questions, such as:

  • What domain do I enter when creating my campaign?
  • What’s the difference between the Account Wide and Campaign Specific embed codes?
  • I’m using the Account Wide Embed, how do I control where my campaigns load?
  • I’m using the Account Wide Embed, how do I control where on the page my After Post / Inline or Sidebar campaigns appear?
  • Does the embed code have to be pasted before the closing </body> tag?
  • How do Inline Campaigns work with Embed Codes?

All of the questions above are answered on our main Embed Code Documentation.