Answer the question
In order to leave comments, you need to log in
How to set up a bitrix24 chat target in Yandex.Metrica via GTM?
We really need your help!
I've been trying for two days now, nothing happens.
We set up tracking the goal of the Bitrix24 chat via GTM (to Metrica) following this instruction: xn--80ajr5b.com/2018/06/metrika-bitrix24-onlinechat/, but the goal is still not collected.
Here are the screenshots:
What went wrong and can be corrected?
Answer the question
In order to leave comments, you need to log in
Have you found out at what stage you have a problem?
Does the event arrive in the metric? Does the tag work in GTM? And the trigger?
Roman , the event does not arrive in the metric. I don't know how to understand if the trigger and tag work in GTM.
It may be useful to someone:
1) In GTM, create a tag that will send an event that a chat has been started, with the code
<script>
window.addEventListener('onBitrixLiveChat', function(event)
{
var widget = event.detail.widget;
widget.subscribe({
type: BX.LiveChatWidget.SubscriptionType.sessionStart,
callback: function(data) {
dataLayer.push({"event": "b24_chat_start"});
}
});
});
</script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question