Skip to content

feat(builder): add analytics category and posthog integration - #685

Closed
antoniobfm wants to merge 2 commits into
TanStack:mainfrom
antoniobfm:feature/analytics-category
Closed

antoniobfm wants to merge 2 commits into
TanStack:mainfrom
antoniobfm:feature/analytics-category

Conversation

@antoniobfm

@antoniobfm antoniobfm commented Jan 28, 2026 •

Copy link
Copy Markdown

Summary

Add UI support for the analytics category and PostHog suggestion keywords.

Changes

  • Add analytics category to FeaturePicker with label, description, and color
  • Add PostHog keywords to suggest.ts for AI-powered suggestions

Test plan

  • Tested locally with CLI integration: PostHog appears in Analytics category, suggestion keywords work
Screenshot 2026-01-28 at 02 16 51

Dependencies

@netlify

netlify Bot commented Jan 28, 2026 •

Copy link
Copy Markdown

👷 Deploy request for tanstack pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 7dacc8d

@antoniobfm
antoniobfm force-pushed the feature/analytics-category branch from 38c35ba to fff6dfd Compare February 5, 2026 15:05
@tannerlinsley

Copy link
Copy Markdown
Member

Thanks for putting this together, Antônio! PostHog is supported by the current starter, and the builder UI this patch targets has since been replaced. Closing the old implementation while keeping the additional keyword ideas for the current generator.

AI review notes:
The two original file paths no longer exist. The current worker loads the PostHog add-on, and local calls to the actual generator selected it for both explicit PostHog and analytics requests. The referenced CLI change, TanStack/cli#317, is merged.
A session-replay-only request did not select PostHog, so this is not a claim that all the old suggestion keywords are covered. The session replay and feature flags ideas are retained with credit to this PR. Generic tracking needs care because it can mean something unrelated to product analytics. No generated application or live analytics ingestion was tested.

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.

2 participants