Skip to main content
Heap integration
Simon avatar
Written by Simon
Updated over 10 months ago

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:

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

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.

Did this answer your question?