Skip to content

Commit c3a12ba

Browse files
authored
Merge pull request #7218 from robbie-c/patch-1
Add info about custom sessions IDs for the PostHog destination
2 parents 8ca27d9 + f6895f3 commit c3a12ba

File tree

1 file changed

+3
-0
lines changed
  • src/connections/destinations/catalog/posthog

1 file changed

+3
-0
lines changed

src/connections/destinations/catalog/posthog/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,6 @@ analytics.track('user_signed_up', {
9595
$groups: { company: 'Initech' }
9696
})
9797
```
98+
99+
## Adding custom session IDs
100+
Segment doesn't include a Session ID with events. This means that events don't have session properties and won't work with PostHog web analytics. As an alternative, you can provide your own `$session_id`. For more information on formatting the session ID, see [PostHog's custom session IDs](https://posthog.com/docs/data/sessions#custom-session-ids){:target="_blank"} documentation.

0 commit comments

Comments
 (0)