PostHog / PostHog/posthog-elixir

Provide telemetry integrations for Phoenix and Phoenix LiveView

Open
#29 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Phoenix and Phoenix LiveView ship with telemetry events that could be use to capture page_view and other types of events.

It would be great if Posthog had a simple integration where auser could easily generate page_view events server side. In order to provide the distinct user ID and other information, the user would need to provide some MFA callback that allows them to specify this data.

Additionally, this system should offload events to some process, which could then send events to Posthog in batches, outside of the critical path (See #31 for additional conversation here)

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 the Phoenix and Phoenix LiveView telemetry documentation linked in the issue, then read the related discussion in issue #31 about offloading events. Done means the integration can capture server-side page_view and other telemetry events, accept user data through an MFA callback, and send events in batches outside the critical path.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
analytics, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.