This page describes how to use the JSON-LD format using the Schema.org scheme to indicate paid content on your site using the Creativeworks properties. This structured description helps the Google search engine to distinguish paid access to materials from deception methods prohibited by spam rules. Read more about the subscription and paid content in the relevant manuals.
This manual is intended only for those materials that you want to index and show in the search. If you do not plan to index paid content, you can not continue reading.
Below is an example of a JSON-LD code for a news article taking into account paid content.
In the page of the page you need to wrap the paid parts of the content into a separate class, for example, paywall. In JSON-LD, indicate the relevant properties that Google report that this block is not available for free.
To successfully display pages with paid content in the search results of your site in Google, you must adhere to general recommendations on structured data and technical requirements. Pay special attention to the following rules:
cssSelector use only class selectors, for example, .paywall.If your site has content with subscription access or requiring registration so that it is indexed, follow these steps to add markings:
<div class="paywall">платный контент</div>.hasPart Indicate blocks with paid content using a class selector from step 1.If there are several paid blocks on the page, indicate in the JSON-LD a class of classes for each of them.
Example: "hasPart": [{"@type": "WebPageElement", "isAccessibleForFree": false, "cssSelector": ".section1"}, {"@type": "WebPageElement", "isAccessibleForFree": false, "cssSelector": ".section2"}]
This marking is suitable for the type of Creativework and the following more specific subtypes:
You can combine types, for example: "@type": ["Article", "LearningResource"].
ISACCESSIBLEFORFREE - The logical value indicating whether the material is available for free. For paid blocks, set false.
Haspart.csselector -CSS sector for choosing blocks with paid access.
Haspart.@type - It must be WebPageElement.
Haspart.isaccessibleForfree - Indicate false For paid parts.
amp-subscriptions.Reviews and modes of AI use different sources, including web content, and obey the rules for pre-viewing in the search.
So that Google can scan and index your content, including paid parts, check Googlebot and Googlebot-News access to your pages.
For testing, use the URL Insption tool.
To exclude some parts of the content from snippets in search results, use the attribute data-nosnippet V .
Limit the length of the snippets using meta-tag max-snippet In Robots.
For all questions, you can contact the SEO company CEO by email info@seo.computer Or through WhatsApp +79202044461.
ID 10