On this page: Learn how to use page delivery rules in the Visual Experience Composer (VEC) to include the same experience on pages that have a similar structure.
A page template in Adobe Target provides structure to pages. When pages contain similar elements, variations in those similarly structured page elements can be tested across multiple pages or across an entire domain.
To work correctly, this feature must be used on pages that have a similar structure or contain template elements that are structured the same on all pages.
This feature can be used, for example, to do one of the following:
- Test a global navigation bar by rearranging or removing elements
- Remove an item from all product pages that use a particular page template
- Add a banner to all product pages
- Change the layout of the article template
Specify the pages for an experience specify-pages
The pages where an experience appears are specified with page delivery rules. The rules can include specific pages, or apply the change across the site or domain.
-
Create or edit an activity as described in Activities.
-
In the Visual Experience Composer (VEC), click the Configure icon (
), then select Page Delivery.
-
Click Add Rule, then specify the criteria for the pages to add the experience to.
-
Specify the page range: URL, Domain, Path, Hash (#) Fragment (the part of a URL that follows the # symbol), Query, or Custom.
For more information about how Target evaluates URLs, see Targets and audiences FAQ.
-
Choose an operator. The operator specifies how the items after the operator relate to the page range.
-
Type the strings that define where the experience is added, such as the domain or the strings contained in the page name.
For example, if Domain and Is (case sensitive) are selected, type the domain where the experience is added to all pages.
Multiple items can be included. Multiple items use OR logic, meaning that any single item in the list makes the condition true.
-
(Optional) Click Add Rule and repeat steps 3 to 6 to enter additional criteria.
Multiple criteria are joined with AND logic. Target adds the experience to all pages that match the specified criteria.
Use cases use-cases
Template rules can be used on a site in different ways, as the following use case shows.
Render the same activity across the entire domain entire-domain
Template rules can render the same activity across the entire domain, for example:
- To include a global header or footer
- To include a global banner (for example, COVID-19 announcements)
- To include a global free-shipping promo
-
Create or edit an activity as described in Activities.
-
To specify the domain where the experience appears, in the Visual Experience Composer click the Configure icon (
), then select Page Delivery. -
Click Add Rule > Domain.
-
From the Choose evaluator drop-down, select Contains, then specify the domain.