LiveSession and Drift integration

Kamil Drazkiewicz
Kamil Drazkiewicz1 minMay 11, 2022

What is Drift?

Drift is a live chat web application for support, sales and marketing teams. You can use it to onboard your users, help them with issues, or even upsell your products. It lets you track events, so you can monitor each contact in your web application. We’ve created the integration that sends information from LiveSession to Drift. As a result, you’ll have all the data about your users in one place.

How does this integration work?

This integration lets you add links to session replays from LiveSession to your Drift account. Thanks to this solution, you can open recordings of a specific user directly from Drift contact profile, and the Conversation attributes sidebar.

Every time a new session starts, our code will send an event to Drift 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(drift && __ls){
__ls("getSessionURL", function(url, isNew){
      drift.track('Session replay', {
        sessionURL: url
        sessionURL: url,        

To display session URL attribute in Conversation details, you have to create a Drift custom attribute called sessionURL(type Text). After that, the sessionURL will be visible in sidebar:

Drift Conversation view

Related articles

    Start understanding
    your users today

    Free 14-day trial

    No credit card required

    Easy setup