Running a campaign on multiple pages
You can run A/B or MVT campaigns across multiple pages of your website. You may want to run a multi-page test if the objects you wish to change appear across multiple pages, such as menus, navigation panels, and headers or footers.
To configure a campaign element to run across multiple pages you would need to update your element's shared pages or URLs.
Shared pages
Shared pages in Campaign Designer (CD) allow you to simplify campaign setup and management.
You can use shared pages if:
- You find yourself adding the same set of URLs or URL masks when configuring elements, actions, or scripts in CD campaigns.
- Your site has a logical structure which supports multiple URL schemas. For example, the site has a registration page which can be reached by different URLs such as the following:
- Your site URL schema changes frequently and when this happens you need to update URLs or URL masks in all active or implementing CD campaigns.
Shared pages can help resolve such problems by defining a small set of URL rule sets (shared pages) and then reusing them in all CD campaigns on site.
Important: Consider the following before configuring shared pages:
- When you change a shared page, it will affect all campaigns that use it. For live campaigns, changes will take effect immediately, once the shared page is published.
- You can add both URL masks and shared pages to a campaign element, action, or script.
- The shared pages feature is currently not available for SPA or Server-side campaigns.
To test a global change using shared pages:
- First you will need to create shared pages in Maxymiser UI, by navigating to Site Settings and then Site Pages. For detailed instructions, see Adding a site page.
- Now you can map shared pages to campaign elements, actions, or scripts.
- When you are in Campaign Designer's Content tab, you can add URLs to elements, actions, or scripts using one of the following ways:
- On the right panel, click the + icon, and select Insert Pages.
- Click to expand and see the preview URL and URL masks that have been defined for the shared page.
- Select the shared page name that you want to map and click Done.
- Once the shared page has been mapped, you can also set it as the preview URL by hovering over the added page and clicking Set as Preview URL.
A list of shared pages will appear.
URLs
To test a global change using URLs:
- Select the element or one of its variants.
- Navigate to the URLs tab.
- Include or Exclude URLs for this element using the URL pattern.
Wildcard matching
If your test runs across a common set of pages, such as the following:
- http://example.com/products/1.html
- http://example.com/products/2.html
- http://example.com/products/3.html
You can use an asterisk (*) to wildcard match URLs:
- http://example.com/products/*.html
Query string parameters
To support query string parameters, wildcards are automatically added to URLs after you make visual changes. If you would like to manually edit these URLs, you can customize URLs in the list. For example: http*://example.com/products/*.html?* matches HTTP and HTTPS, as well as https://example.com/products/1.html?utm_campaign=paid. You also need http*://example.com/products/*.html to include URLs which do not contain a query string.