https://github.com/posthog/session-tracker-plugin
Advanced session tracking for PostHog
https://github.com/posthog/session-tracker-plugin
Last synced: 9 months ago
JSON representation
Advanced session tracking for PostHog
- Host: GitHub
- URL: https://github.com/posthog/session-tracker-plugin
- Owner: PostHog
- License: mit
- Created: 2021-04-16T14:28:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-23T07:25:11.000Z (over 4 years ago)
- Last Synced: 2025-04-02T22:43:29.215Z (9 months ago)
- Language: TypeScript
- Size: 152 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Session Tracker Plugin
This plugin:
- Emits `session_started` events
- Adds a property `is_first_event_in_session` to the first event in a given session
- Emits `session_ended` events with a property `session_duration`
## Important Note For Self-Hosted Users
This plugin leverages database storage to work. We estimate that it will use about 3MB of storage for every 10000 users tracked.