/

/

Enhanced Web Targeting (Bloomreach Engagement)

Enhanced Web Targeting (Bloomreach Engagement)

Enhanced Web Targeting (Bloomreach Engagement)

Enhanced web targeting is a Bloomreach Engagement feature that shows weblayers and experiments based on page variables such as a dataLayer value, a URL parameter, a global JavaScript variable or the return value of custom JavaScript. A technical user defines the variables once under project settings and gives each a friendly name. Marketers then build rules in the `Show on pages with variables` field using operators like equals, contains or in between. The JS SDK evaluates the rule at display time, so the variable must already exist on the page. A missing value compares as undefined. URL conditions are checked first, and page variable conditions are combined with AND. For single-page apps, an experiment can also wait for a named `dataLayer.push` event instead of page load. That is how a cart-value banner reacts to a cart that changes without a reload.

Updated

Category

Bloomreach Campaigns, Tracking

Also known as

page variables; dataLayer targeting; show on pages with variables

In practice

Ask the developer when the dataLayer value is written, as well as whether it exists. If it lands after the SDK evaluates, the rule silently fails. The fix is a dataLayer event trigger, not a longer delay.

Something out of date?