Mirrors the proven pattern from gendersloty: rewrites /ingest/* to
the PostHog host so requests go through the same origin (no CORS,
no ad-blocker issues). Uses PostHogProvider and usePostHog from
posthog-js/react official React integration.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
posthog.capture() queues events automatically before init completes,
so checking __loaded blocked the first pageview from being sent.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tracks pageviews, hero/CTA clicks, product teaser clicks, app card
and detail views, newsletter signups, nav interactions, and footer
link clicks with structured properties for PostHog dashboards.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>