Google tag manager integration

GTM allows you to easily add different kind of services, javascript codes or just custom HTML to your website.

Get my API key
NOTE: You cannot set user first name, last name and email address - until you can pass through the variable inside GTM snippet.

1. Register your GTM account if you did not do that yet.

  1. Create new tag
  2. Choose tag type, and selectCustom HTML
  3. Paste in the JavaScript snippet found on registration page of, or in integrations.

<script data-cfasync="false" type="text/javascript">
  window.civchat = {
      // API key can be found at
    apiKey: 'YOUR_API_KEY',
      // OPTIONAL FIELD - value: simple, expanded, hidden or empty (default)
    state: 'YOUR_API_KEY'
<script data-cfasync="false" type="text/javascript" src="https://<your_app_subdomain>"></script>