Twig's integration with PostHog is what sets it apart from other code editors. By connecting to your product analytics, twig can help you make development decisions informed by real user behavior.
Most development decisions are made without direct access to user data:
Developers usually have to context-switch to a dashboard, run queries, then return to coding. Twig brings that data directly into your development environment.
When connected to PostHog, twig can:
Twig accesses PostHog through your authenticated session:
The agent may reference analytics data in conversations, but this stays within your twig session.
Instead of guessing about impact:
how many users are affected by errors in the checkout flow this week?
Understand what users actually do:
what percentage of users use the advanced search filters?
Check if your changes had the intended effect:
compare the conversion rate before and after we updated the signup form
See how users navigate your product:
what's the most common path users take after landing on the pricing page?
For setup instructions, see connecting posthog.
For detailed information about PostHog features, visit the PostHog documentation.