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.

First steps

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

  1. Create new tag
  2. Choose tag type, and select Custom HTML
  3. Paste in the JavaScript snippet found on registration page of UserEngage, or in integrations.
<script data-cfasync="false" type="text/javascript">
window.civchat = {
  // API key can be found at https://app.userengage.com/integrations/
  apiKey: 'YOUR_API_KEY',
  // OPTIONAL FIELD - value: simple, expanded, hidden or empty (default)
  state: 'YOUR_API_KEY'
};
</script>
<script data-cfasync="false" type="text/javascript" src="https://widget.userengage.com/widget.js"></script>