Install OneChat live-chat using Google Tag Manager
Google Tag Manager
If you are using Google Tag Manager on your website, you can install OneChat from Google Tag Manager’s dashboard by creating a new tag for OneChat. To install the OneChat live-chat widget, please follow the steps below:
1. Access the tag manager console
Login to the Tag manager workspace with your Google account. You will be able to see a workspace similar to the one shown below.
2. Create new tag
Click on "Add a new tag" button from the dashboard. You will be presented with a popup to create a tag. Change the name from "Untitled Tag" to "OneChat" or something that makes sense to you.
Click on tag configuration, select "Custom HTML" tag type from the list as shown below.
Copy the script from the inbox configuration in OneChat to the HTML script textarea as shown below. Select "Support document.write" checkbox.
Click on triggering and select "All pages" from the list.
Click "Save" to save the tag. You will be able to see tag listed under Workspace changes.
Click on Submit to deploy the tag. Provide a version name and deploy the changes by click on "Publish".
You have successfully deployed the OneChat live-chat widget to your website using Google Tag Manager. Refresh your website to see the live chat widget appear on all pages.
Updated on: 06/03/2022