Skip to content
English
  • There are no suggestions because the search field is empty.

How to integrate your Webchat into Google Tag Manager

Learn how to integrate your Webchat into Google Tag Manager.

If you want to integrate your Superchat webchat into your Google Tag Manager, you need to adjust the script as follows:

  1. Create your webchat script

  2. Copy the applicationKey

  3. Insert the applicationKey into the template (below)

  4. Integrate into your Google Tag Manager


1. Create your webchat script

👉 Here


 

2. Copy the applicationKey from your webchat script

<script src='https://widget.superchat.de/snippet.js?applicationKey=AAAAAAAAAAAAAAAAAAA' referrerpolicy='no-referrer-when-downgrade'></script>

 

👉 Here, you need to copy the applicationKey (e.g., AAAAAAAAAAAAAAAAAA)


 

3. Insert it into the Google Tag Manager template:

<script>(function() {var script = document.createElement("script");script.type = "text/javascript";script.src = "https://widget.superchat.de/snippet.js?applicationKey=XXXXXXXXXXXXXXXXX";script.setAttribute("referrerpolicy","no-referrer-when-downgrade");document.body.appendChild(script);})();</script>

 

👉 Here, you need to replace XXXXXXXXXXXXXXXXX with your applicationKey


 

4. Add the script to your Google Tag Manager

👉 https://tagmanager.google.com/?hl=en"