Google Analytics connection

Don't have Smartsupp account yet? Sign up for free in just 2 minutes.

step 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.
step 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 !

step 3 Event actions  

In Google Analytics, event tracking is hierarchically made up of 4 elements: Category, Action, Label, and Value. For our needs, we use only the first 3.

Smartsupp sends data to Google Analytics as events. In total we send 8 events actions which help you monitor the behavior of chatting users. You can find all these event actions in event category = Smartsupp.

google-analytics-events_en

With new Smartsupp version (June 2020) we updated and added more GA Events. They are all being sent in English only.

Event actions and labels (description)

Triggered message sent
Event is sent every time visitor gets auto message (trigger). 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 event: “Trigger started conversation”
– Event label = title of the triggered message in your dashboard

Trigger message viewed
When visitor reacts (opens chatbox) on triggered message.
– Event label = title of the triggered message in your dashboard

Trigger started conversation
When visitor responds to triggered message.
– Event label = title of the triggered message in your dashboard

Visitor started conversation
When visitor initiates a conversation himself.
– There is no Event label assigned

Conversation served
When a message is exchanged between visitor and an agent (or chatbot).
– Event label = agent’s name

Auto form filled
When visitor fills the authorization form.
– There is no Event label assigned

Offline message sent
When visitor sends an offline message.
– There is no Event label assigned

Feedback sent
When visitor fills and sends feedback form.
– Event label = rating level (1, 3, 5 = bad, normal, good)
step 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

step 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

step 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 !