Track newsletter opens.
Own your data.
A lightweight tracking pixel that forwards email opens to PostHog. No vendor lock-in. Deploy in 60 seconds.
Why use Newsletter Pixel?
Break free from platform lock-in and own your subscriber engagement data
Invisible 1ร1 Pixel
A transparent PNG that's completely invisible in emails. Subscribers never know it's there.
PostHog Integration
Events flow directly to PostHog via webhooks. Combine email data with your product analytics.
Lightning Fast
Returns the pixel instantly, then sends the webhook async. Zero impact on email load times.
No Lock-in
Export data to any CRM, ad platform, or analytics tool. Your engagement data, your rules.
Platform Agnostic
Works with Beehiiv, Mailchimp, ConvertKit, Substack, and any platform that supports HTML.
Zero Maintenance
Deploy once on Vercel's free tier. Scales automatically with your subscriber base.
Simple Integration
Add one line of HTML to your email template
<!-- Add this anywhere in your email HTML --> <img src="https://your-app.vercel.app/api/pixel?t={{tracking_token}}" width="1" height="1" alt="" style="display:block;border:0;opacity:0;" />
Get Started in 3 Steps
From zero to tracking in under 5 minutes
Deploy to Vercel
Click the deploy button or clone the repo. Set POSTHOG_WEBHOOK_URL and a strong TRACKING_TOKEN_SECRET in Vercel.
Configure PostHog Webhook
Create a webhook in PostHog and map the incoming event properties to your desired schema.
Add to Your Emails
Generate signed tracking tokens upstream, store them in a provider custom field, and insert the token merge tag into your template.