---
title: 'Fixing the sign-up problem on my site using PostHog Product analytics'
date: 2024-08-13
excerpt: 'In part two of my product analytics journey, I tackle a subscriber drop, dive into PostHog data, fix key errors, and switch from ConvertKit to the developer-friendly Resend.'
tags: [typescript, nextjs, founder, posthog, video]
canonical: https://mikebifulco.com/posts/fixing-my-conversion-problem
---
# Fixing the sign-up problem on my site using PostHog Product analytics

Watch [Product Analytics for engineers: Debugging a conversion problem on my next.js site using @PostHog](https://youtu.be/4nWcB1a8M1s) on YouTube

Thanks so much to PostHog for sponsoring this video and supporting my work! Give it a whirl over at [https://posthog.com/mikebifulco](https://posthog.com/mikebifulco) and tell 'em I sent you!

## Summary

In part two of my adventure with product analytics, I tackle a significant drop in my newsletter subscribers. Join me as I dive into the data using PostHog, identify and fix critical errors, and ultimately switch from ConvertKit to Resend – a more developer-friendly email platform.

Along the way, I'll show you how I integrated tRPC into my Next.js site for a type-safe API, created hooks for better data management, and set use posthog to chase down the root of the bug.

Whether you're a startup founder or an indie hacker, you'll find valuable insights to improve your product. Plus, transparency is key – this video is sponsored by PostHog, but all opinions are genuinely mine. Let's build something great together!

## Video Timestamps

00:42 ConvertKit Stats

01:06 Subscription Form

02:45 Sponsored by Posthog

03:16 Resend broadcasts

03:36 tRPC

03:54 tRPC Demo

04:43 Subscription form code walkthrough

06:27 useNewsletterStats

07:33 What I'm seeing in posthog

08:37 What's next

09:45 Next PostHog tests

10:11 What do you think I should do next?

10:31 Wrap up

## Links

- Watch part 1 of this series: [Product Analytics for engineers: Debugging a conversion problem on my next.js site using @PostHog](/posts/debugging-a-conversion-problem-on-my-nextjs-site)

## Part of the Fixing my conversion problem with PostHog series

- [Product Analytics for engineers: Debugging a conversion problem on my next.js site](https://mikebifulco.com/posts/debugging-a-conversion-problem-on-my-nextjs-site)
- [Unlocking A/B Testing with PostHog: Improving Newsletter Signups](https://mikebifulco.com/posts/ab-testing-with-posthog-to-fix-conversions)
- [How I found a missing change on my next.js site with PostHog](https://mikebifulco.com/posts/posthog-helped-me-find-a-bug)
- [The results of my PostHog AB Test are in!](https://mikebifulco.com/posts/posthog-ab-test-results-are-in)

Full series: https://mikebifulco.com/series/fixing-my-conversion-problem-with-posthog

## More from mikebifulco.com

- [The results of my PostHog AB Test are in!](https://mikebifulco.com/posts/posthog-ab-test-results-are-in)
- [How I found a missing change on my next.js site with PostHog](https://mikebifulco.com/posts/posthog-helped-me-find-a-bug)
- [Product Analytics for engineers: Debugging a conversion problem on my next.js site](https://mikebifulco.com/posts/debugging-a-conversion-problem-on-my-nextjs-site)

---

Written by Mike Bifulco. Originally published at https://mikebifulco.com/posts/fixing-my-conversion-problem
