integration-astro-hybrid
OfficialAnalytics for Astro Hybrid: static + SSR.
Software Engineering#analytics#frontend-backend#astro#server-side#posthog#web-analytics#hybrid-rendering
AuthorPostHog
Version1.0.0
Installs0
System Documentation
What problem does it solve?
PostHog analytics integration for Astro Hybrid apps requires coordinating client-side tracking with selective server-side event capture across static and SSR pages.
Core Features & Use Cases
- Hybrid rendering guidelines: most pages prerendered, some SSR-enabled for API routes, with unified PostHog identity.
- Server-side and client-side event tracking: captures events from both environments and ties sessions via headers.
- Error tracking and identify support across frontend and backend.
Quick Start
Follow the hybrid workflow to enable static rendering by default and selectively enable SSR on pages, then implement client and server PostHog tracking following the example.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: integration-astro-hybrid Download link: https://github.com/PostHog/skills/archive/main.zip#integration-astro-hybrid Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.