Options for managing the Live Assist tag on your web site
To enable chat and cobrowse the Live Assist tag must be present on all pages of your website which you require to be chat and cobrowse enabled.
See our article on How to Enable Chat on your site to learn where to get the Live Assist tag from.
Once you the tag you have a number of options for managing the tag on your web site. This article presents a number of those options:
- Manually Add the Tag to each page
- Add the tag to the master template for your website
- Use a Tag Manager
Manually Adding the Tag to Each Page
As in our article here you can manually add the Live Assist tag to each individual page of your website. While this is possible it is normally limited to smaller websites that do not have a Content Management System in place.
Adding the Tag to a Master Template
When Using a Content management System you may be able to add the tag to the Master Template file for your website. This will automatically load the tag into any page built off the template.
- Templating and Web Applications/Frameworks
Note that if you are using a framework (e.g. PHP frameworks or custom) and/or a templating mechanism e.g. Twig, Blade, Smarty, custom etc. then tagging a 'master' template will work typically only if the relevant section is included automatically on each page.
For a Single Page Application, tagging once will likely take effect on different pages once they are loaded in. Again, however, if a framework (e.g. JS frameworks or custom) is involved, then this will require testing.
Please note that this section will be pending updates and subject to change due to the nature of updates and modifications to third-party web applications, tools and services - particularly their involvement with Live Assist.
Using a Tag manager
The final option is to use a Tag Manager such as Google Tag Manager to insert and maintain tags for your website. More information is available here:
The important point, regardless of which route you choose, is that the tag must be present on any page of your website which you require chat and/or cobrowse to be enabled.