Google Tag Manager integration

GTM allows you to keep in organized way all of your tags, snippets and Javascript code.

Google Tag Manager integration

How to set it up?

In order to add User.com to your GTM project:
  • Go to your Google Tag Manager Project, and there go to Tags.
  • Click on create a new Tag.
  • Click Tag Configuration, there you will need to choose Custom HTML tag.
  • Paste the tracking code of your marketing automation system.
  • Paste in the folliowing JavaScript snippet:
  • <script data-cfasync="false" type="text/javascript">
      window.civchat = {
          // You can find your API key and app domain by going to your app and selecting Setup & Integrations in App Settings
        apiKey: 'YOUR_API_KEY'
      };
    </script>
    // You can find your API key and app domain by going to your app and selecting Setup & Integrations
    <script data-cfasync="false" type="text/javascript" src="https://<your_app_subdomain>.user.com/widget.js"></script>
              
  • In the window, Triggering, choose All Pages are the trigger. Magento dashboard
  • In tag firing options, select Once per page.

Read more about implementing Google Tag Manager on

https://docs.user.com/implementing-userengage-with-google-tag-manager

Aprender más

Implementing User.com with GTM

Install User.com on your website without coding

Aprender más
How to track scroll depth via GTM

Create an event after scrolling ⅔ of your page to trigger an action

Aprender más
Inviting other people to GTM

Enabling other people to edit your GTM account

Aprender más