ViaDesk - Install site chat with Google Tag Manager

This article explains how to install the ViaDesk live chat widget on your website using Google Tag Manager (GTM), without pasting the code manually on each page.

Requirement: You already have the Website type inbox created in ViaDesk and the code snippet available under Settings → Inboxes → Configuration (or in the final step of the creation wizard).

Before you begin

  • Access to your Google Tag Manager account.
  • The GTM container already installed on your site.
  • The ViaDesk script copied from your inbox (includes desk.viafacil.com and your websiteToken).

Step 1 — Open Tag Manager

  1. Log in to your Google Tag Manager workspace.
  2. Select your site's container.
  3. Click on Add a new tag.

Step 2 — Create the Custom HTML tag

  1. Rename the tag (e.g. ViaDesk Chat or Website Chat).
  2. Under Tag Configuration, choose the Custom HTML type.
  3. Paste the complete script you copied from ViaDesk into the text area.
  4. Check the Support document.write box.

Important: Paste the code exactly as ViaDesk shows it. Do not change the https://desk.viafacil.com URL or the inbox token.

Step 3 — Triggering and publishing

  1. Under Triggering, choose All Pages (or only the pages where you want to show the chat).
  2. Click Save.
  3. In the workspace, click Submit.
  4. Assign a version name (e.g. "Add ViaDesk chat") and publish with Publish.

Step 4 — Verify

  1. Open your site in an incognito window (or force a reload with Ctrl+F5).
  2. Confirm that the chat bubble appears.
  3. Send a test message and verify that it arrives in the inbox at https://desk.viafacil.com/.

Frequently asked questions

  • The widget doesn't appear: confirm that the GTM version is published (not just saved) and that the container is loading on the site.
  • It appears in the GTM preview but not in production: publish the container changes.
  • The chat doesn't reach ViaDesk: check that the script belongs to your inbox and that the token is not incomplete when pasting.
  • I only want the chat on certain URLs: change the trigger from "All Pages" to a specific page trigger.
  • Blockers or cookie consent: if the site waits for consent for marketing scripts, make sure the ViaDesk tag fires when appropriate (or as essential, according to your policy).

If you cannot publish the tag, the widget does not load, or you need help locating the code in ViaDesk, open a case from the client portal, consult via the online chat with Aura on the site, or write to us on WhatsApp at +54 9 11 7826-8881.

  • whatsapp multiagente, google tag manager viadesk
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

ViaDesk - Channels and Inboxes

This article explains how to create a website chat inbox in ViaDesk: configuring the widget,...

ViaDesk - Website Live Chat Settings

This article explains the advanced settings of a website live chat inbox in ViaDesk, once the...

ViaDesk - Dark mode in the site chat widget

This article explains how to configure the dark mode of the ViaDesk live chat widget so that it...

ViaDesk - Contact Identity and Identity Validation

This article explains how ViaDesk identifies a customer in conversations and the difference...

ViaDesk - Link WhatsApp (multi-agent inbox)

This article explains how to create a WhatsApp inbox in ViaDesk so that your team can service the...