Article
Paywalled content markup: stay clear of cloaking
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 setup | Do you need the markup? |
|---|---|
| Free articles only | No |
| Members-only posts you want in Google | Yes (Google Search Central) |
| Registration required to read, and you want it indexed | Yes (Google Search Central) |
| Paid content you don’t want indexed | No (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)
- Wrap each paywalled section in a class. For example, a div with class paywall. (Google Search Central)
- Add your Article or NewsArticle structured data. (Google Search Central)
- 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)
- 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)
"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
| Rule | Detail |
|---|---|
| Formats | JSON-LD and microdata are accepted (Google Search Central) |
| Nesting | Don’t nest content sections (Google Search Central) |
| Selectors | Only use.class selectors for cssSelector (Google Search Central) |
| General rules | The 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)
| Approach | What it means |
|---|---|
| Metering | A quota of free articles before the paywall appears (Google Search Central) |
| Lead-in | A 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
- Using an ID selector or a tag name instead of a class in cssSelector. Google allows only.class selectors. (Google Search Central)
- Nesting one gated section inside another. (Google Search Central)
- Marking up the free version of a page but not the AMP version. (Google Search Central)
- Adding paywall markup to content you don’t want indexed anyway. (Google Search Central)
Key takeaway
What to do next
- Decide which gated content you want indexed. (Google Search Central)
- Give each gated block a class name. (Google Search Central)
- Add isAccessibleForFree false and a hasPart with the cssSelector. (Google Search Central)
- Run the Rich Results Test. (Google Search Central)
- 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)