When creating a dynamic content region, you may choose to tie it to a specific page. For example, let's say you want to personalize a common element, like a testimonial, but only on the home page, not any other page.

To access this property, click Edit next to the dynamic content region or add a new region.

Activate a region on all pages

Simply leave the Page field blank. Any element on any page that matches the Selector will be handled by Persosa.

Activate a region on specific pages

Enter a Javascript regular expression into the Page field. Any page that matches this regular expression will activate that region. If the regular express does NOT match, the region will not be handled by Persosa, regardless of its existence on a page. Hostnames and query parameters are not taken into consideration when evaluating matches.

For example, let's say you want to personalize a region only on the home page, you'd set Page to ^/$ which means that it must match "/" exactly.

If you want to activate a region on all pages in a "Womens" category (any page that starts with "/womens/..."), it would look like this: ^/womens/ .

Did this answer your question?