Skip to content
  • Home
  • Developers
  • API
  • Releases
  • Community
  • University
  • Status
  • Home
  • Developers
  • API
  • Releases
  • Community
  • University
  • Status
Home Data Management Data Management FAQs Why does the user ID change or not appear in my live data feed?
Session Replay Getting Started Administration Data Management Definitions Charts Analysis Examples Heap Plays Integrations Heap Connect Data Privacy

Table of Contents

Was this article helpful?

Yes No

Thank you for your feedback!

Why does the user ID change or not appear in my live data feed?

When a user visits your site, a user ID in Heap is automatically generated and stored within a cookie in the user’s browser. This user ID is specific to the device and browser that was used to visit your site. It can change when cookies are cleared, expired, or if your site is accessed from a different browser or device.

In comparison, an identity is used to combine the actions of one user across multiple sessions and devices. When a user is identified, all of their data (and their multiple user IDs) are consolidated under a single identity. At this point, the user is also assigned a new user ID within Heap, which is a hash of their identity.

Heap’s live data feed provides a real-time view of events as they occur. This view often displays events before they have been fully registered and had the associated identities applied. Thus, there may be times when the user ID is missing, or it may show the user’s current user ID from the current cookie in their browser.

If you’re trying to see/filter for your activity for purposes of event validation, you can find your user ID by typing heap.userId into the Chrome Developer Console. 

Once you have your user ID, you can filter for it within Live View. Alternatively, you can filter for your external IP address, or select the Show only my events toggle on the top of the page.

If you’re trying to find a specific user’s activity and happen to know their IP address, you can also watch a live stream of that user’s activity by filtering for their IP address.

Was this article helpful?

Yes No

Thank you for your feedback!

Last updated January 13, 2023.

identitylive data feedlive viewSE docuser ID
  • Blog
  • Partners
  • Legal
  • Security
  • Terms
  • About
  • Careers
  • Privacy
  • Contact Us

© 2023 Heap, Inc.