Dynamic Product & Collection Name
Include product names or category names in headlines to make your message feel more personal.
Dynamic Product & Collection Name is an OptiMonk feature that automatically inserts the name of the product or collection a visitor is currently browsing directly into your popup or sticky bar text — with no manual work required. It uses two built-in Dynamic Text variables, "Product name" and "Product category," which OptiMonk reads from the visitor's current page session on Shopify, WooCommerce, Magento, WordPress, and Shoprenter stores. This means a single campaign can display a message like "Still thinking about the [Product Name]? Here's 10% off." to every visitor, with each person seeing the name of the exact product they were viewing — without you creating a separate campaign for each product or category.
Key benefits
- One campaign, infinite personalization: A single popup references any product or collection name without duplication — OptiMonk fills in the correct name for each visitor based on the page they are currently on.
- Works out of the box on major platforms: On Shopify, WooCommerce, Magento, WordPress, and Shoprenter, OptiMonk detects product and category data automatically after installation, with no custom JavaScript required.
- Supports fallback default values: If a product or category name is unavailable for any reason (for example, on a homepage), you can set a default fallback text such as "this product" so the message always reads naturally and never shows a broken placeholder.
How it works
Open any campaign in the OptiMonk editor and click on a text element where you want the product or collection name to appear.
Select "Product name" or "Product category" from the available Dynamic Text options. Optionally add a default fallback value in case the data is unavailable for a particular visitor or page type.
Save and launch the campaign as normal. OptiMonk reads the visitor's current page context at display time and inserts the correct product or collection name automatically — no per-product duplication needed.
Frequently asked questions
What is Dynamic Product & Collection Name in OptiMonk?+
Dynamic Product & Collection Name is an OptiMonk feature that automatically inserts the name of the product or collection a visitor is currently browsing into your popup message. It uses two built-in Dynamic Text variables — Product name and Product category — that OptiMonk reads from the visitor's current page session. The result is a personalized message without needing separate campaigns for every product.
Which platforms support Dynamic Product & Collection Name?+
OptiMonk automatically detects product and collection names on Shopify, WooCommerce, Magento, WordPress, and Shoprenter after the OptiMonk script is installed — no custom code needed. For other platforms, product and category data must be passed to OptiMonk via a custom JavaScript attribute setup.
Does this require any coding?+
For the supported platforms listed above, no coding is required. You insert the variable from a drop-down inside the OptiMonk text editor. For unsupported platforms, a developer needs to define the product and category attributes in a custom JavaScript snippet on your site.
What happens if the product or collection name is not available?+
You can set a default fallback value when inserting the Dynamic Text variable. If OptiMonk cannot determine the current product name — for example, on a homepage or blog page — it displays the fallback text instead, so the campaign message always reads naturally.
Can I use this for exit-intent campaigns on product pages?+
Yes. A common use case is an exit-intent popup on product pages that says "Still thinking about the [Product Name]? Here's 10% off." Because the variable fills in automatically, a single campaign covers every product page on your store without any duplication.
Try OptiMonk for free
Launch your first campaign, learn what works, then scale what converts.