[{"data":1,"prerenderedAt":510},["ShallowReactive",2],{"blog-how-to-detect-cloaking-en":3,"blog-ad-banners-en":483},{"id":4,"title":5,"excerpt":6,"content":7,"coverImage":424,"meta":432,"site":436,"status":457,"slug":458,"author":459,"category":467,"publishDate":477,"featured":301,"updatedAt":478,"createdAt":479,"contentHtml":480,"previewUrl":481,"localeSlugs":482},843,"How to Detect Cloaking: 7 Checks for Sites and Landing Pages","How to detect cloaking on your site or a partner's landing page: Search Console live tests, user-agent and redirect checks, click-ID tests, and what to fix.",{"root":8},{"children":9,"direction":19,"format":15,"indent":13,"type":423,"version":18},[10,22,29,33,37,63,67,72,88,92,100,104,108,115,119,123,132,136,152,156,160,164,175,179,193,197,201,290,315,319,359,371,375,379,383,387,391,395,399,403,407,411,415,419],{"children":11,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":21},[12],{"detail":13,"format":13,"mode":14,"style":15,"text":16,"type":17,"version":18},0,"normal","","What does it mean to detect cloaking?","text",1,null,"heading","h2",{"children":23,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":18,"textStyle":15},[24,26],{"detail":13,"format":18,"mode":14,"style":15,"text":25,"type":17,"version":18},"Detecting cloaking means checking whether a page shows different content to search engines, ad reviewers or certain visitors than it shows to everyone else.",{"detail":13,"format":13,"mode":14,"style":15,"text":27,"type":17,"version":18}," Google defines cloaking as presenting different content to users and search engines with the intent to manipulate rankings and mislead users, and every major ad platform prohibits showing reviewers something other than what users see. You detect it by requesting the same URL under different conditions (crawler vs browser, different IPs, devices, referrers and click parameters) and comparing what comes back.","paragraph",{"children":30,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[31],{"detail":13,"format":13,"mode":14,"style":15,"text":32,"type":17,"version":18},"Who needs this? Site owners whose pages were hacked to serve spam to Googlebot, advertisers and agencies auditing landing pages supplied by partners or affiliates before they put budget behind them, and compliance teams reviewing an inherited setup. This guide is written for that audit purpose. It does not explain how to build or hide a cloak.",{"children":34,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":21},[35],{"detail":13,"format":13,"mode":14,"style":15,"text":36,"type":17,"version":18},"Why cloaking is worth checking for",{"children":38,"direction":19,"format":15,"indent":13,"type":60,"version":18,"listType":61,"start":18,"tag":62},[39,46,53],{"children":40,"direction":19,"format":15,"indent":13,"type":45,"version":18,"value":18},[41,43],{"detail":13,"format":18,"mode":14,"style":15,"text":42,"type":17,"version":18},"Search penalties.",{"detail":13,"format":13,"mode":14,"style":15,"text":44,"type":17,"version":18}," Google's spam policies list cloaking and sneaky redirects as violations. A confirmed case appears as a manual action in Search Console and can remove pages or the whole site from results.","listitem",{"children":47,"direction":19,"format":15,"indent":13,"type":45,"version":18,"value":52},[48,50],{"detail":13,"format":18,"mode":14,"style":15,"text":49,"type":17,"version":18},"Ad account suspension.",{"detail":13,"format":13,"mode":14,"style":15,"text":51,"type":17,"version":18}," Google Ads treats cloaking under its Circumventing systems policy, which can suspend an account without prior warning. Meta and TikTok have equivalent rules. A cloaked landing page from a partner can take down your account, not only theirs.",2,{"children":54,"direction":19,"format":15,"indent":13,"type":45,"version":18,"value":59},[55,57],{"detail":13,"format":18,"mode":14,"style":15,"text":56,"type":17,"version":18},"Security.",{"detail":13,"format":13,"mode":14,"style":15,"text":58,"type":17,"version":18}," Many sites that cloak do not know it. Compromised plugins and injected server code commonly show spam only to crawlers, so the owner sees a normal site while Google indexes something else.",3,"list","bullet","ul",{"children":64,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":21},[65],{"detail":13,"format":13,"mode":14,"style":15,"text":66,"type":17,"version":18},"7 checks to detect cloaking",{"children":68,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[69],{"detail":13,"format":13,"mode":14,"style":15,"text":70,"type":17,"version":18},"1. Compare Google's view with yours in Search Console","h3",{"children":73,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[74,76,78,80,82,84,86],{"detail":13,"format":13,"mode":14,"style":15,"text":75,"type":17,"version":18},"In Google Search Console, open ",{"detail":13,"format":18,"mode":14,"style":15,"text":77,"type":17,"version":18},"URL Inspection",{"detail":13,"format":13,"mode":14,"style":15,"text":79,"type":17,"version":18},", enter the page, and run ",{"detail":13,"format":18,"mode":14,"style":15,"text":81,"type":17,"version":18},"Test live URL",{"detail":13,"format":13,"mode":14,"style":15,"text":83,"type":17,"version":18},". Then use ",{"detail":13,"format":18,"mode":14,"style":15,"text":85,"type":17,"version":18},"View tested page",{"detail":13,"format":13,"mode":14,"style":15,"text":87,"type":17,"version":18}," to see the HTML and screenshot Googlebot received. If the rendered HTML contains links, text or redirects you do not see in your own browser, investigate. This is the most reliable check for your own site because the request comes from Google's real crawler and IPs.",{"children":89,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[90],{"detail":13,"format":13,"mode":14,"style":15,"text":91,"type":17,"version":18},"2. Check the Manual actions and Security issues reports",{"children":93,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[94,96,98],{"detail":13,"format":13,"mode":14,"style":15,"text":95,"type":17,"version":18},"In the same Search Console property, open ",{"detail":13,"format":18,"mode":14,"style":15,"text":97,"type":17,"version":18},"Security & Manual Actions",{"detail":13,"format":13,"mode":14,"style":15,"text":99,"type":17,"version":18},". A manual action for \"Cloaking and/or sneaky redirects\" or a security issue for hacked content confirms Google has already detected a problem. Fix it before requesting review.",{"children":101,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[102],{"detail":13,"format":13,"mode":14,"style":15,"text":103,"type":17,"version":18},"3. Compare responses by user agent",{"children":105,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[106],{"detail":13,"format":13,"mode":14,"style":15,"text":107,"type":17,"version":18},"Request the page as a normal browser and as a crawler user agent, and compare status codes, redirects and content length:",{"type":109,"version":52,"format":15,"fields":110},"block",{"blockType":111,"code":112,"language":113,"id":114},"Code","curl -sL -o browser.html -w \"%{http_code} %{url_effective}\\n\" -A \"Mozilla/5.0\" https://example.com/page\ncurl -sL -o bot.html -w \"%{http_code} %{url_effective}\\n\" -A \"Googlebot/2.1 (+http://www.google.com/bot.html)\" https://example.com/page\ndiff \u003C(wc -c \u003C browser.html) \u003C(wc -c \u003C bot.html)","bash","6b0d99582e118a00c8f9060d",{"children":116,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[117],{"detail":13,"format":13,"mode":14,"style":15,"text":118,"type":17,"version":18},"A big difference in size, title or final URL is a red flag. A clean result does not prove the page is clean: many setups decide by IP address, not user agent, which is why check 1 matters more.",{"children":120,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[121],{"detail":13,"format":13,"mode":14,"style":15,"text":122,"type":17,"version":18},"4. Trace every redirect, including JavaScript",{"children":124,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[125,127,130],{"detail":13,"format":13,"mode":14,"style":15,"text":126,"type":17,"version":18},"Use ",{"detail":13,"format":128,"mode":14,"style":15,"text":129,"type":17,"version":18},16,"curl -sIL",{"detail":13,"format":13,"mode":14,"style":15,"text":131,"type":17,"version":18}," to list server-side redirects, then load the page in a browser with DevTools open (Network tab, \"Preserve log\" on) to catch JavaScript and meta-refresh redirects that curl does not execute. Note any hop that only happens with certain parameters or after a delay.",{"children":133,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[134],{"detail":13,"format":13,"mode":14,"style":15,"text":135,"type":17,"version":18},"5. Vary the referrer and click parameters",{"children":137,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[138,140,142,144,146,148,150],{"detail":13,"format":13,"mode":14,"style":15,"text":139,"type":17,"version":18},"Some pages behave differently when they detect an ad click. Compare a direct visit with one that carries a referrer from a search engine or social platform and a click ID such as ",{"detail":13,"format":128,"mode":14,"style":15,"text":141,"type":17,"version":18},"gclid",{"detail":13,"format":13,"mode":14,"style":15,"text":143,"type":17,"version":18},", ",{"detail":13,"format":128,"mode":14,"style":15,"text":145,"type":17,"version":18},"fbclid",{"detail":13,"format":13,"mode":14,"style":15,"text":147,"type":17,"version":18}," or ",{"detail":13,"format":128,"mode":14,"style":15,"text":149,"type":17,"version":18},"ttclid",{"detail":13,"format":13,"mode":14,"style":15,"text":151,"type":17,"version":18}," appended to the URL. If the content changes only when an ad parameter is present, ask why.",{"children":153,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[154],{"detail":13,"format":13,"mode":14,"style":15,"text":155,"type":17,"version":18},"6. Vary location and device",{"children":157,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[158],{"detail":13,"format":13,"mode":14,"style":15,"text":159,"type":17,"version":18},"Load the page from a mobile device and a desktop, and from the countries you target and one you do not. Legitimate localisation changes language, currency and legal text; it should not swap the product or offer. Document what changes and whether it is disclosed.",{"children":161,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[162],{"detail":13,"format":13,"mode":14,"style":15,"text":163,"type":17,"version":18},"7. Inspect the server and site code",{"children":165,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[166,168,170,172,173],{"detail":13,"format":13,"mode":14,"style":15,"text":167,"type":17,"version":18},"If you control the site, look where conditional logic usually hides: ",{"detail":13,"format":128,"mode":14,"style":15,"text":169,"type":17,"version":18},".htaccess",{"detail":13,"format":13,"mode":14,"style":15,"text":171,"type":17,"version":18}," and web server rewrite rules, recently modified theme or plugin files, unknown PHP files, edge-worker or CDN rules, and tag-manager containers. Search for checks on user agent, IP ranges, referrer or ",{"detail":13,"format":128,"mode":14,"style":15,"text":141,"type":17,"version":18},{"detail":13,"format":13,"mode":14,"style":15,"text":174,"type":17,"version":18},". Compare file hashes with a clean copy of your platform.",{"children":176,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":21},[177],{"detail":13,"format":13,"mode":14,"style":15,"text":178,"type":17,"version":18},"How to verify a request really came from Googlebot",{"children":180,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[181,183,185,186,188,189,191],{"detail":13,"format":13,"mode":14,"style":15,"text":182,"type":17,"version":18},"When reviewing server logs during an investigation, do not trust the user-agent string. Google recommends verifying crawlers with a reverse DNS lookup: the IP should resolve to a hostname on ",{"detail":13,"format":128,"mode":14,"style":15,"text":184,"type":17,"version":18},"googlebot.com",{"detail":13,"format":13,"mode":14,"style":15,"text":143,"type":17,"version":18},{"detail":13,"format":128,"mode":14,"style":15,"text":187,"type":17,"version":18},"google.com",{"detail":13,"format":13,"mode":14,"style":15,"text":147,"type":17,"version":18},{"detail":13,"format":128,"mode":14,"style":15,"text":190,"type":17,"version":18},"googleusercontent.com",{"detail":13,"format":13,"mode":14,"style":15,"text":192,"type":17,"version":18},", and a forward lookup of that hostname should return the same IP. Google also publishes its crawler IP ranges as JSON files. Requests that claim to be Googlebot but fail this check are someone else.",{"children":194,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":21},[195],{"detail":13,"format":13,"mode":14,"style":15,"text":196,"type":17,"version":18},"Personalisation vs cloaking: where the line is",{"children":198,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[199],{"detail":13,"format":13,"mode":14,"style":15,"text":200,"type":17,"version":18},"Not every difference is cloaking. Platforms generally allow:",{"children":202,"direction":19,"format":15,"indent":13,"type":289,"version":18},[203,219,233,247,261,275],{"children":204,"direction":19,"format":15,"indent":13,"type":218,"version":18},[205,212],{"children":206,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":18,"rowSpan":18},[207],{"children":208,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[209],{"detail":13,"format":13,"mode":14,"style":15,"text":210,"type":17,"version":18}," Allowed (disclosed, same offer) ","tablecell",{"children":213,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":18,"rowSpan":18},[214],{"children":215,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[216],{"detail":13,"format":13,"mode":14,"style":15,"text":217,"type":17,"version":18}," Not allowed ","tablerow",{"children":220,"direction":19,"format":15,"indent":13,"type":218,"version":18},[221,227],{"children":222,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[223],{"children":224,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[225],{"detail":13,"format":13,"mode":14,"style":15,"text":226,"type":17,"version":18}," Language or currency by location ",{"children":228,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[229],{"children":230,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[231],{"detail":13,"format":13,"mode":14,"style":15,"text":232,"type":17,"version":18}," A different product or offer for reviewers ",{"children":234,"direction":19,"format":15,"indent":13,"type":218,"version":18},[235,241],{"children":236,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[237],{"children":238,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[239],{"detail":13,"format":13,"mode":14,"style":15,"text":240,"type":17,"version":18}," Mobile and desktop layouts ",{"children":242,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[243],{"children":244,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[245],{"detail":13,"format":13,"mode":14,"style":15,"text":246,"type":17,"version":18}," Hiding text or links from users but showing them to crawlers ",{"children":248,"direction":19,"format":15,"indent":13,"type":218,"version":18},[249,255],{"children":250,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[251],{"children":252,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[253],{"detail":13,"format":13,"mode":14,"style":15,"text":254,"type":17,"version":18}," Consent banners that vary by region ",{"children":256,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[257],{"children":258,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[259],{"detail":13,"format":13,"mode":14,"style":15,"text":260,"type":17,"version":18}," Redirecting only real users to a page reviewers never see ",{"children":262,"direction":19,"format":15,"indent":13,"type":218,"version":18},[263,269],{"children":264,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[265],{"children":266,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[267],{"detail":13,"format":13,"mode":14,"style":15,"text":268,"type":17,"version":18}," A/B tests where crawlers see a normal variant ",{"children":270,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[271],{"children":272,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[273],{"detail":13,"format":13,"mode":14,"style":15,"text":274,"type":17,"version":18}," Serving spam only to search engines ",{"children":276,"direction":19,"format":15,"indent":13,"type":218,"version":18},[277,283],{"children":278,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[279],{"children":280,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[281],{"detail":13,"format":13,"mode":14,"style":15,"text":282,"type":17,"version":18}," Paywalls marked up as Google documents ",{"children":284,"direction":19,"format":15,"indent":13,"type":211,"version":18,"backgroundColor":19,"colSpan":18,"headerState":13,"rowSpan":18},[285],{"children":286,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[287],{"detail":13,"format":13,"mode":14,"style":15,"text":288,"type":17,"version":18}," Content that changes only when an ad click is detected, to avoid review ","table",{"children":291,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[292,294,304,306,313],{"detail":13,"format":13,"mode":14,"style":15,"text":293,"type":17,"version":18},"The test is simple: would a reviewer and a typical user, given the same ad or search result, see substantially the same thing? For more on how the platforms draw this line, see ",{"children":295,"direction":19,"format":15,"indent":13,"type":298,"version":59,"fields":299,"id":303},[296],{"detail":13,"format":13,"mode":14,"style":15,"text":297,"type":17,"version":18},"ad cloaking vs URL cloaking","link",{"linkType":300,"newTab":301,"url":302},"custom",false,"https://deepclick.com/resources/blog/ad-cloaking-vs-url-cloaking-policy-line-2026/","6b0d99582e118a00c8f9060e",{"detail":13,"format":13,"mode":14,"style":15,"text":305,"type":17,"version":18}," and ",{"children":307,"direction":19,"format":15,"indent":13,"type":298,"version":59,"fields":310,"id":312},[308],{"detail":13,"format":13,"mode":14,"style":15,"text":309,"type":17,"version":18},"what website cloaking is",{"linkType":300,"newTab":301,"url":311},"https://deepclick.com/resources/blog/what-is-website-cloaking/","6b0d99582e118a00c8f9060f",{"detail":13,"format":13,"mode":14,"style":15,"text":314,"type":17,"version":18},".",{"children":316,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":21},[317],{"detail":13,"format":13,"mode":14,"style":15,"text":318,"type":17,"version":18},"What to do if you find cloaking",{"children":320,"direction":19,"format":15,"indent":13,"type":60,"version":18,"listType":357,"start":18,"tag":358},[321,327,333],{"children":322,"direction":19,"format":15,"indent":13,"type":45,"version":18,"value":18},[323,325],{"detail":13,"format":18,"mode":14,"style":15,"text":324,"type":17,"version":18},"On your own site:",{"detail":13,"format":13,"mode":14,"style":15,"text":326,"type":17,"version":18}," remove the conditional code or rules, update or remove compromised plugins, rotate credentials, and re-run check 1. If there is a manual action, submit a reconsideration request explaining what you fixed.",{"children":328,"direction":19,"format":15,"indent":13,"type":45,"version":18,"value":52},[329,331],{"detail":13,"format":18,"mode":14,"style":15,"text":330,"type":17,"version":18},"On a partner's or affiliate's landing page:",{"detail":13,"format":13,"mode":14,"style":15,"text":332,"type":17,"version":18}," pause traffic to it, keep evidence (screenshots, HTML from each check, timestamps), and require a single page that all visitors see before resuming.",{"children":334,"direction":19,"format":15,"indent":13,"type":45,"version":18,"value":59},[335,337,339,346,348,355],{"detail":13,"format":18,"mode":14,"style":15,"text":336,"type":17,"version":18},"On an inherited setup:",{"detail":13,"format":13,"mode":14,"style":15,"text":338,"type":17,"version":18}," document what each rule does and why, then remove anything that targets reviewers. Our article on ",{"children":340,"direction":19,"format":15,"indent":13,"type":298,"version":59,"fields":343,"id":345},[341],{"detail":13,"format":13,"mode":14,"style":15,"text":342,"type":17,"version":18},"when not to use cloaking",{"linkType":300,"newTab":301,"url":344},"https://deepclick.com/resources/blog/when-not-to-use-cloaking/","6b0d99582e118a00c8f90610",{"detail":13,"format":13,"mode":14,"style":15,"text":347,"type":17,"version":18}," covers the risks in detail, and ",{"children":349,"direction":19,"format":15,"indent":13,"type":298,"version":59,"fields":352,"id":354},[350],{"detail":13,"format":13,"mode":14,"style":15,"text":351,"type":17,"version":18},"domain cloaking",{"linkType":300,"newTab":301,"url":353},"https://deepclick.com/resources/blog/domain-cloaking/","6b0d99582e118a00c8f90611",{"detail":13,"format":13,"mode":14,"style":15,"text":356,"type":17,"version":18}," explains a different, often harmless meaning of the word.","number","ol",{"children":360,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[361,363,370],{"detail":13,"format":13,"mode":14,"style":15,"text":362,"type":17,"version":18},"If you also need a landing-page protection solution that monitors domain reputation and helps keep ads running through review, see ",{"children":364,"direction":19,"format":15,"indent":13,"type":298,"version":59,"fields":367,"id":369},[365],{"detail":13,"format":13,"mode":14,"style":15,"text":366,"type":17,"version":18},"DeepClick Shield",{"linkType":300,"newTab":301,"url":368},"https://deepclick.com/product/shield/","6b0d99582e118a00c8f90612",{"detail":13,"format":13,"mode":14,"style":15,"text":314,"type":17,"version":18},{"children":372,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":21},[373],{"detail":13,"format":13,"mode":14,"style":15,"text":374,"type":17,"version":18},"FAQ",{"children":376,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[377],{"detail":13,"format":13,"mode":14,"style":15,"text":378,"type":17,"version":18},"How do I check if a website is cloaking?",{"children":380,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[381],{"detail":13,"format":13,"mode":14,"style":15,"text":382,"type":17,"version":18},"Compare what Googlebot sees with what you see using Search Console's URL Inspection live test, then compare responses by user agent, referrer, click parameters, location and device. Consistent differences in content or redirects indicate cloaking.",{"children":384,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[385],{"detail":13,"format":13,"mode":14,"style":15,"text":386,"type":17,"version":18},"Can I detect cloaking with curl?",{"children":388,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[389],{"detail":13,"format":13,"mode":14,"style":15,"text":390,"type":17,"version":18},"Partly. curl can reveal user-agent-based differences and server redirects, but not JavaScript redirects or IP-based rules. Combine it with a browser check and Search Console.",{"children":392,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[393],{"detail":13,"format":13,"mode":14,"style":15,"text":394,"type":17,"version":18},"Is showing different content by country cloaking?",{"children":396,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[397],{"detail":13,"format":13,"mode":14,"style":15,"text":398,"type":17,"version":18},"Not if the offer is the same and the change is localisation such as language, currency or legal text. It becomes cloaking when reviewers or crawlers get substantially different content from users.",{"children":400,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[401],{"detail":13,"format":13,"mode":14,"style":15,"text":402,"type":17,"version":18},"How does Google detect cloaking?",{"children":404,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[405],{"detail":13,"format":13,"mode":14,"style":15,"text":406,"type":17,"version":18},"Google crawls from its own IPs, renders pages, compares crawler and user signals, and reviews reports. Ad platforms also re-review landing pages after approval, so a page that changes later can still be caught.",{"children":408,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":71},[409],{"detail":13,"format":13,"mode":14,"style":15,"text":410,"type":17,"version":18},"What happens if my site is caught cloaking?",{"children":412,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[413],{"detail":13,"format":13,"mode":14,"style":15,"text":414,"type":17,"version":18},"In search, a manual action can demote or remove pages. In ads, the account can be suspended under circumventing-systems rules, and linked accounts may be affected.",{"children":416,"direction":19,"format":15,"indent":13,"type":20,"version":18,"tag":21},[417],{"detail":13,"format":13,"mode":14,"style":15,"text":418,"type":17,"version":18},"Summary",{"children":420,"direction":19,"format":15,"indent":13,"type":28,"version":18,"textFormat":13,"textStyle":15},[421],{"detail":13,"format":13,"mode":14,"style":15,"text":422,"type":17,"version":18},"To detect cloaking, look at the page the way each audience sees it: Googlebot through Search Console, crawlers and browsers through curl, ad clicks through referrer and click IDs, and real users across countries and devices. Then inspect the server for conditional rules. Fix anything that shows reviewers or crawlers a different page from users, and keep a record of what you checked.","root",{"id":425,"alt":426,"updatedAt":427,"createdAt":427,"url":428,"thumbnailURL":19,"filename":429,"mimeType":430,"filesize":431,"width":19,"height":19},1008,"Address bar showing one domain while a framed page from a different site loads behind it","2026-08-22T02:15:17.710Z","https://cms-r2.deepclick.com/cover-domain-cloaking-20ad3975e882.jpg","cover-domain-cloaking-20ad3975e882.jpg","application/octet-stream",173403,{"title":433,"description":434,"image":435},"How to Detect Cloaking: 7 Checks (Search & Ads)","How to detect cloaking: URL Inspection live test, manual actions, curl user-agent and redirect checks, click-ID and geo tests, and verifying real Googlebot.",{"id":425,"alt":426,"updatedAt":427,"createdAt":427,"url":428,"thumbnailURL":19,"filename":429,"mimeType":430,"filesize":431,"width":19,"height":19},{"id":18,"key":437,"name":438,"prodHost":439,"testHost":440,"blogPath":441,"docPath":442,"zhPrefix":443,"deployHookTest":444,"deployHookProd":445,"brandAuthor":446,"brandKit":450,"enabled":454,"updatedAt":455,"createdAt":456},"deepclick","DeepClick","https://deepclick.com","https://www-test-deepclick.qiliangjia.one","/resources/blog/{slug}","/docs/{slug}","/zh-CN","https://api.cloudflare.com/client/v4/pages/webhooks/deploy_hooks/60a9adef-153b-4c89-8d07-7118e91e9522","https://api.cloudflare.com/client/v4/pages/webhooks/deploy_hooks/05323321-f694-4ce8-a5af-173c507b8bae",{"id":52,"name":438,"avatar":447,"updatedAt":448,"createdAt":449},25,"2026-04-22T08:09:35.299Z","2026-04-22T06:42:49.116Z",{"logoLight":19,"logoDark":19,"primaryColor":451,"accentColor":452,"tagline":453,"wechatName":19,"xhsHandle":19,"wechatQr":19},"#1a73e8","#ff6600","一次点击，多重价值",true,"2026-08-25T06:40:57.663Z","2026-07-14T06:26:38.962Z","published","how-to-detect-cloaking",{"id":52,"name":438,"avatar":460,"updatedAt":448,"createdAt":449},{"id":447,"alt":438,"updatedAt":461,"createdAt":461,"url":462,"thumbnailURL":19,"filename":463,"mimeType":464,"filesize":465,"width":466,"height":466},"2026-04-22T08:09:22.606Z","https://cms-r2.deepclick.com/头像-白.png","头像-白.png","image/png",26626,1024,{"id":468,"site":469,"titleZh":471,"titleEn":472,"slug":473,"order":474,"updatedAt":475,"createdAt":476},7,{"id":18,"key":437,"name":438,"prodHost":439,"testHost":440,"blogPath":441,"docPath":442,"zhPrefix":443,"deployHookTest":444,"deployHookProd":445,"brandAuthor":52,"brandKit":470,"enabled":454,"updatedAt":455,"createdAt":456},{"logoLight":19,"logoDark":19,"primaryColor":451,"accentColor":452,"tagline":453,"wechatName":19,"xhsHandle":19,"wechatQr":19},"技术导航","Tech Guides","tech-guides",5,"2026-04-27T08:37:10.576Z","2026-04-23T02:59:13.436Z","2026-11-30T03:51:13.308Z","2026-11-30T15:43:07.060Z","2026-11-30T03:51:00.718Z","\u003Cdiv class=\"payload-richtext\">\u003Ch2>What does it mean to detect cloaking?\u003C/h2>\u003Cp>\u003Cstrong>Detecting cloaking means checking whether a page shows different content to search engines, ad reviewers or certain visitors than it shows to everyone else.\u003C/strong> Google defines cloaking as presenting different content to users and search engines with the intent to manipulate rankings and mislead users, and every major ad platform prohibits showing reviewers something other than what users see. You detect it by requesting the same URL under different conditions (crawler vs browser, different IPs, devices, referrers and click parameters) and comparing what comes back.\u003C/p>\u003Cp>Who needs this? Site owners whose pages were hacked to serve spam to Googlebot, advertisers and agencies auditing landing pages supplied by partners or affiliates before they put budget behind them, and compliance teams reviewing an inherited setup. This guide is written for that audit purpose. It does not explain how to build or hide a cloak.\u003C/p>\u003Ch2>Why cloaking is worth checking for\u003C/h2>\u003Cul class=\"list-bullet\">\u003Cli\n          class=\"\"\n          style=\"\"\n          value=\"1\"\n        >\u003Cstrong>Search penalties.\u003C/strong> Google&#39;s spam policies list cloaking and sneaky redirects as violations. A confirmed case appears as a manual action in Search Console and can remove pages or the whole site from results.\u003C/li>\u003Cli\n          class=\"\"\n          style=\"\"\n          value=\"2\"\n        >\u003Cstrong>Ad account suspension.\u003C/strong> Google Ads treats cloaking under its Circumventing systems policy, which can suspend an account without prior warning. Meta and TikTok have equivalent rules. A cloaked landing page from a partner can take down your account, not only theirs.\u003C/li>\u003Cli\n          class=\"\"\n          style=\"\"\n          value=\"3\"\n        >\u003Cstrong>Security.\u003C/strong> Many sites that cloak do not know it. Compromised plugins and injected server code commonly show spam only to crawlers, so the owner sees a normal site while Google indexes something else.\u003C/li>\u003C/ul>\u003Ch2>7 checks to detect cloaking\u003C/h2>\u003Ch3>1. Compare Google&#39;s view with yours in Search Console\u003C/h3>\u003Cp>In Google Search Console, open \u003Cstrong>URL Inspection\u003C/strong>, enter the page, and run \u003Cstrong>Test live URL\u003C/strong>. Then use \u003Cstrong>View tested page\u003C/strong> to see the HTML and screenshot Googlebot received. If the rendered HTML contains links, text or redirects you do not see in your own browser, investigate. This is the most reliable check for your own site because the request comes from Google&#39;s real crawler and IPs.\u003C/p>\u003Ch3>2. Check the Manual actions and Security issues reports\u003C/h3>\u003Cp>In the same Search Console property, open \u003Cstrong>Security &amp; Manual Actions\u003C/strong>. A manual action for &quot;Cloaking and/or sneaky redirects&quot; or a security issue for hacked content confirms Google has already detected a problem. Fix it before requesting review.\u003C/p>\u003Ch3>3. Compare responses by user agent\u003C/h3>\u003Cp>Request the page as a normal browser and as a crawler user agent, and compare status codes, redirects and content length:\u003C/p>\u003Cpre>\u003Ccode class=\"language-bash\">curl -sL -o browser.html -w &quot;%{http_code} %{url_effective}\\n&quot; -A &quot;Mozilla/5.0&quot; https://example.com/page\ncurl -sL -o bot.html -w &quot;%{http_code} %{url_effective}\\n&quot; -A &quot;Googlebot/2.1 (+http://www.google.com/bot.html)&quot; https://example.com/page\ndiff &lt;(wc -c &lt; browser.html) &lt;(wc -c &lt; bot.html)\u003C/code>\u003C/pre>\u003Cp>A big difference in size, title or final URL is a red flag. A clean result does not prove the page is clean: many setups decide by IP address, not user agent, which is why check 1 matters more.\u003C/p>\u003Ch3>4. Trace every redirect, including JavaScript\u003C/h3>\u003Cp>Use \u003Ccode>curl -sIL\u003C/code> to list server-side redirects, then load the page in a browser with DevTools open (Network tab, &quot;Preserve log&quot; on) to catch JavaScript and meta-refresh redirects that curl does not execute. Note any hop that only happens with certain parameters or after a delay.\u003C/p>\u003Ch3>5. Vary the referrer and click parameters\u003C/h3>\u003Cp>Some pages behave differently when they detect an ad click. Compare a direct visit with one that carries a referrer from a search engine or social platform and a click ID such as \u003Ccode>gclid\u003C/code>, \u003Ccode>fbclid\u003C/code> or \u003Ccode>ttclid\u003C/code> appended to the URL. If the content changes only when an ad parameter is present, ask why.\u003C/p>\u003Ch3>6. Vary location and device\u003C/h3>\u003Cp>Load the page from a mobile device and a desktop, and from the countries you target and one you do not. Legitimate localisation changes language, currency and legal text; it should not swap the product or offer. Document what changes and whether it is disclosed.\u003C/p>\u003Ch3>7. Inspect the server and site code\u003C/h3>\u003Cp>If you control the site, look where conditional logic usually hides: \u003Ccode>.htaccess\u003C/code> and web server rewrite rules, recently modified theme or plugin files, unknown PHP files, edge-worker or CDN rules, and tag-manager containers. Search for checks on user agent, IP ranges, referrer or \u003Ccode>gclid\u003C/code>. Compare file hashes with a clean copy of your platform.\u003C/p>\u003Ch2>How to verify a request really came from Googlebot\u003C/h2>\u003Cp>When reviewing server logs during an investigation, do not trust the user-agent string. Google recommends verifying crawlers with a reverse DNS lookup: the IP should resolve to a hostname on \u003Ccode>googlebot.com\u003C/code>, \u003Ccode>google.com\u003C/code> or \u003Ccode>googleusercontent.com\u003C/code>, and a forward lookup of that hostname should return the same IP. Google also publishes its crawler IP ranges as JSON files. Requests that claim to be Googlebot but fail this check are someone else.\u003C/p>\u003Ch2>Personalisation vs cloaking: where the line is\u003C/h2>\u003Cp>Not every difference is cloaking. Platforms generally allow:\u003C/p>\u003Cdiv class=\"lexical-table-container\">\n        \u003Ctable class=\"lexical-table\" style=\"border-collapse: collapse;\">\n          \u003Ctbody>\u003Ctr class=\"lexical-table-row\">\n        \u003Cth\n        class=\"lexical-table-cell lexical-table-cell-header-1\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Allowed (disclosed, same offer) \u003C/p>\n      \u003C/th>\n    \u003Cth\n        class=\"lexical-table-cell lexical-table-cell-header-1\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Not allowed \u003C/p>\n      \u003C/th>\n    \n      \u003C/tr>\u003Ctr class=\"lexical-table-row\">\n        \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Language or currency by location \u003C/p>\n      \u003C/td>\n    \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> A different product or offer for reviewers \u003C/p>\n      \u003C/td>\n    \n      \u003C/tr>\u003Ctr class=\"lexical-table-row\">\n        \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Mobile and desktop layouts \u003C/p>\n      \u003C/td>\n    \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Hiding text or links from users but showing them to crawlers \u003C/p>\n      \u003C/td>\n    \n      \u003C/tr>\u003Ctr class=\"lexical-table-row\">\n        \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Consent banners that vary by region \u003C/p>\n      \u003C/td>\n    \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Redirecting only real users to a page reviewers never see \u003C/p>\n      \u003C/td>\n    \n      \u003C/tr>\u003Ctr class=\"lexical-table-row\">\n        \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> A/B tests where crawlers see a normal variant \u003C/p>\n      \u003C/td>\n    \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Serving spam only to search engines \u003C/p>\n      \u003C/td>\n    \n      \u003C/tr>\u003Ctr class=\"lexical-table-row\">\n        \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Paywalls marked up as Google documents \u003C/p>\n      \u003C/td>\n    \u003Ctd\n        class=\"lexical-table-cell lexical-table-cell-header-0\"\n        \n        \n        style=\"border: 1px solid #ccc; padding: 8px;\"\n      >\n        \u003Cp> Content that changes only when an ad click is detected, to avoid review \u003C/p>\n      \u003C/td>\n    \n      \u003C/tr>\u003C/tbody>\n        \u003C/table>\n      \u003C/div>\u003Cp>The test is simple: would a reviewer and a typical user, given the same ad or search result, see substantially the same thing? For more on how the platforms draw this line, see \u003Ca href=\"https://deepclick.com/resources/blog/ad-cloaking-vs-url-cloaking-policy-line-2026/\">ad cloaking vs URL cloaking\u003C/a> and \u003Ca href=\"https://deepclick.com/resources/blog/what-is-website-cloaking/\">what website cloaking is\u003C/a>.\u003C/p>\u003Ch2>What to do if you find cloaking\u003C/h2>\u003Col class=\"list-number\">\u003Cli\n          class=\"\"\n          style=\"\"\n          value=\"1\"\n        >\u003Cstrong>On your own site:\u003C/strong> remove the conditional code or rules, update or remove compromised plugins, rotate credentials, and re-run check 1. If there is a manual action, submit a reconsideration request explaining what you fixed.\u003C/li>\u003Cli\n          class=\"\"\n          style=\"\"\n          value=\"2\"\n        >\u003Cstrong>On a partner&#39;s or affiliate&#39;s landing page:\u003C/strong> pause traffic to it, keep evidence (screenshots, HTML from each check, timestamps), and require a single page that all visitors see before resuming.\u003C/li>\u003Cli\n          class=\"\"\n          style=\"\"\n          value=\"3\"\n        >\u003Cstrong>On an inherited setup:\u003C/strong> document what each rule does and why, then remove anything that targets reviewers. Our article on \u003Ca href=\"https://deepclick.com/resources/blog/when-not-to-use-cloaking/\">when not to use cloaking\u003C/a> covers the risks in detail, and \u003Ca href=\"https://deepclick.com/resources/blog/domain-cloaking/\">domain cloaking\u003C/a> explains a different, often harmless meaning of the word.\u003C/li>\u003C/ol>\u003Cp>If you also need a landing-page protection solution that monitors domain reputation and helps keep ads running through review, see \u003Ca href=\"https://deepclick.com/product/shield/\">DeepClick Shield\u003C/a>.\u003C/p>\u003Ch2>FAQ\u003C/h2>\u003Ch3>How do I check if a website is cloaking?\u003C/h3>\u003Cp>Compare what Googlebot sees with what you see using Search Console&#39;s URL Inspection live test, then compare responses by user agent, referrer, click parameters, location and device. Consistent differences in content or redirects indicate cloaking.\u003C/p>\u003Ch3>Can I detect cloaking with curl?\u003C/h3>\u003Cp>Partly. curl can reveal user-agent-based differences and server redirects, but not JavaScript redirects or IP-based rules. Combine it with a browser check and Search Console.\u003C/p>\u003Ch3>Is showing different content by country cloaking?\u003C/h3>\u003Cp>Not if the offer is the same and the change is localisation such as language, currency or legal text. It becomes cloaking when reviewers or crawlers get substantially different content from users.\u003C/p>\u003Ch3>How does Google detect cloaking?\u003C/h3>\u003Cp>Google crawls from its own IPs, renders pages, compares crawler and user signals, and reviews reports. Ad platforms also re-review landing pages after approval, so a page that changes later can still be caught.\u003C/p>\u003Ch3>What happens if my site is caught cloaking?\u003C/h3>\u003Cp>In search, a manual action can demote or remove pages. In ads, the account can be suspended under circumventing-systems rules, and linked accounts may be affected.\u003C/p>\u003Ch2>Summary\u003C/h2>\u003Cp>To detect cloaking, look at the page the way each audience sees it: Googlebot through Search Console, crawlers and browsers through curl, ad clicks through referrer and click IDs, and real users across countries and devices. Then inspect the server for conditional rules. Fix anything that shows reviewers or crawlers a different page from users, and keep a record of what you checked.\u003C/p>\u003C/div>","https://deepclick.com/resources/blog/how-to-detect-cloaking",{"zh-CN":458,"en":458},[484],{"id":59,"title":485,"site":486,"image":488,"mobileImage":497,"targetUrl":505,"enabled":454,"postDateFrom":506,"postDateTo":507,"updatedAt":508,"createdAt":509},"2026.10.20 Jakarta summit (deepclick)",{"id":18,"key":437,"name":438,"prodHost":439,"testHost":440,"blogPath":441,"docPath":442,"zhPrefix":443,"deployHookTest":444,"deployHookProd":445,"brandAuthor":52,"brandKit":487,"enabled":454,"updatedAt":455,"createdAt":456},{"logoLight":19,"logoDark":19,"primaryColor":451,"accentColor":452,"tagline":453,"wechatName":19,"xhsHandle":19,"wechatQr":19},{"id":489,"alt":490,"updatedAt":491,"createdAt":491,"url":492,"thumbnailURL":19,"filename":493,"mimeType":464,"filesize":494,"width":495,"height":496},1068,"TrafficTalking Jakarta summit 2026.10.20 (en)","2026-09-04T10:44:12.868Z","https://cms-r2.deepclick.com/traffictalking-jakarta-banner-en-9f7ee22f6562.png","traffictalking-jakarta-banner-en-9f7ee22f6562.png",1565832,2000,400,{"id":498,"alt":499,"updatedAt":500,"createdAt":500,"url":501,"thumbnailURL":19,"filename":502,"mimeType":464,"filesize":503,"width":504,"height":496},1070,"TrafficTalking Jakarta summit 2026.10.20 (mobile-en)","2026-09-04T10:44:23.791Z","https://cms-r2.deepclick.com/traffictalking-jakarta-banner-mobile-en-3ef8e652bbac.png","traffictalking-jakarta-banner-mobile-en-3ef8e652bbac.png",580158,1200,"https://luma.com/g4tnhetc","2026-09-03T00:00:00.000Z","2026-10-04T00:00:00.000Z","2026-09-22T01:42:15.402Z","2026-09-04T10:45:03.031Z",1796180267020]