Skip to main content
Drift integration
Patryk avatar
Written by Patryk
Updated over 11 months ago

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:

<script> if(drift && __ls){ __ls("getSessionURL", function(url, isNew){ if(isNew){ drift.track('Session replay', { sessionURL: url }); drift.api.setUserAttributes({ sessionURL: url, })} } }) } </script>

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

Did this answer your question?