Tracking multiple pages in the pageview goal

You may want to track when the visitor has viewed various pages as part of the goal for a campaign.

You can add multiple URL's to a goal using the 'Pageview' conversion event, either by adding each URL to to the goal, or use a wildcard to track variations of a page (where the URL structures of each page share a common slug).

Example

When subscribing to an email list, you may have a custom thank you and confirmation page and would like to track when a new subscriber has visited either page.

The URL's may look something like:

https://domainname.com/subscribe-thanks/

https://domanname.com/subscribe-confirmation/

Adding multiple pages to a view page conversion event

In the goal editing screen, click 'Set up conversion events' and select 'views this page'.

In the goal editing tool, click 'Affected Pages'.

In the field provided, add the page slug for the page view you want to track.

To add a second page, click the '+' icon under the page slug field.

Add the next slug and continue until you have added the URL's you want to track.

Using wildcards to match similar page slugs

If the URL's share a similar structure, use a wildcard (*) to match the starting characters in the slug. 

In the example for this article, both URL's share 'subscribe-' in the page slug of the URL, so a wildcard match of subscribe-* can be used in the page slug field for the goal.

To confirm the wildcard matches for each URL, use the URL field in the preview pane to navigate to the page(s).

Click on the 'X event' toggle. If the page slug matches the wildcard, the 'Pageview' goal will appear under 'Active on this page'. This means the conversion event will run on this page.

If the page slug does not match the wildcard, the 'Pageview' will appear under 'Not active on this page'. This means the conversion event will not run on this page.

Still need help? Contact Us Contact Us