Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Dec 12, 2024
1 parent 7a2f555 commit 5e1facc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/posthog-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,10 @@ export class PostHog {
properties['token'] = this.config.token

if (this.config.__preview_experimental_cookieless_mode) {
properties['$cookieless'] = true
// Set a flag to tell the plugin server to use cookieless server hash mode
// on naming: $cklsh = cookieless server hash
// I didn't call it $cookieless, as it's possible to use cookies in this mode (after consent is given)
properties['$cklsh'] = true
}

if (event_name === '$snapshot') {
Expand Down

0 comments on commit 5e1facc

Please sign in to comment.