Google tag manager integration

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


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>

If you have any issues with this integration - feel free to contact us. We're here for you!

Big Cartel logo
Your API KEY can be found here:
Get my api key

Ready to try UserEngage?

Sign up to start a 14-day free trial.

Start free trial
CTA Men