Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Flexible Sampling, Metering and Paywall Structured Data

How to set article metering and lead-in sampling, mark paywalls with CreativeWork JSON-LD, and avoid cloaking penalties in search.

This page summarizes Google Search documentation on flexible sampling for subscription publishers, plus structured data for paywalled content and how Google crawlers treat login and paywall pages. It is aimed at news and subscription sites that want referral traffic from search without violating spam policies on cloaking.

Flexible sampling: what metering and lead-in mean

Section titled “Flexible sampling: what metering and lead-in mean”

Google defines two sampling patterns publishers can use before a full paywall (subscription or registration):

There are two types of sampling we advise: metering, which provides users with a quota of articles to consume before requiring users to subscribe or log in, after which paywalls will start appearing; and lead-in, which offers a portion of an article’s content without it being shown in full.

— Google, Flexible Sampling general guidance

Metering is a per-user quota of free articles; after it is used up, the paywall appears. Lead-in shows part of the article (often the opening sentences) even when the meter is exhausted, so the page is not a blank wall. Google ran experiments with publishing partners and warns that small sampling changes can hurt user experience and, when access is restricted, can unintentionally affect article ranking in Google Search—so changes should be cautious and measured.

Why monthly metering is usually safer than daily

Section titled “Why monthly metering is usually safer than daily”

In general, we think that monthly, rather than daily metering provides more flexibility and a safer environment for testing. The user impact of changing from one integer value to the next is less significant at, say, 10 monthly samples than at 3 daily samples.

— Google, Flexible Sampling general guidance

Monthly metering also concentrates paywall impressions on highly engaged readers (who are more likely to subscribe) while giving newer visitors time to see value before hitting a barrier. In Google’s wording, paywall covers both paid subscription and free registration gates.

How many free articles per month for news publishers

Section titled “How many free articles per month for news publishers”

There is no universal optimum. For most daily news sites, Google expects roughly 6–10 articles per user per month to balance experience and conversion. A practical starting point is 10 articles per month for users arriving from Google Search, then iterate. Publishers should compare the share of search users who currently hit a paywall and pick a monthly cap that yields a similar rate; you can reduce the quota later once metrics are stable. See How much content? in the same guide for the full rationale.

Lead-in: partial article above the paywall

Section titled “Lead-in: partial article above the paywall”

After the meter runs out, showing the first few sentences above the fold of the paywall is recommended practice:

By exposing the article lead, publishers can let users experience the value of the content and so provide more value to the user than a page with completely blocked content. Lead-in also generates user curiosity about how article continues, which may assist in conversion.

— Google, Flexible Sampling general guidance

Lead-in complements metering: it does not replace a quota, but improves what users see when the quota is gone.

Sampling changes: traffic, conversion and satisfaction limits

Section titled “Sampling changes: traffic, conversion and satisfaction limits”

Publishers should test sampling values against referral traffic and conversion. User research cited by Google shows that asking users to subscribe after they have seen very little content sharply reduces interest. Satisfaction tends to fall when paywalls are shown more than 10% of the time (often meaning about 3% of the audience has seen a paywall). Approaching that threshold risks alienating users who are not yet convinced of the content’s value.

Sites with stronger analytics can narrow targeting: users who consistently exhaust the monthly allowance might get a lower sample limit, while others keep a more generous quota—reducing overall satisfaction risk. Details are in Making Changes.

Signal Guidance from Google
Meter period Prefer monthly over daily for safer tests
News starting range 6–10 articles / user / month
Paywall impression rate Caution above ~10% of views
Audience exposed ~3% exposed often correlates with that 10% view rate

Paywalled content and cloaking: structured data role

Section titled “Paywalled content and cloaking: structured data role”

Why Google asks for markup on paywalled sections

Section titled “Why Google asks for markup on paywalled sections”

Enclose paywalled content with structured data in order to help Google differentiate paywalled content from the practice of cloaking, where the content served to Googlebot is different from the content served to users.

— Google, Flexible Sampling general guidance

Cloaking—serving different content to crawlers than to users—violates spam policies. JSON-LD or microdata on a CreativeWork (for example NewsArticle) tells Google which DOM regions are not free. The paywalled content structured data guide applies only if you want paywalled sections crawled and indexed; if you do not want that content indexed, that guide says you can stop there.

Crawler access without sneaking past login

Section titled “Crawler access without sneaking past login”

By default, pages that are not on the open web (for example behind login) are not crawled:

By default, if a page isn’t accessible on the open web — for example, if the content is behind a login page — our crawlers can’t access it, either. We have specific guidance for site owners if they want to give Google explicit permission to access subscription pages (for example, so that Google can refer users to that content). If you choose to provide subscription access to our crawlers, you can use structured data to continue showing human visitors a login screen without triggering our rules on spam.

— Google, Things to know about Google’s web crawling

Explicit crawler permission plus correct markup separates legitimate paywalls from deceptive serving. Preview controls (mentioned in the same crawling doc) can limit how subscription text appears in snippets.

CreativeWork markup: isAccessibleForFree and hasPart

Section titled “CreativeWork markup: isAccessibleForFree and hasPart”

Use schema.org JSON-LD on the article. Set isAccessibleForFree to false at the work level and describe walled regions with hasPart → WebPageElement:

  • isAccessibleForFree: false on each walled part
  • cssSelector: class selectors only (for example .paywall)
  • Do not nest content sections in the markup model
  • JSON-LD and microdata are both acceptable

Wrap each walled block in a class in the HTML, then point cssSelector at that class. Apply markup on all page variants (AMP and non-AMP). Full steps and examples are in Add markup to paywalled content.

Illustrative fragment (properties stressed in Google’s example):

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

Use one class per walled region and pass hasPart as an array, each element with its own cssSelector (for example .section1, .section2). See Multiple paywalled sections.

Violations of paywalled structured data rules can make a page ineligible for Search; Google points publishers to spammy structured markup policies from the same guide.

Google added documentation on JavaScript-based paywalls because the pattern makes it hard to tell automatically which content is walled (Search documentation updates). If you use client-side JavaScript, follow using JavaScript to implement paywalled content (linked from the structured data guide—not a separate URL in this cluster).

For AMP pages with paywalls:

  • Use amp-subscriptions where appropriate
  • Configure authorization so Google bots (and others, per your policy) receive the access you intend
  • Keep the same bot access policy on AMP and non-AMP versions to avoid content mismatch errors in Search Console

See AMP considerations.

  • Treating paywalls like cloaking — different HTML for Googlebot vs users without CreativeWork markup and permitted crawler access.
  • Daily meters set too low — large UX swings when changing integer quotas; monthly metering is usually easier to tune.
  • Aggressive paywall rates — exceeding ~10% paywall views without monitoring satisfaction and referrals.
  • Invalid selectors — cssSelector must be a class selector; nested sectional markup breaks guidelines.
  • AMP / non-AMP mismatch — bots get different content on paired URLs.
  • JS-only walls — harder for Google to classify; extra care per updated JavaScript paywall guidance.
  1. Confirm your sampling policy (monthly quota, lead-in) matches Flexible Sampling general guidance and track paywall view rate against the ~10% caution level.

  2. For indexed paywalled articles, verify class-wrapped sections and JSON-LD (isAccessibleForFree, hasPart, cssSelector) using the validation steps in Structured data for subscription and paywalled content.

  3. Ensure subscription pages you want in Search grant explicit crawler access as described in Things to know about Google’s web crawling, with structured data so human visitors still see login or paywall UI.

  4. For JavaScript or AMP implementations, re-read paywalled content guidelines and the JavaScript paywall update note; align AMP and canonical bot policies.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact sentence you are asking about, and we will correct or clarify it.