---
updatedAt: 2025-01-30T22:59:37.000Z
agentTools:
  projectIndex: https://docs.logrocket.com/llms.txt
---

# Heap

Integrating LogRocket with [Heap](https://heapanalytics.com)

Add a LogRocket session URL to a Heap user profile:

```javascript
LogRocket.getSessionURL(function (sessionURL) {
  heap.track('LogRocket', { sessionURL: sessionURL });
});
```