Plan requirement
| Subscription | Any plan |
| Access | Admin |
Yes, three ways. Which you use depends on who maintains your website and whether the script sits in a global template.
Can I choose which pages the widget appears on?
Yes, three ways.
- Only put the script on those pages. Simplest, and awkward if the script is in a global template.
- Use the allowlist in Zendesk to limit which domains may show it. It works on domains and subdomains only, so it separates a staging site or a shop on its own subdomain from the main one. It cannot pick out a section by its path.
-
Control it in code, with
zE('messenger', 'hide')andzE('messenger', 'show')per page. Most precise, and it needs a developer.
Which to choose
For a site where the script sits in one global template and the parts you want to separate live on their own subdomains, the allowlist is the practical answer; where they are folders on one domain, it is the code route. For a site with per-page control already, putting the script only where you want it is cleaner.
Where should it appear?
Where somebody is likely to have a question: support pages, checkout, order confirmation, anything technical. Not on your careers page, and arguably not on your home page.
A widget everywhere competes with the page and gets ignored. A widget where questions arise gets used.
Where not to
Long forms. A widget covering the submit button on a phone costs you more than the conversation is worth, and it is easy to miss when testing on a desktop.
Comments
0 comments
Article is closed for comments.