Sarbacane Chat can send events about how the chatbox is used to Google Analytics: opening, messages, email provided, etc. You set up the connection in Settings › Marketplace. The form expects an ID from the former version of Google Analytics (Universal Analytics), which Google shut down in 2023: if the events don't arrive, our experts will help you.
It sends an event to Google Analytics when:
the chatbox loads, then when it is opened or closed;
the contact is identified;
a contact sends or receives a message;
a contact provides their email address;
a contact receives a qualification question or a survey, and answers it;
an automated communication is displayed (topbar, tooltip, etc.);
a contact books a meeting from the chatbox.
Note: events are only sent if the chatbox is installed on your website.
A Sarbacane Chat licence assigned to your user, with access to Settings.
A Google Analytics account and its tracking ID.
The Google Analytics tracking code (gtag.js) installed on the pages where the chatbox is deployed.
At the bottom of the left menu, click Settings, then Marketplace.
At the top right, in Search for an app, type "Google Analytics", then click the Google Analytics card.
On the right of the window, click Configure this app.
Important: Google shut down Universal Analytics in July 2023. The field expects an ID from that version, in the UA-… format. If you only have a Google Analytics 4 ID (in the G-… format), contact our Sarbacane Chat experts before going further.
In Tracker ID, paste your Google Analytics tracking ID.
At the bottom, click Integrate Google Analytics.
When a visitor uses the chatbox on your website, the events appear in Google Analytics.
Check in this order:
The chatbox is installed on the page.
The Google Analytics gtag.js code is present on that same page.
The ID you pasted is the right one.
If everything is in place, the ID may not be accepted, since Google has shut down Universal Analytics. Contact our Sarbacane Chat experts at [email protected].