LiveSession and Heap integration

Kamil Drazkiewicz
Kamil Drazkiewicz1 minMay 11, 2022

What is Heap?

Heap is a product analytics tool to help you understand user behavior. Connecting it with LiveSession comes with a range of advantages:

  • Access session recordings directly from Heap event properties
  • Learn even more about your users
  • Get the most from both Heap and LiveSession

How does it work?

With this integration, every new event in Heap comes with an extra label called sessionURL. In the event properties, you’ll find a direct link to the session recording.

How can I install this integration?

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

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

For this integration to work, you need to have both Heap 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