Wildcard URL support in website live-chat campaigns
The website live-chat campaigns support wild card URL patterns. While building a URL pattern, consider the following behaviors in mind.
In Hoory, every URL pattern should start with http://
or https://
.
Running the Campaign on the Exact URL
If you add the exact URL like https://hoory.com/app
, the URLs with trailing slashes or the URL parameters or the hash parameters would not match. Some examples for exact match definitions are as follows.
https://hoory.com/app
would matchhttps://hoory.com/app/
or ``https://hoory.com/app?test_param=1`https://hoory.com/app?test_param=test_value
would not matchhttps://hoory.com/app
orhttps://hoory.com/app#test_hash_param
Running the Campaign Ignoring the URL Parameters
To ignore the URL parameters or hash parameters, you can add a trailing slash in the URL. E.g. https://hoory.com/app/
would match all the following URLs.
https://hoory.com/app/
https://hoory.com/app
https://hoory.com/app/?test=1
https://hoory.com/app/#test
Running the Campaign in All Sub-Directories
You can use the *
character in the URL if you want to match all the sub-directories. E.g. https://hoory.com/*
would match to the following URLs.
https://hoory.com/
https://hoory.com/app
https://hoory.com/app/subdirectory
Running the Campaign in All Subdomains
To match the current domain and subdomains, you can use the pattern {*.}?
in the URL. E.g. https://{*.}?hoory.com/
would match to the following URLs.
https://hoory.com
https://app.hoory.com
https://www.hoory.com