What is website schema
Let me tell you fast what is schema? Schema is a google console code it's mostly used to describe your post, product, etc. Now, what is the website schema? Website schema is one type of schema it's used to describe your site on google.What mean by automatic schema
Automatic schema helps you to use schema easily, let me give an example: if you use manual schema then you need to set up this by your self but if you use automatic schema then you just need to paste a code on your blog theme editor and done. Your schema adding done automatically.
How to use automatic website schema
For using this automatic schema at 1st go to your theme editor and add the below code before the <head> tag.
<script type='application/ld+json'>{ "@context": "https://schema.org", "@type": "WebSite", "url": "<data:blog.homepageUrl/>", "potentialAction": { "@type": "SearchAction", "target": "<data:blog.homepageUrl/>?q={search_term}", "query-input": "required name=search_term" } }</script>
Now after adding done this code just save the theme. Now if you want to see the demo of this schema how it's work just open your blog then go to page source and search for your blog URL you will see a demo.
Post a Comment