-
Notifications
You must be signed in to change notification settings - Fork 611
Add docs for posthog-js property overrides #5827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Some minor fixes and a question.
contents/docs/libraries/js/index.mdx
Outdated
|
||
```js | ||
// set properties for a group | ||
posthog.groupPropertiesForFlags({'organization': {'property1': 'value', property2: 'value2'}}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have to do anything with the name of the group? Or just the type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the type! The group name itself is handled via posthog.group()
. I'll add this too
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Changes
on the tin^ companion to PostHog/posthog-js#613
Please describe.
Add screenshots or screen recordings for visual / UI-focused changes.
Checklist
vercel.json