Skip to content

Track ad clicks in PostHog#715

Merged
jahooma merged 1 commit into
mainfrom
jahooma/posthog-ad-clicks
May 21, 2026
Merged

Track ad clicks in PostHog#715
jahooma merged 1 commit into
mainfrom
jahooma/posthog-ad-clicks

Conversation

@jahooma
Copy link
Copy Markdown
Contributor

@jahooma jahooma commented May 21, 2026

Summary

  • Adds an authenticated ad-click endpoint that verifies the served ad belongs to the user, emits ads.clicked to PostHog, and records clicked_at.
  • Wires chat and waiting-room ad banners to record clicks without blocking provider click-through URLs.

Validation

  • bun run --cwd cli typecheck
  • bun run --cwd web typecheck
  • bun run --cwd common typecheck
  • bun test cli/src/components/__tests__/choice-ad-banner.test.tsx

@jahooma jahooma merged commit 025ad6c into main May 21, 2026
35 checks passed
@jahooma jahooma deleted the jahooma/posthog-ad-clicks branch May 21, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant