Analytics and Ads

Published:

True to my word, I spent the last two weeks diving into analytics and advertisements — mostly the tracking part of it.

I decided to use the following:

  1. Use Posthog for analytics
  2. Use Facebook for advertisements

I’m using Posthog because it gives you 1 million events for free — and I can extend it from basic analytics to include other cool features like feature flags and A/B testing in the future, which paves the way for things I wanted to try.

And I decided on Facebook as an advertisement channel because I’ve heard some good things about it, so it’s time to try it out for myself.

My setup is pretty simple. I’m only tracking 4 events:

  1. Pageview
  2. Signup
  3. Begin Checkout
  4. Purchase

This is good enough to start.

Want to become a better Frontend Developer?

Don’t worry about where to start. I’ll send you a library of articles frontend developers have found useful!

  • 60+ CSS articles
  • 90+ JavaScript articles

I’ll also send you one article every week to help you improve your FED skills crazy fast!