Home / Articles

Article

Paywalled content markup: stay clear of cloaking

By Nick Quick, with the Be In GEO lab Published: Dec 2, 2026 Last checked: Nov 12, 2026

Be In GEO article card: "Paywalled content markup: stay clear of cloaking", with curly braces around lines of structured data.

Short answer

If you want Google to index content that sits behind a paywall or a members-only login, mark it with isAccessibleForFree set to false and point a cssSelector at the gated section. (Google Search Central) Google says this structured data helps it tell paywalled content apart from cloaking, which violates its spam policies. (Google Search Central)

Cloaking means serving Googlebot different content from what users get. (Google Search Central) A paywall can look a lot like that from the outside, which is why the markup exists.

Do you need this at all?

Google is clear that this only applies to content you want crawled and indexed. (Google Search Central) If you don’t want paywalled content indexed, you can skip it. (Google Search Central)

Your setupDo you need the markup?
Free articles onlyNo
Members-only posts you want in GoogleYes (Google Search Central)
Registration required to read, and you want it indexedYes (Google Search Central)
Paid content you don’t want indexedNo (Google Search Central)

Our read: newsletter platforms and membership plugins often handle this for you. Check what your page actually outputs before adding a second copy by hand.

How to add it

Google’s steps, using NewsArticle as the example: (Google Search Central)

  1. Wrap each paywalled section in a class. For example, a div with class paywall. (Google Search Central)
  2. Add your Article or NewsArticle structured data. (Google Search Central)
  3. Add the paywall properties. Set isAccessibleForFree to false, and add a hasPart of type WebPageElement with its own isAccessibleForFree false and a cssSelector matching your class. (Google Search Central)
  4. Validate with the Rich Results Test and fix any critical errors. (Google Search Central)

The added part looks like this in Google’s example: (Google Search Central)

Text
"isAccessibleForFree": false,
"hasPart": {
  "@type": "WebPageElement",
  "isAccessibleForFree": false,
  "cssSelector": ".paywall"
}

If you have more than one gated section on a page, list the class names as an array. (Google Search Central) Do this on every version of the page, including AMP and non-AMP. (Google Search Central)

The rules

RuleDetail
FormatsJSON-LD and microdata are accepted (Google Search Central)
NestingDon’t nest content sections (Google Search Central)
SelectorsOnly use.class selectors for cssSelector (Google Search Central)
General rulesThe general structured data guidelines still apply (Google Search Central)

Watch out

Watch out: if you break these policies, Google says your page might not be eligible to show in results. (Google Search Central)

Note

Note: if you don’t want the gated text reaching the browser at all, Google says to pick a paywall that doesn’t send the paywalled content to the browser. (Google Search Central) If you use a client-side JavaScript paywall, Google has separate guidance for that. (Google Search Central)

How much to give away: Google’s sampling advice

Google’s flexible sampling guidance describes two approaches. (Google Search Central)

ApproachWhat it means
MeteringA quota of free articles before the paywall appears (Google Search Central)
Lead-inA portion of the article shown, not the full text (Google Search Central)

Some numbers from Google’s guidance:

  • Google thinks monthly metering gives more flexibility than daily. (Google Search Central)
  • For most daily news publishers, it expects the right value to fall between 6 and 10 articles per user per month. (Google Search Central)
  • As a starting point, it suggests 10 articles per month for Google search users. (Google Search Central)
  • Its analysis shows general satisfaction starts to degrade significantly when paywalls are shown more than 10% of the time. (Google Search Central)

Google also calls showing the first few sentences above the paywall a good practice. (Google Search Central)

Our read: most small creators aren’t daily news publishers, so treat those numbers as a reference point. A lead-in on every gated post is the easy win.

Why the amount you gate matters

Google says its experiments with publishing partners found that even minor changes to sampling levels could degrade user experience and, as access is restricted, unintentionally affect article ranking in Google Search. (Google Search Central) It also found that people asked to subscribe after seeing only a little content lose interest quickly. (Google Search Central)

Our read: that’s the trade-off in one line. Gate too hard and both readers and search see less of you. For a small creator, a generous lead-in and a clear offer usually beat a wall on the first paragraph.

Common mistakes

  1. Using an ID selector or a tag name instead of a class in cssSelector. Google allows only.class selectors. (Google Search Central)
  2. Nesting one gated section inside another. (Google Search Central)
  3. Marking up the free version of a page but not the AMP version. (Google Search Central)
  4. Adding paywall markup to content you don’t want indexed anyway. (Google Search Central)

Key takeaway

What to do next

  1. Decide which gated content you want indexed. (Google Search Central)
  2. Give each gated block a class name. (Google Search Central)
  3. Add isAccessibleForFree false and a hasPart with the cssSelector. (Google Search Central)
  4. Run the Rich Results Test. (Google Search Central)
  5. Show a lead-in above the paywall. (Google Search Central)

Get the worksheet

Want to see which sites AI answers cite for the questions your customers ask? Grab the free worksheet at beingeo.com/checklist. You’ll also get short emails with each new teardown.

Read how Be In GEO works for how we source and check our pages.

FAQ

Is a paywall cloaking?

Not if you mark it up. Google says the structured data helps it tell paywalled content from cloaking. (Google Search Central)

Can I use an ID selector like #paywall?

No. Google says to use only.class selectors. (Google Search Central)

Sources