Creating a Tag
Let's create a tag to enable a chat widget (say Tawk.to) on your website.
Figure 2: Creating Tags
Enter the details.
Figure 3: Tag Details
- Name - Enter the name for the tag, e.g. Chat Widget JS
- Choose tag position - Choose where the tag will be positioned, i.e. head tag, or top in the body tag or bottom in the body tag.
Your chat widget provider might have shared a JS code to add to the source code of your website.
Figure 4: JS Code Provided by Tawk (example)
Figure 5: Pasting JS Code
Tick Allow on all pages to display the widget on all the pages of your website. Or you may selectively choose the pages (where you want the widget to appear) using the Add tag on pages dropdown .
Once the details are filled, click Save.
Go to your website, you can see the chat widget is visible at the bottom right corner of the screen.
When the customers click the chat icon, a window pops up that will allow them to initiate the chat.
(For advanced users) You can inspect the page to check whether the code is successfully applied.