What Is Cloaking in Affiliate Marketing?
Plain-English guide to ad cloaking: what happens when one link shows two different pages, how traffic filtering differs from hiding an offer, and why ad platforms ban deceptive routing.
- 01 What Cloaking Means in Plain English
- 02 How One Link Shows Two Different Pages
- 03 Bot Protection vs Hiding an Offer from Moderation
- 04 Why Media Buyers Split Traffic in Real Campaigns
- 05 Which Signals Decide What Page a Visitor Sees
- 06 When Filters Mistake Real Buyers for Bots
- 07 Pre-Launch Checklist Before You Turn On Traffic
1. What Cloaking Means in Plain English
Imagine two people clicking the exact same ad link at the same time. The first visitor is a regular customer browsing on an iPhone in Berlin, and they land on an aggressive sales page for a dietary supplement. The second visitor is an automated check from Google or Meta, and that exact same link opens a quiet blog article about healthy sleep habits. Showing different pages on the same link depending on who is looking is called cloaking.
If you buy traffic on Meta Ads, Google Ads, or TikTok Ads, you need to understand how this works even if you only run compliant campaigns. Many trackers, anti-fraud firewalls, and link routers use the same traffic-splitting mechanics under the hood. A single misconfigured rule can make an ad platform think you are hiding your landing page—or accidentally send paying customers to a fallback page.
In affiliate marketing, the neutral page shown to bots, moderators, or out-of-country visitors is called a White Page (or Safe Page). The commercial page built to convert real buyers is called the Money Page (or Offer Page). Both the Google Ads Cloaking Policy and Meta Advertising Standards strictly ban showing reviewers a different offer than what users see, classifying it as Circumventing Systems.
User or ad bot opens the landing URL
Checks IP, ASN provider, rDNS & TLS
Matches visitor profile against filter rules
Safe Page for reviewers / Offer for buyers
| Funnel Element | What It Does in Practice | Who Sees or Uses It | What It Means for Your Ad Account |
|---|---|---|---|
| White Page (Safe Page) | A clean informational article, store page, or company site hosted on your campaign domain. | Ad platform check bots, datacenter servers, visitors outside your target country, and direct visits without ad tags. | Safe on its own, but causes immediate account bans if used as a cover to hide a prohibited Money Page. |
| Money Page (Offer Page) | The actual sales page, quiz pre-lander, or affiliate checkout page where conversions happen. | Real mobile or home-internet users inside your target country who clicked your ad. | Must match the promises in your ad creative and follow platform landing page rules. |
| Traffic Filter / TDS | A traffic router (Traffic Distribution System) that checks each click before deciding which page to show. | Evaluates every visitor in a fraction of a second before the page loads. | Allowed for country routing, A/B testing, and blocking scrapers; banned when used to deceive moderators. |
| S2S Postback | A direct server-to-server message that tells your tracker a lead or sale was confirmed—without needing the user's browser. | Sent automatically by the affiliate network or CRM after a customer completes an order. | Works only if your entry link keeps the ad platform's Click ID (fbclid, gclid, ttclid) intact. |
2. How One Link Shows Two Different Pages
When someone taps your ad, their browser asks your server for the webpage. Before sending back any text or images, a small script at the entrance of your site checks a few details about the visitor—where they are connecting from, what device they use, and whether they arrived from a real ad click. That decision happens in a few milliseconds.
Once the script decides which page to show, it delivers the content in one of two ways: local loading on the same URL or redirecting to another address. With local loading (for example, a PHP script pulling in a template file on the server), the address in the browser bar never changes and the server replies with a normal 200 OK status. With a redirect (301 or 302), the server tells the browser to jump to a different URL, which leaves an obvious trail in browser logs and ad platform checks.
Jumping across different domains with a 302 redirect often breaks even 100% compliant campaigns. Under Google Ads Destination Requirements and TikTok Landing Page Policies, ads get rejected if the final domain does not match the domain declared in your ad setup. Worse, poorly set up redirects often strip away the Click ID (fbclid, gclid, or ttclid—the unique tracking tag that links an ad click to a later sale).
To keep full visibility over your traffic, make sure your entry script or tracker logs four simple items on every click: the visitor's IP and network provider, their browser and language, the time of the click, and the Click ID. When you compare that log against billed clicks in your ad cabinet, you can immediately see if a redirect or filter rule is dropping real buyers.
ISP vs. Hosting type & reverse DNS check
JA3/JA4 handshake & browser headers
Serve landing page (200 OK) or block scraper (403)
3. Bot Protection vs Hiding an Offer from Moderation
Beginners often ask: if big e-commerce brands use Cloudflare or anti-bot filters on their ads, why don't they get banned for cloaking? The answer comes down to who is being filtered and whether the offer changes. Technical traffic filtering and deceptive cloaking inspect the exact same connection signals, but they use them for opposite goals.
Legitimate traffic filtering protects your site and analytics from automated junk—like competitor spy tools copying your landing page, click-farm bots draining your budget, or server scanners. Crucially, every real person—including a human moderator at Meta or Google—and every official ad verification bot (AdsBot-Google, facebookexternalhit, Bytespider) sees the exact same product and landing page.
Policy-violating cloaking specifically targets those official ad reviewers and platform bots to show them a fake, harmless page while hiding an offer that breaks platform rules. As stated in RFC 9110 (HTTP Semantics) and Google's own policy notes, adapting a page for a user's language, currency, or device is completely normal as long as the promoted product stays the same. Before turning on any filter rule, ask one question: if a platform moderator clicks my ad from a phone in my target country, will they see the same offer as my customers? If not, you are cloaking and risking an account suspension.
- Compliant Bot Protection: Blocks click-fraud bots and spy scrapers while letting official ad platform bots (
AdsBot-Google,facebookexternalhit,Bytespider) inspect your real landing page. - Compliant Language & Country Routing: Shows a German checkout to visitors in Germany and a Spanish checkout in Spain for the exact same product.
- Prohibited Cloaking: Shows a gardening blog to ad moderators while showing an unapproved casino, crypto, or aggressive nutra page to regular users.
- Quick Self-Check: Compare what Google's URL Inspection tool or Meta's Sharing Debugger sees against what loads on a real phone in your target country.
- Official Ad Bots: Verified via rDNS → see real offer (HTTP 200)
- Real Buyers: See the exact same offer page (HTTP 200)
- Scrapers & DDoS: Blocked openly with HTTP 403 / 429
- Official Ad Bots: Shown a decoy Safe Page (HTTP 200)
- Real Buyers: Shown a hidden commercial Money Page (HTTP 200)
- Policy Result: Permanent ban for Circumventing Systems
4. Why Media Buyers Split Traffic in Real Campaigns
In day-to-day affiliate marketing, media buyers use traffic filters for three main reasons: keeping competitor spy tools from stealing their funnels, keeping bot clicks out of their conversion statistics, and—in grey or restricted verticals—trying to slip past automated ad review. Knowing which problem you are trying to solve keeps you from taking unnecessary risks with your ad accounts.
Suppose you spend two weeks building and testing a new quiz pre-lander. Within hours of launching ads, automated spy-service crawlers rent cheap datacenter servers, click your ad links, and copy your entire page HTML and images. At the same time, hundreds of those automated visits land in your tracker (like Keitaro, Voluum, or Binom), making your conversion rate look terrible and firing fake pageview events into your ad pixel.
To stop spy scrapers without breaking platform rules, experienced buyers filter out known datacenter hosting networks while keeping official ad review networks (Google LLC, Meta Platforms, Inc., ByteDance) on a permanent allowlist. When using a cloud filtering service like Cloaking Master, treat its network and bot rules as a diagnostic shield against scrapers and junk traffic—not as a magic cloak to hide prohibited offers.
5. Which Signals Decide What Page a Visitor Sees
How does a filter tell a real customer on an iPhone apart from a scraper program running on a rented server? No single clue is enough on its own, so filtering systems check a combination of network, connection, and browser signals before making a call.
First, the filter checks the visitor's IP address and its ASN (Autonomous System Number—the unique network ID of the internet provider or hosting company). An ASN immediately tells you whether the click came from a consumer mobile carrier like T-Mobile (mobile), a home internet provider like Comcast (residential), or a cloud server farm like Amazon AWS or Hetzner (datacenter). Next, the filter looks at the browser headers—such as User-Agent (which names the device and browser), Accept-Language (the user's language setting), and whether the link includes an ad Click ID (fbclid, gclid, ttclid).
Where needed, an optional script inside the browser checks browser fingerprinting—a set of device characteristics like screen size, touch support, and graphics chip—to catch automated headless browsers (browsers running in the background without a visible screen). However, relying on a single signal causes immediate mistakes. For example, blocking everyone without a Referer header (the address of the previous page) will block real users whose privacy settings hide referrer data. Good filtering always combines at least two or three signals before blocking a visit.
| What the Filter Checks | Plain-English Meaning | What It Catches Well | Where It Can Make a Mistake |
|---|---|---|---|
| Network & ASN (IP Provider) | Checks whether the IP belongs to a mobile carrier, home provider, or rented server farm. | Bots and spy tools running on cloud hosting (AWS, DigitalOcean, Hetzner). | Real iPhone users with Apple iCloud Private Relay turned on, or buyers using a work VPN. |
| Connection Signature (TLS) | Checks how the browser sets up its encrypted HTTPS connection before sending page data. | Simple Python or cURL scripts pretending to be an iPhone or Chrome browser. | Corporate networks or antivirus apps that inspect encrypted traffic. |
| Browser Headers & Click IDs | Checks device name (User-Agent), browser language, and ad tracking tags (fbclid/gclid). | Tells in-app ad browsers (Instagram, TikTok) apart from desktop bots missing language settings. | Privacy browsers (like Brave) that strip optional headers. |
| Device & Screen Check (JS) | Runs a small script in the browser to verify touch support and a real mobile graphics chip. | Automated headless browsers disguised behind home proxy IPs. | Adds a slight loading delay and can glitch on older budget Android phones. |
6. When Filters Mistake Real Buyers for Bots
The most expensive mistake in traffic filtering is a false positive—when your filter mistakes a real, paying customer for a bot and sends them to the fallback page. Media buyers often miss this because the ad cabinet still shows plenty of cheap clicks, while conversions quietly dry up.
Suppose a customer in Madrid sees your Instagram ad on their smartphone over mobile LTE and taps to buy. Under the hood, their mobile carrier uses CGNAT (Carrier-Grade NAT—a setup where hundreds of phone subscribers share a single public IP address at the same time). If your filter blocks IPs after five clicks per hour, that customer gets blocked simply because other people on the same mobile operator clicked ads earlier.
Two other everyday scenarios cause false positives all the time. First, iPhone users with iCloud Private Relay enabled route their Safari traffic through Cloudflare and Akamai servers; if you blindly block all cloud server networks, you block paying Apple users. Second, apps like Facebook, Instagram, and TikTok open ads inside a WebView (an in-app browser built into the social app) and often pre-load the page in the background a second before the user even finishes tapping. To spot these issues early, check your filter's blocked-visit log every day: if you see blocked clicks that carry a valid fbclid or gclid from mobile operators, loosen that rule immediately.
7. Pre-Launch Checklist Before You Turn On Traffic
Before you spend money on a new campaign that passes through a tracker or traffic filter, take five minutes to test the link yourself. Most wasted ad spend and sudden 'Destination Not Working' rejections come from simple setup errors—like a lost Click ID or a firewall blocking the ad platform's check bot.
Open your exact campaign link on a real smartphone over mobile data and check how fast the page appears and whether your tracking tags survive all the way to the order button.
- Check Direct Loading (HTTP 200): Make sure your ad link loads directly with a
200 OKstatus instead of bouncing through a slow chain of three or four redirects. - Test Click ID Survival: Add
?gclid=TEST123&fbclid=TEST456to the end of your link, click through to the offer, and verify that your tracker records those exact tags for the S2S postback. - Confirm Official Bot Access: Run your link through Google's URL Inspection tool and Meta's Sharing Debugger to verify your firewall doesn't block platform crawlers with a
403 Forbiddenerror. - Protect Mobile & iPhone Users: Make sure mobile carrier networks (CGNAT) and Apple iCloud Private Relay ranges are not blocked as 'datacenter proxies'.
- Watch Server Response Speed (TTFB): Keep the filter's decision time under 20–50 ms so TTFB (Time to First Byte—how long the browser waits for the server's first reply) stays fast on mobile networks.
- Cloaking means showing one webpage to ad reviewers or bots (the White Page) and a completely different sales pag…
- The technical script that splits traffic is just a router; what makes it a policy violation is using it to hide …
- Legitimate bot filtering protects your budget and analytics from scrapers while showing the exact same offer to …
Ad networks treat any setup that hides your real landing page from review bots (such as Google Ads Circumventing…
Frequently Asked Questions (FAQ)
Is cloaking allowed on Google Ads, Meta Ads, or TikTok Ads?
No. Showing a harmless page to ad platform reviewers or bots while showing a different sales offer to regular visitors is strictly banned under Google Ads' Circumventing Systems policy, Meta's Advertising Standards, and TikTok's landing page rules. Doing so leads to rejected ads and permanent account bans.
Does blocking click-fraud bots or spy tools count as cloaking?
No, as long as you do not hide your offer from the ad platform. If you block third-party scraper servers and click farms while letting official platform bots (like AdsBot-Google and facebookexternalhit) and human reviewers see the exact same landing page as your customers, that is standard bot protection.
Why do real smartphone buyers sometimes land on the White Page?
This is a false positive. It usually happens for one of three reasons: your filter blocks Apple iCloud Private Relay IPs used by iPhones, your click-limit rule blocks a shared mobile carrier IP (CGNAT), or your script misreads background pre-loading inside the Instagram, Facebook, or TikTok in-app browser (WebView).
Why is local PHP loading better than a 302 redirect?
A 302 redirect forces the browser to jump to a new URL, which slows down mobile loading, shows up clearly in crawler checks, and can accidentally drop tracking tags like gclid or fbclid. Loading the template locally on the server via PHP keeps the visitor on the exact same URL with a clean HTTP 200 response.
Related Technical Guides
View Topic Archive →How Cloaking Works: Traffic Signals and Filtering
Follow a single ad click step-by-step to see how a traffic filter checks IP networks, browser headers, and device signals—and why filters sometimes block real buyers by mistake.
Cloaking vs Bot Protection: What's the Difference?
Compare two actions that look similar under the hood—blocking bots from wasting your ad budget versus showing two different pages to hide an offer—and learn how to keep your firewall from getting your ads rejected.
Risks of Cloaking in Paid Advertising
What actually happens when an ad platform catches a cloaked funnel: rejected ads, halted campaigns, frozen balances, affiliate payout holds, and the hidden cost of constantly replacing ad accounts.
Affiliate Marketing Glossary: Cloaking and Traffic Filtering Terms
32 clear, plain-English definitions of essential traffic filtering, bot detection, and ad compliance terms across four categories: Network & IP Routing, Browser Fingerprinting, Ad Platform Rules, and S2S Conversion Tracking.