Google Article Schema
Add Google article schema to your Webflow site with this custom script. This allows you to let Google know that there's a relevant article and the necessary information to markup via a schema.
Add Google article schema to your Webflow site with this custom script. This allows you to let Google know that there's a relevant article and the necessary information to markup via a schema.
How to add it
- Add the code to your pages head custom code section
- Update the code with relevant CMS or article information
The code
Javascript
<!-- Add to head section -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://www.YOURDOMAIN/FOLDER/SLUG"
},
"headline": "YOUR-TITLE",
"image": "IMAGE-URL",
"datePublished": "DATE",
"dateModified": "DATE",
"author": {
"@type": "Organization",
"name": "CLIENT NAME"
},
"publisher": {
"@type": "Organization",
"name": "CLIENT NAME",
"logo": {
"@type": "ImageObject",
"url": "STATIC LOGO URL"
}
},
"description": "DESCRIPTION"
}
</script>