Features · Guide

Affiliate link cloaking: what it does, and how to do it right

Affiliate links are long, full of tracking codes, and easy to mistrust. Cloaking is one way to tidy them up. Here is exactly what link cloaking on urlf.ly does, what it cannot do, and the steps and checks that keep your affiliate links working and honest.

Shorten a link JOIN NOW

Plan note: link cloaking, custom short names and your own domain are Premium features (USD 10 a month or USD 80 a year). The free plan covers short links and click statistics, so everything below that mentions cloaking needs Premium. See the pricing page.

What cloaking does on urlf.ly

A normal short link redirects: the visitor ends up on the destination's own address. A cloaked link works differently. urlf.ly serves a page on your short address that shows the destination in a frame filling the whole window. The visitor uses the destination page, but the address bar keeps showing your short link. The browser tab shows the link's title, and clicks are counted in your statistics like any other click.

What cloaking does not do:

  • It does not hide that a link is an affiliate link. Anyone can see where a link leads by following it, and the merchant still sees your affiliate ID in the destination request.
  • It does not change what search engines see. Crawlers and other bots are shown the normal redirect, not the frame.
  • It does not work on every site. Many sites forbid framing with the X-Frame-Options header or a Content Security Policy. When that happens, urlf.ly sends the visitor on with a normal redirect instead, so they still arrive. The link is not broken; it is simply not cloaked.
  • It is not a way to get around an affiliate program's rules. Some programs do not allow their pages inside a frame. Check the terms.

Cloak, or use a clean redirect?

For most affiliate links, a branded short link with a normal redirect is the better choice. A short link on your own domain, such as go.yourbrand.com/blender, already looks tidy, passes visitors straight to the merchant, and lets them bookmark, share and sign in on the real page. Cloaking is worth it when the short address itself matters: on a slide, in a video, in a printed card, or when you want the tidy address to stay on screen.

Think carefully about these before cloaking:

  1. Sign-ins and carts. Logins and checkouts that rely on cookies can behave differently inside a frame. Test the whole path to a purchase.
  2. Attribution. Affiliate programs track a visit with a cookie or a click ID. Browsers restrict some cookies in frames, so test that a test purchase is credited before you send real traffic. This is general browser behaviour rather than something urlf.ly measures, so there is no guarantee either way.
  3. Bookmarking. Inside the frame the address bar does not change, so visitors cannot bookmark or share an inner page.

When in doubt, use the redirect.

Set up a cloaked affiliate link, step by step

  1. Create a free account, upgrade to Premium from Plan in your dashboard, and sign in.
  2. Optional but recommended: add your own domain under Domains, so links read go.yourbrand.com/... instead of urlf.ly/.... How to set up a branded short link has the DNS steps.
  3. Paste your affiliate URL, exactly as the program gave it, into Destination URL. Do not remove tracking parameters.
  4. Give the link a Title; it becomes the browser tab text.
  5. Add a custom short name that says what the link is for, such as blender-review.
  6. Tick Cloaking enabled and press Create link.
  7. Open the short link yourself. If the merchant's page appears in the frame, cloaking is on. If you are sent to the merchant's address, that site does not allow framing and the link uses a redirect.
  8. Make a test purchase or sign-up if the program allows it, and confirm in the affiliate dashboard that it was recorded.

If you have a long list of links, the CSV importer creates up to 100 at a time (Premium plan). Cloaking is not part of the CSV, so open each link's Edit page afterwards.

What else helps with affiliate links

  • Click statistics. See which posts and referrers send visitors, by day, country and device, in link analytics. Create one link per placement (email, video description, one post) to compare them. Statistics are included on the free plan.
  • Expiry. Affiliate offers end. Set an expiry date (free), and with Premium an after-expiry redirect to a page that replaces the offer.
  • Country rules. If a program has separate stores per country, geo-targeting sends each visitor to the right one, with a default for everyone else (Premium plan). A matching country rule takes priority over other routing.
  • A/B testing. Compare two product pages for the same link with A/B split links, and read clicks per variant (Premium plan). Clicks are not purchases; judge the winner in your affiliate dashboard.
  • Editing. If a merchant changes its URL, you update the destination of one link and every page that uses it follows.

Disclose affiliate links

Cloaking is a formatting choice; disclosure is a requirement. In the United States, the FTC's Endorsement Guides (16 CFR 255.5) say that if you are paid for sales or clicks, readers must be able to tell: the guidance on affiliate reviewers is to "clearly and conspicuously disclose" the connection. Put the disclosure near the link, in plain words, such as "I earn a commission if you buy through this link". Rules elsewhere differ, so check where your readers live.

For search engines, Google's guidance on qualifying outbound links is to mark paid links and advertisements with rel="sponsored". Many site owners apply it to affiliate links. That attribute belongs on the link in your own page's HTML, so add it where you place your short link; urlf.ly does not add it for you.

Pre-publish checklist

  • The affiliate program's terms allow link shorteners and framing.
  • The cloaked link opens the right page in the frame, or redirects if framing is refused.
  • You tested a purchase or sign-up and it was credited.
  • The link uses your own branded domain where possible.
  • Tracking parameters from the program are intact.
  • A clear disclosure sits next to the link, and rel="sponsored" is on it.
  • You set an expiry for time-limited offers.
  • You can see clicks on the link's stats page.

How other services handle this

From each service's public pricing page, checked on December 2, 2026:

Not being on a pricing page does not prove a feature is missing, so check each site. For link tracking without cloaking, the free plan is enough: see the best free URL shortener with click tracking.

urlf.ly is made by Develofly LLC.

Frequently asked questions

Is link cloaking free on urlf.ly?

No. Link cloaking is part of Premium (USD 10 a month or USD 80 a year). The free plan covers short links and click statistics.

Will cloaking hurt my SEO?

Search engines and other bots receive a normal redirect, not the frame, so they are not shown different content. Cloaking only affects the visitor's address bar.

Why does my cloaked link redirect instead?

The destination tells browsers not to show it inside a frame. urlf.ly falls back to a normal redirect so visitors still arrive.

Will I still be paid?

That depends on the program and how it tracks visits. Test a purchase first, and read the program's rules on framing and link shorteners.

Are clicks counted?

Yes. Clicks on cloaked links appear in the link's statistics like normal clicks, with known bots left out.

Do I need my own domain?

No, but a branded domain looks more trustworthy. Your own domain is a Premium feature, and an account can add up to 3.

Will visitors see a wait page?

Some links can. urlf.ly can show a short countdown page that may show an ad before the destination, and a link with a retargeting pixel shows a brief page for about two seconds; a cloaked link fires the pixel on its own page with no extra wait.

Ready to create your link?

Shorten a link in seconds, then add the options you need.

Shorten a link JOIN NOW