Skip to content

Conversation

@nezaj
Copy link
Contributor

@nezaj nezaj commented Dec 20, 2025

Following up from #2138, this passes along the info from our SDKs and dashboard so we can track events in Posthog.

Here's an overview of the events we'll track

Event Description Sources
auth:complete User completed OAuth login instant-cli, create-instant-app
app:create Permanent app created instant-cli, dashboard, platform-sdk
app:create-ephemeral Temporary app created (anonymous) create-instant-app
app:claim Ephemeral app converted to permanent create-instant-app
app:delete App marked for deletion dashboard, platform-sdk
app:clear App data cleared dashboard
schema:push Schema deployed instant-cli, dashboard, platform-sdk
schema:pull Schema fetched instant-cli
perms:push Permissions deployed instant-cli, dashboard, platform-sdk
perms:pull Permissions fetched instant-cli

For create-instant-app we'll also track the following which can be useful for understanding what tools are users are vibing with

Property Description
template Base template used: next-js-app-dir, vite-vanilla, or expo
aiTool AI tool rules added: cursor, claude, codex, gemini, zed, windsurf, or none
usedAiPrompt Whether --ai flag was used to generate code with Claude Code

Tested events using instant-cli, create-instant-app and the dashboard and saw them all flowing into Posthog. Pretty neat!

@nezaj nezaj mentioned this pull request Dec 20, 2025
@github-actions
Copy link
Contributor

View Vercel preview at instant-www-js-add-posthog-frontend-jsv.vercel.app.

@nezaj nezaj changed the base branch from main to add-post-hog-backend December 20, 2025 01:00
Copy link
Contributor

@stopachka stopachka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niice!

Copy link
Contributor

@stopachka stopachka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niice!

Base automatically changed from add-post-hog-backend to main December 20, 2025 01:18
@nezaj nezaj force-pushed the add-posthog-frontend branch from 4eda65a to 63515b6 Compare December 20, 2025 01:20
@nezaj nezaj force-pushed the add-posthog-frontend branch from 63515b6 to d0cf693 Compare December 20, 2025 01:30
@nezaj nezaj merged commit fb82d58 into main Dec 20, 2025
32 checks passed
@nezaj nezaj deleted the add-posthog-frontend branch December 20, 2025 01:34
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.

3 participants