Target Product Pages
Deliver personalized messages to visitors browsing a specific product page.
Target Product Pages is an OptiMonk targeting feature that restricts a campaign to appear only when a visitor is viewing an individual product page on your store. On Shopify and Shoprenter, this is configured through a dedicated "Product page" option in the Current Page / URL rule, which provides attribute-based matching — you can target product pages by product name, collection membership, price range, product type, vendor, availability status, or product tag, without writing URL patterns manually. On other platforms, product page targeting is achieved through URL pattern matching using "contains," "starts with," "ends with," or exact URL rules. Targeting product pages allows you to show exit-intent offers on specific products, cross-sell complementary items at the point of highest purchase consideration, or display social proof only to visitors actively evaluating a product — rather than sitewide.
Key benefits
- Reach visitors at the highest point of purchase intent: A visitor viewing a product page has navigated past category browsing and is actively evaluating a specific item. This is the moment they are most receptive to relevant offers — cross-sells, size guides, urgency messages, or social proof popups — which makes product page targeting one of the highest-converting placement strategies available.
- Rich attribute-based targeting on Shopify: On Shopify, you can target product pages not just by name but by collection, price, product type, vendor, tag, or availability. This means a single campaign rule can cover hundreds of products without enumerating them individually.
- Works for all platforms via URL pattern matching: For non-Shopify stores, OptiMonk's URL rule covers any product page URL structure through "contains," "starts with," "ends with," or exact match logic. Regular expressions are also supported for complex multi-condition URL patterns.
How it works
In the campaign targeting settings, click Add new rule and select Current Page / URL. This opens the page-targeting interface where you define which pages the campaign should be shown on.
On Shopify or Shoprenter, choose "Product page" from the dropdown and set matching attributes — for example, "product name contains Sneaker," "product collection is Running," or any other product attribute. On other platforms, choose a URL operator such as "URL contains /product/" and enter the path segment your product pages share.
OptiMonk evaluates the visitor's current page URL and, for Shopify, its associated product attributes each time the campaign trigger fires. Visitors on matching product pages see the campaign; all other pages are excluded.
Frequently asked questions
What is Target Product Pages in OptiMonk?+
Target Product Pages is an OptiMonk targeting configuration that restricts a campaign to appear only on individual product pages of your store. On Shopify and Shoprenter, it uses a "Product page" condition in the Current Page / URL rule, supporting attribute-based matching by name, collection, price, type, vendor, availability, and tag. On other platforms, URL pattern matching is used instead.
What product attributes can I use for targeting on Shopify?+
On Shopify, the "Product page" targeting condition supports matching by product name, collection membership, price (greater than, less than, between), product type, vendor, product tag, and availability (in stock / out of stock). These attributes can be combined to target highly specific sets of products.
Can I target product pages on WooCommerce or Magento?+
Yes. On WooCommerce, Magento, and other platforms, product page targeting is done through URL pattern matching. You enter a URL rule — such as "URL contains /product/" — that matches the path structure your product pages share. This works for any URL format without requiring changes to your store or custom code, though the semantic attribute-based options (name, collection, tag) are only available on Shopify and Shoprenter.
Can I exclude specific product pages while targeting all others?+
Yes. OptiMonk's Current Page / URL rule supports both "include" and "exclude" conditions in the same campaign. You can show a campaign on all product pages but exclude a specific one by adding an exclusion rule that exactly matches its URL. Multiple inclusion and exclusion rules can be combined.
Can I use product page targeting for exit-intent campaigns?+
Yes, and this is one of the most common use cases. An exit-intent popup targeting only product pages can show a discount or alternative product suggestion precisely when a visitor is about to leave a product detail page — the highest-intent page on your store. Combined with cart or product rules, you can further restrict the exit-intent campaign to visitors who have not yet added the product to their cart, avoiding irrelevant offers to shoppers already in the purchase flow.
Try OptiMonk for free
Launch your first campaign, learn what works, then scale what converts.