Closed liyiy closed 2 years ago
Also I don't understand why this is an invalid response if it's exactly the same? 👀
properties.$group_set is different on the two responses.
for example message_id and context don't seem to exist in the identify calls here thinking so I wasn't sure
Those are posthog-python specific values it seems.
Please update the PR description to include how:
I'll be using these examples for documentation but it's good practice to include information like this in the PR description.
This change does not work, created a test script based on the PR description.
⟩ go run test-script.go 09:55:31
# command-line-arguments
./test-script.go:21:17: cannot refer to unexported name posthog.groupIdentify
./test-script.go:26:17: cannot refer to unexported name posthog.groupIdentify
Taking over and seeing how I can get this functional. :)
Edit: The issue was with the PR description - the example was wrong. Code itself does work.
Add support for group analytics
To add/identify a group:
To capture with a group: