PostHog / PostHog/posthog-elixir

Add server-side group_identify helper

Open
#143 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Elixir
Stars
65
Forks
30
Avg merge
1d 16h
Merged PRs (30d)
16

Description

Summary

Add a public server-side group identify helper.

Why

sdk-specs marks group-identify as applicable to both client and server SDKs. Server SDKs commonly expose this directly to create/update group profiles.

Current status

No public group identify API is present in public_api.snapshot.

Suggested scope

  • Add an idiomatic Elixir API for $groupidentify.
  • Accept group type, group key, and optional group properties.
  • Emit $group_type, $group_key, and $group_set/properties according to backend SDK behavior.
  • Support an optional distinct ID or synthesize one from group type/key if omitted.
  • Route through normal capture/batching and future before_send hook.
  • Add tests and docs.

References

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with public_api.snapshot and the referenced sdk-specs group-identify specification, then trace the normal capture and batching entry points. Done means a public server-side helper emits the specified group fields, handles the optional distinct ID and properties, routes through capture/batching, and includes tests and documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
analytics, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.