Add chat button to Google Tag Manager

Google Tag Manager allows you to quickly and easily update:

  • Tags and code snippets on your website, such as those intended for traffic analysis and marketing optimization.
  • Configuration and flag values of mobile apps that you have created.

What is a tag?

A tag is a snippet of JavaScript that sends information to a third party, such as Google. If you don't use a tag management solution such as Google Tag Manager, you need to add these snippets of code directly to files on your website or mobile app. With Google Tag Manager, you no longer need to maintain each of these code snippets in your source files. Instead, you specify the tags that you want to fire, and when you want them to fire, from within the Google Tag Manager user interface.


How to integrate LiveAgent chat button with Google Tag Manager?

1. Add Google Tag Manager Code to your website as instructed by Google.

2. Create your Custom HTML Tag in your Google Tag Manager admin panel

3. Copy a chat button script from your LiveAgent panel and paste it into "HTML field" of the particular Tag and set the Firing Triggers under Triggering to All Pages.

4. Don't forget to PUBLISH your tag in your Google Tag Manager panel. Without publishing your tag, chat button, will not be displayed on the website.