LiveSession and Mixpanel integration

Kamil Drazkiewicz
Kamil Drazkiewicz1 minMay 11, 2022

What is Mixpanel?

Mixpanel is a tool that collects data to help you convert, engage, and retain more users. Connecting it to LiveSession allows you to:

  • Access all user data in one place
  • Use direct links to session replays
  • Gain a deeper understanding of user behaviour

How does it work?

LiveSession adds a new label in Mixpanel. The label is called sessionURL and it contains a link to the session recording. With this link, you can access the session straight from the Mixpanel dashboard.

How can I install this integration?

To install integration, add the code below before your </body> closing tag:

__ls("getSessionURL", function (url, isNewSession) {
    mixpanel.track("SessionURL", { sessionURL: url });

To make this integration works you need to have both Mixpanel and LiveSession installed on your website. If you haven’t installed our tracking code yet check this article.

Related articles

    Start understanding
    your users today

    Free 14-day trial

    No credit card required

    Easy setup