Piotr Kulpinski @kulpinski.dev Β· Dec 17

I add automatic discounts to all my apps. It's way easier to share a pre-populated link than ask people to manually type in a code. Here's how I built it πŸ‘‡πŸ»

12 likes 2 replies

?

Replies

NutriClarity Β· Dec 18

It’s crazy how much mental friction that one little empty input field adds during checkout.

Piotr Kulpinski Β· Dec 17

1️⃣ First, I capture the referrer or URL parameter when someone clicks the discount link and save it to a cookie. The cookie persists for a few days across all their sessions and page views.