All Collections
Settings & How Tos
How To: Work With URL Patterns
How To: Work With URL Patterns
Yosi Dahan avatar
Written by Yosi Dahan
Updated over a week ago

Overview

Tired of copying URLs to setup your notification?
The URL 'contains' matching type can make your life easier.

You can set an expression instead of exact URLs in both 'Track' and 'Display' steps.

Notice: the notification 'count' will be an aggregate of all events matching your 'Track' settings.

Working With Patterns


Let's say you have many pages on your website with the same pattern: 'https://example.com/category/[categoryId]/product/[productID]'

To show a notification on all of your product pages in domain 'example.com':

1. Create a new notification
2. On the "Track" step, set the URL match type to be "Contains"
3. Type the expression "/product/" to track all product pages at once.

4. On the "Display" section, decide where you want to show these events, e.g. the home page: https://example.com
5. Complete the wizard to launch your notification!

Did this answer your question?