Asklayer can target specific pages, products, categories etc. using URL rules.
Quick usage examples
- Show the widget everywhere
Leave all rules blank - Show widget on homepage and nowhere else
'Show on these pages'
Match type -> URL Equals
Match text -> https://mysite.com/ - Display everywhere except for cart and checkout
'Don't show on these pages'
Match type -> URL Contains
Match text -> cart
'Don't show on these pages'
Match type -> URL Contains
Match text -> checkout - Display for all pages within a certain category
'Show on these pages'
Match type -> URL starts with
Match text -> https://mysite.com/my-category/ - Target users coming from a specific advertising campaign
'Show on these pages'
Match type -> URL contains
Match text -> utm_campaign=mycampaign
If you need a specific example that isn't listed here please reach out to us via live chat. We would be happy to add to this list!
Advanced information
- Exclusion rules always take precedence over target rules.
- Trailing slashes (slashes at the end of URLs) are ignored for targeting, both with or without should work.
- URL Equals, Starts with and Ends with match the URL without the search parameters or hash.
- URL Contains matches the full URL including search parameters and hash.
Advanced tip: Using the 'contains' match you can target query strings for things like targeting on-site search terms and Google analytics utm terms.