Live chat campaigns in Akece support the use of wildcard URLs, giving you greater flexibility to define where a campaign should be displayed across your website.
Below are the rules and examples to help you configure URL patterns properly for chat widget campaigns.
General rules for defining URLs
-
Every URL must start with
http://
orhttps://
. -
The campaign behavior will vary depending on how the URL pattern is defined.
Run campaign on an exact URL
If you want the campaign to display on one specific page only, define the exact URL without a trailing slash. Example:
https://dash.akece.com/app
This configuration will not be triggered if the URL has a trailing slash, query parameters (?
) or fragments (#
).
Examples:
β
Works for: https://dash.akece.com/app
β Wonβt work for:
-
https://dash.akece.com/app/
-
https://dash.akece.com/app?param=1
Ignore URL parameters and fragments
To trigger a campaign regardless of parameters or URL fragments, add a slash at the end of the URL. Example:
https://dash.akece.com/app/
This setup will work for:
-
https://dash.akece.com/app/
-
https://dash.akece.com/app
-
https://dash.akece.com/app/?test=1
-
https://dash.akece.com/app/#section1
Run campaign on subdirectories
To display the campaign on a path and all of its subpages, use the *
wildcard. Example:
https://dash.akece.com/*
This will activate the campaign on:
-
https://dash.akece.com/
-
https://dash.akece.com/app
-
https://dash.akece.com/app/support
-
https://dash.akece.com/blog/articles/how-to-use-akece
Run campaign on subdomains
To enable campaigns on the main domain and all subdomains, use the {*.}?
wildcard. Example:
https://{*.}?akece.com/
This pattern will cover:
-
https://akece.com
-
https://app.akece.com
-
https://www.akece.com
If you need help setting up campaigns on your site, reach out to our team:
π© [email protected] | π± @akece.ai