Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Apr 10, 2024
1 parent 140010c commit 3f76d9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/posthog-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,8 @@ export class PostHog {
}

if (event_name === '$heatmap') {
const persistenceProps = this.persistence.properties()
properties['distinct_id'] = persistenceProps.distinct_id
properties = _extend({}, infoProperties, properties)
// Early exit for heatmaps, as they don't need any other properties
return properties
Expand Down

0 comments on commit 3f76d9c

Please sign in to comment.