Integration with Yandex.metrica

Using the Yandex.Metrica service, you can track the performance of the online chat and your consultants.

To manage accounts on the left, click on “Live Chat”, then select your site. In the column that appears, click “Integration”. In the “Metrics and Analytics” tab, select the “Yandex Metrics” button.

STEP 1
First of all, you need to set up goals in Yandex.Metrica, as described here.

STEP 2
Add a goal with the “Event” condition, come up with a name and an ID for the goal. Save your settings.

Now you need to place the metric code in the live chat event handler on your site. The metric code must be placed under the main online chat code, if there are several such scripts, then they are placed one under the other in turn.

EVENT ASSOCIATED WITH SENDING A MESSAGE TO THE OPERATOR
<script>

Suo.Chat(“setCallback”, “clientSendMessage”, function(data){

yaCounterXXXXXX.reachGoal(“online_chat”);

});

</script>

CHAT OPEN EVENT
<script>

Suo.Chat(“setCallback”, “openSupport”, function(data){

yaCounterXXXXXX.reachGoal(“online_chat”);

});

</script>

Where:

XXXXXX – number of your counter;
online_chat is your target ID.

249

Other articles on this topic

Integration with google analytics

With the help of Google Analytics, you can track the performance of the online chat…