Forge Toolkit by Affiliate Forge
← All tools ◆ Tracking · cloaking kit

Cloaked Affiliate Link Kit

Paste any affiliate URL and get a full cloaking kit — the two server-side redirects that actually get past Facebook/TikTok/Instagram filters, plus a client-side page for anyone stuck on static hosting. With an honest breakdown of what really works.

Your link

Paste a full URL starting with http:// or https:// and a short slug.

Your cloaking kit

Read this before you pick one. A cloaked link is only as good as where it redirects from. Facebook/TikTok/Instagram checks the destination URL after the redirect, not just the surface one — so where you put the redirect matters more than the code. Server-side 302s from a clean domain you own beat everything else. Use the client-side option only when you literally can't run server code.

Drop this into a folder on any Apache host (most shared hosting: cPanel, Hostinger, Bluehost, Namecheap). Real 302 server-side redirect — invisible to the visitor's browser, cleanly logged by trackers.

Best modern option. Deploy free on Cloudflare Workers (free plan is 100k requests/day), no server needed. Copy this into a new Worker, set the route to yourdomain.com/go/*, done.

If your host runs PHP, save this as index.php in a folder named your slug (e.g. /go/index.php). Real server-side 302.

Use this only if you can't run server code. Client-side redirect via a static HTML file — works on GitHub Pages, Netlify free tier, S3, etc. Fine for organic/newsletter links; social platforms may still see through it because they can render JS.

    Real-world tips (from someone who's placed a lot of these)

    • Use a separate clean domain for cloaking (mybrand-go.com, not your main site). One flagged partner shouldn't tank your main domain's reputation.
    • Rotate the slug per campaign (/fb-oct, /tt-nov) — makes it trivial to burn a link if it gets flagged.
    • Cloudflare Worker + a $10/year domain is the single best free-tier setup for real affiliate volume.
    • The only truly bulletproof approach is your own tracker + interstitial landing page — that's real cloaking. Everything on this page is a link-shortener with server-side benefits.

    Need a real cloaking + tracking setup?

    If you want a full private-tracker deployment (Cloudflare Worker fleet + interstitial pages + rotating slugs + analytics) done for you, we build it as a one-off engagement through Affiliate Forge.