LiveSession and Google Analytics integration

What is Google Analytics?

Google Analytics tracks visitors on website. It lets you understand source of traffic on your website, conversion rates, and many more.

How does this integration work?

This integration sends links to session replays from LiveSession to your Google Analytics tracker. As a result, you can open recordings of a specific user directly from Analytics dashboard.

Every time a new session will start, our code will send an event to GA tracker with a link to session replay.

How can I install this integration?

To install integration, add the code below before your </body> closing tag:
if(ga && __ls){
__ls("getSessionURL", function(url, isNew){
        ga('send', {
            hitType: 'event',
            eventCategory: 'LiveSession recording',
            eventAction: url,
            nonInteraction: 1

Now you can go to 'Audience > User Explorer' section and open user profile.

Google Analytics intergration

Find event on actions list and expand details. You can also click expand all to make browsing data easier.

Google Analytics intergration

Find 'LiveSession recording' event on actions list and copy-paste link to your web browser.

Google Analytics intergration

(Optional) Segment users with LiveSession session replay in Google Analytics

You can define "LiveSession" segment in Google Analytics to search users with our event. It can make browsing session replays in GA easier. It's possible to add your own conditions to our segment and search for specific user groups.

Didn’t find an answer?

Try using the search engine or just contact us

hello@livesession.ioChat with us

Start using LiveSession for free now.

Free 14-day trial

No credit card required

Easy setup