ZL
About Articles Contact
Published on Mar 7, 2024
Filed under:
#tools,
#analytics,
#posthog,
#facebook

Analytics and Ads

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.

Previous What developers should be learning Next Conditional Slot Forwarding is not a thing in Svelte 4

Join My Newsletter

I share what I’m learning on this newsletter: code, building businesses, and living well.

Sometimes I write about technical deep-dives, product updates, musings on how I live, and sometimes my struggles and how I’m breaking through.

Regardless of the type of content, I do my best to send you at least one insightful piece every week.

If you’re into making things and growing as a person, you’ll probably feel at home here.

“

Zell is the rare sort of developer who both knows his stuff and can explain even the most technical jargon in approachable — and even fun — ways!

I’ve taken his courses and always look forward to his writing because I know I’ll walk away with something that makes me a better front-ender.

Geoff Graham
Geoff Graham — Chief Editor @ CSS Tricks
The Footer

General

Home About Contact Testimonials Tools I Use

Projects

Magical Dev School Splendid Labz

Socials

Youtube Instagram Tiktok Github Bluesky X

Follow Along

Email RSS
© 2013 - 2026 Zell Liew / All rights reserved / Terms