Show relevant offers — not just another popup
Not every visitor comes to your store with the same intent. Some are visiting for the first time, others have already placed orders, some have filled their cart without checking out, while others are looking for a specific product or brand.
The OptiMonk PrestaShop module lets you show each visitor a message that matches their current situation. It connects your PrestaShop store data to OptiMonk, allowing your campaigns to target visitors based not only on the page URL, but also on customer details, cart contents, viewed products, searches and previous orders.
All without custom development or manually written tracking code.
What campaigns can you create?
- Free shipping reminder: automatically show customers how much more they need to spend to qualify for free shipping.
- Cart abandonment offer: display a coupon or reminder only when the visitor actually has products in their cart.
- Returning customer campaign: show different messages to first-time visitors and customers who have already placed several orders.
- Category- or brand-specific offer: target visitors browsing a particular category or manufacturer.
- Zero-result search assistance: help customers when their search returns no matching products.
- Out-of-stock campaign: display a stock notification offer only when the viewed product is unavailable.
- Smarter newsletter signup: avoid asking customers to subscribe if they are already on your mailing list.
More than a basic OptiMonk integration
A standard embed code loads OptiMonk, but it does not automatically provide detailed information about your PrestaShop store. This module establishes the complete data connection between PrestaShop and OptiMonk.
- Transfers 44 visitor, cart, product and search data points to OptiMonk.
- Makes each cart item's product ID, quantity and price available for targeting.
- Updates cart data immediately after AJAX changes, without requiring a page reload.
- Supports targeting based on order history, newsletter status and customer group.
- Supports PrestaShop multistore installations.
- Uses no overrides and does not modify PrestaShop core files.
- Supports automatic module updates.
A practical example
A customer has products in their cart but has not yet reached your free shipping threshold. The module sends the current cart value to OptiMonk, allowing you to display a message such as:
“Only €20 more to qualify for free shipping!”
If the customer adds another product, the module updates the cart value even when the store uses AJAX. Your campaign can therefore react immediately to the latest cart total without reloading the page.
Available data: 44 fields plus cart items
| Data group | Available information |
|---|---|
| Visit and page | UTM campaign, medium and source, external referrer, previous page, page type, homepage status, search query, number of search results, search page status, language, currency, category ID and name, and manufacturer |
| Customer | Login status, customer ID, first name, last name, newsletter status, customer group, guest account status and number of previous orders |
| Cart | Final amount payable, product subtotal, discounts, shipping cost, number of cart lines, total quantity, product IDs, applied coupons and every cart item with its ID, quantity and price |
| Product page | Product ID, name, reference, gross price, net price, sale status, categories, default category, manufacturer, stock quantity, availability and tags |
The complete field list and exact property names are also available on the module configuration page, so you can easily find them while setting up an OptiMonk campaign.
How does it work?
- Adds the official OptiMonk embed code to your store header.
- Sends the current PrestaShop data to the OptiMonk adapter as custom properties with a
ps_prefix. - Makes cart items available to OptiMonk cart-based targeting rules.
- Monitors PrestaShop cart events and updates the values without reloading the page.
- Safely encodes all values, preventing product names, search queries or URL parameters from breaking the page.
Compatibility
- PrestaShop: 1.7.x, 8.x and 9.x
- PHP: 7.1–8.4
- Themes: Classic, Hummingbird, Warehouse and custom themes using standard PrestaShop hooks
- Search modules: dedicated support for the Warehouse/IQIT search
- Multistore: supported, with a separate OptiMonk account ID for each store
- Overrides: none
- Administration languages: English and Hungarian
Install it in approximately 5 minutes
- Upload the module in your PrestaShop administration panel.
- Open the module configuration page.
- Enter your OptiMonk account ID.
- Save the configuration.
Your store data will then become available in OptiMonk through the module's ps_ properties. If you change your PrestaShop theme later, the module automatically reconnects itself to the required display hooks.
Lifetime license and automatic updates
- Lifetime module license for one store.
- No monthly subscription fee for the module.
- An OptiMonk account is required. OptiMonk plans and fees are separate from the module license.
- Updates are delivered automatically through the Webstart updater using signed installation packages.
- The module does not create its own database table and does not modify your store's product, order or customer records.
To provide updates and support, the module periodically sends its version number and the store domain to the Webstart license server. No customer data is transmitted to the license server.
Data protection information
The module transfers the data required for your campaigns to the OptiMonk account configured for the store. For logged-in customers, this may include the customer ID, name, newsletter status and cart contents.
The use of OptiMonk and the categories of data transferred should therefore be included in your store's privacy policy. Loading the OptiMonk code can be aligned with your store's cookie consent settings.
Frequently asked questions
Does it work if I only use popup campaigns?
Yes. The module does not require embedded campaigns and also makes the data available for popup-based campaigns.
Does it respond to AJAX cart updates?
Yes. Cart values and related data are updated in OptiMonk without requiring a page reload.
Will it slow down my store?
The OptiMonk embed code is loaded asynchronously. The module uses data that PrestaShop already processes for the current page.
Will it work with a custom theme?
Yes, provided that the theme uses the standard PrestaShop displayHeader and displayFooter hooks.
What happens if I uninstall the module?
The module removes its own configuration settings. It does not modify products, orders or customer records and does not create a separate database table.
Version history
- 1.0.7 – Minor bug fixes.
- 1.0.6 – Immediate data updates after AJAX cart changes.
- 1.0.5 – Automatic hook registration after changing themes.
- 1.0.4 – Support for theme search modules, 18 new fields and more accurate cart totals.
- 1.0.3 – OptiMonk code loaded from the header and support for popup-only campaigns.
- 1.0.2 – Security improvements, PrestaShop 1.7–9 compatibility and automatic updates.