Page Categories allow you to use the Triggers associated with pages to specify where you want to make changes. They allow you to:
- Focus on building the right experience without worrying about technical details or definitions.
- Save time by allowing you to define them once and reuse them in many places later.
- Improve consistency across experiments and analysis.
Page Categories use the Triggers associated with pages, but not Triggers associated with visitors. This means that you can define a Page Category based on the following Triggers:
- URL
- Page Source
- Parameter
For example, let's say that you have a group of product pages that are all located beneath the home page on your site. You want to be able to make edits to those pages as a group, instead of specifying each product page individually. You can define a Page Category called Product Pages and specify a condition to match any product page located below the home page.
Defining a Page Category
To define a Page Category:
-
Select New, Page Category.
The New Page Category page opens.
- Type a Name for the Page Category. Select Tags, if you use them, and then set a Status.
- Complete the Triggers fields as described in Selecting Triggers. Keep in mind that only the Triggers associated with pages are available.
- Open the Preview Settings tab. The URL field is automatically pre-filled with the Default URL for Preview field for this Site. In most cases, you'll leave the Preview URL as is.
Caching Specifications
Cacheable
The Cacheable check box allows you to determine if this Page Category may be cached. When you save the Page Category, SiteSpect generates a cookie name based on the Page Category name. This cookie must be configured with your CDN as the cache key cookie for the URLs specified by the Trigger. As a result, a CDN in front of SiteSpect caches any content associated with Campaigns that use this Page Category. Cacheable Page Categories are available only when you specify a URL Trigger.
Cache Purge API URL
Use this field to specify the URL for the cache to purge. This field is required.
Cache Purge API Headers
Use this field to specify headers to add to the cache purge request. This field is not required.
History
When you initially create a Page Category, it does not have any history. After you save the Page Category, SiteSpect tracks any actions that happen to it on its History tab. Open the History tab to view a list of events for the Page Category. The following image shows an example.
Where can I use Page Categories?
There are a few places where you can take advantage of Page Categories:
- Use Page Categories in the Visual Editor to apply a change or a set of changes to a group of pages.
- Use a Page Category Triggers.
- Use a Page Category as a Trigger for a Metric.