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:
<script>
if(ga && __ls){
    __ls("getSessionURL", function(url, isNew){
        if(isNew){
            ga('send', {
                hitType: 'event',
                eventCategory: 'LiveSession recording',
                eventAction: url,
                nonInteraction: 1
            })
        }
    })
}
</script>

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

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

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

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

Test all LiveSession features for 14 days, no credit card required.

checkmarkFree 14-day trial

checkmarkNo credit card required

checkmarkEasy setup