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 !
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).
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 event: “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.
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.
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.
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.
Do you have any questions, suggestion of additional events to measure or want to share your data from Google Analytics? Let us know !