LiveSession and Segment integration

What is Segment?

Segment is an analytics tool that aggregate all of the data about your customers in one place. Use this solution to minimize dependencies on your website and make tracking easier. We've created a method that lets you send data from LiveSession to Segment.

How does this integration work?

This integration lets you add links to session replays from LiveSession to your Segment analytics as an event. As the result, you can transfer this data to other analytics tools and store it with rest of information about your users.

Every time a new session will start, our code will send an event to Segment 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(analytics && __ls){
__ls("getSessionURL", function(url, isNew){
        analytics.track('LiveSession Recording', {
            url: url

To see if you installed LiveSession integrations correctly on your website open your Segment debugger and find LiveSession Recording. It should contain link to recorded session.

Segment integration

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