Google Analytics

Connection with Google Analytics

Do not have Smartsupp account yet? Sign up now for free in just 2 minutes!

krok 1 Measure impact
You can measure the impact Smartsupp has on your conversion rate and visitor behavior in Google Analytics. Unless you use Google Tag Manager, Smartsupp starts sending data to your Google Analytics account the moment you insert Smartsupp code on your website.

Following works only in paid packages STANDARD and PRO.
krok 2 Google Tag Manager  

In case you use Google Tag Manager insert following code in Smartsupp code on your website …

_smartsupp.gaKey = 'YOUR_GOOGLE_ANALYTICS_CODE';

… enter your gaKey configuration after the line with _smartsupp.key

<!-- Smartsupp Live Chat script -->
<script type="text/javascript">
var _smartsupp = _smartsupp || {};
_smartsupp.key = 'YOUR_SMARTSUPP_CODE';

_smartsupp.gaKey = 'UA-XXXXXXXX-X';

window.smartsupp||(function(d) {
 var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];
 s=d.getElementsByTagName('script')[0];c=d.createElement('script');
 c.type='text/javascript';c.charset='utf-8';c.async=true;
 c.src='//www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s);
})(document);
</script>

Are you a developer? Do you need more details on Google Analytics integration? Visit our API !

krok 3 Event actions  

Smartsupp sends data to Google Analytics as events. In total we send 6 events actions which help you monitor behavior of chatting users. To see all the event actions Smartsupp sends to Google Analytics, go to the Event section (unlike in the picture, you will see the event actions in English).

google-analytics-events_en

Event actions (description)

Trigger sent
Event is sent every time visitor gets auto message (trigger). We do not take into account if visitor replies to message or not. Number shows how many people received auto message. If you want to know how many people replied to auto message (trigger) have a look at evetnt: “Visitor replied to trigger”
Agent sent a message
Event happens every time agent sends a message. It is possible to track agent activity. Agent can proactively start chats with visitors but user does not have to reply necessarily.
Visitor sent a message
Event happens every time visitor sends message via chat during conversation. Every sent message is counted. In one conversation can be sent multiple messages.
Visitor replied to trigger
Event happens every time visitor gets auto message and replies to it. This way you can track auto messages interesting to visitors. You can test which messages are most replied to. Thanks to previouse value you know how many times trigger was sent and how many visitors replied to it. The more visitors reply to trigger the better it is than other. This way you can measure conversion on your website.
Conversation
This event happens only once during conversation. Only when both agent and visitor write message. This way it is possible to measure how many conversations happened.
Close chat
This metric is obsolete and we plan to discontinue it. Please do not pay attention it.
krok 4 Create new segment

Now all you need to do is create a new segment to filter out data of chatting visitors. You can create a segment for any kind of Smartsupp event action. The most useful metric is the ‘Conversation’ event action.

google-analytics-segment-setup_en
krok 4 Compare behaviour

When you have the segment created you can see and compare behaviour of chatting visitors vs all visitors. In the example you see there were 71 chatting visitors vs 3796 total visitors. With that you can calculate 1.9 % of visitors is engaging in a conversation with you and more info.

google-analytics-data-user-behavior_en
krok 5 Conversions

The most important thing you can measure is impact of Smartsupp chat on conversions (goals). You are able to see conversion rate of chatting visitors vs your overall conversion rate.

google-analytics-data-conversions_en
Well done! All is up and running.

Do you have any questions, suggestion of additional events to measure or want to share your data from Google Analytics? Let us know !