[verdict][prompt curatoriat][sursă: lnkflow.io][traducere: la coadă]
Pot să vibecodez LnkFlow?
// se construiește într-un weekend, dar rămân goluri reale
A short link that 302s, logs the click, and injects UTMs is genuinely one sitting on Cloudflare Workers and KV, and the prompt below builds exactly that. What is not one sitting is the loop back out to the ad platforms. Meta and Google bid against the conversion events you send them, and since ATT the browser pixel misses a large share of purchases, which is the entire reason the Conversions API and offline conversion import exist. Closing that loop means persisting fbclid and gclid at redirect time, carrying that identity to a sale that happens days later on another device, posting a Purchase with a stable event_id so it deduplicates against the pixel, rebuilding fbc in Meta's fb.1.{timestamp}.{fbclid} form, importing offline conversions to Google on gclid, gbraid, or wbraid, and reversing all of it on refund. Every one of those fails silently. That is the expensive part: the dashboard still shows clicks while the bidder optimizes against nothing.
încredere: ridicată
ce e: Branded short links with server-side click tracking and conversion attribution back to ad platforms
Indice de constructibilitate · joc editorial
- Preț 10 $/lună greutate: plus 1
- Timp o sesiune greutate: plus 3
- Categorie analytics nu cântărește
- Moat integrări · scara infrastructurii greutate: minus 3
- Încredere ridicată greutate: plus 1
- Ce pierzi 5 elemente greutate: minus 2
- Site lnkflow.io (si apre in una nuova scheda) nu cântărește
Se anulează. E cazul în care decide cât de tare te enervează abonamentul.
Gioco editoriale: il verdetto dice se un agente può, l’indice se conviene.
Ce construiești
Resolve a slug to a destination at the edge, log the click, inject UTMs, pass ad click ids through untouched, and 302.
ce îți trebuie
- Cloudflare account (Workers, KV, D1)
- a domain you control
- wrangler CLI
The redirector is a one-sitting build · the loop back into Meta and Google ad accounts is the actual product.
Promptul
Un weekend cu un agent de coding. Golurile care rămân sunt mai jos, la „ce pierzi”.
Build me a branded link shortener with click tracking to replace LnkFlow. Requirements:
- Cloudflare Workers via wrangler: KV for the slug lookup, D1 for the click
log. Free tier, nothing to babysit.
- A worker on lnk.mydomain.com/{slug} reads KV, writes the click to D1 inside
ctx.waitUntil so the redirect never waits, then 302s with X-Robots-Tag:
noindex and Cache-Control: no-store.
- Inject UTM params at redirect time from the link's KV record, and pass
incoming fbclid, gclid, gbraid, wbraid, and msclkid through to the
destination untouched.
- Log per click: slug, timestamp, country from request.cf, user-agent,
referer, and those ad click ids. Skip bot user-agents from a pattern list
in one file.
- An /admin page behind one password (wrangler secret) to create links and
show clicks per link per day as a plain table.
- Secrets via wrangler secret, never in wrangler.toml. No accounts, no
third-party analytics, no telemetry.
- Out of scope: posting Purchase events back to Meta CAPI or Google offline
conversion import · stable event_id for pixel dedup, fbc as
fb.1.{timestamp_ms}.{fbclid}, and refund reversal. A silently wrong
conversion feed is worse than none.
- Out of scope: TLS for domains I do not own. My own subdomain is one DNS
record · a client's domain means Cloudflare for SaaS and DCV renewals.
- README: wrangler setup, the KV namespace and D1 database, the DNS record,
and adding the first link. Prompt curatoriat: scris și revizuit manual pentru această aplicație. În engleză intenționat — e limba în care agenții de coding se descurcă cel mai bine.
Ce pierzi
- Purchase events delivered back to Meta CAPI with stable event_id deduplication against the browser pixel
- Google offline conversion import keyed on gclid, gbraid, or wbraid
- click to lead to sale attribution that survives a multi-day gap, with refund reversal
- TLS on a customer's branded domain (Cloudflare for SaaS and 90-day DCV renewals, not one DNS record)
- per-creator performance and commission reporting
De ce se plătește în continuare
The redirect is commodity and nobody should pay much for it. What is not commodity is staying current with Meta and Google as they change conversion endpoints, identifier formats, and consent requirements, which they do continuously and without waiting for you. Paying outsources that upkeep plus the attribution store that connects a click to a sale days later on a different device. Agencies pay for a second reason: issuing and renewing TLS for a client's branded domain is a genuinely different problem from pointing your own DNS record at a worker.
moat: Integrări Scara infrastructurii ce e un moat
ad-platform integration upkeep
Cine l-a construit deja
Să pornești de aici e tot vibecoding: promptul e pentru când o vrei exact în felul tău.
- Dub (se deschide într-o filă nouă) — The most complete open-source link platform · analytics, custom domains, and a conversion API. Self-hostable. (alive)
- Shlink (se deschide într-o filă nouă) — Self-hosted URL shortener with a REST API, click stats, and QR codes. (alive)
- YOURLS (se deschide într-o filă nouă) — The long-running PHP shortener · drop it on any LAMP host and it works. (alive)
Ești de acord?
Balanța voturilor
Ancora nessun voto: il tuo è il primo.
Nessun voto ancora — il primo pesa.