google tag manager

Integración Google Tag Manager

GTM te permite añadir fácilmente diferentes tipos de servicios, códigos JavaScript o simplemente HTML personalizado a tu sitio web.

NOTA: No puedes configurar el nombre, apellido y dirección de correo electrónico del usuario, hasta que puedas pasar por la variable dentro del fragmento de GTM.

In order to add User.com to your GTM project:

  1. Go to your Google Tag Manager project, and there go to Tags.
  2. Click on create a new Tag.
  3. Click Tag Configuration, there you will need to choose Custom HTML tag.
  4. Paste the tracking code of your marketing automation system.
  5. Paste in the following 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>
          
  1. In the window, Triggering, choose All Pages as the trigger
  2. 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/