where do i put structured data snippets code like Corporate contacts, Sitelinks search box, Company name url and logo, social profiles of an organization in website. Currently i placed in home page. but i dont know whether its the correct way or not. i have gone through with some of the corporate profiles like IBM, and google they didn't place their code in home page. Finally i want to know how to create the highlighted thing with red color i.e is google's profile for my companies profile
Try Google...https://developers.google.com/search/docs/guides/intro-structured-data Here is the Testing Tool: https://search.google.com/structured-data/testing-tool
Thank you for ur answer fishook, i have gone through with that links previously, but what my concern is how to prepare that profile for my company...and where to place the code in the website
1. ) Where to place the code. Look Mid Page, it explains where to place the code. https://developers.google.com/search/docs/guides/intro-structured-data#common-use-cases There are 3 types you can use, JSON-LD, Microdata, RDFa. According to Google, it looks like JSON-LD is what it likes. Markup is placed inside a script tag in the head of the HTML page. Microdata, placed within HTML content. 2.) How to create the code for JSON-LD http://json-ld.org/playground/ We used it on our site to identify our company product and price. Http://Rcfishingworld.com
thanks for your reply, you placed the code in the page, but social profiles and customer service snippet is not yet published in the search results. will search engine publish them in search results ? or else we write it for crawlers ? TIA
Here is an some examples of code. When you understand the syntax it is very easy, also the rest of the possibilities like company info, pictures etc.: Company Info Example <script type='application/ld+json'> { "@context": "http:// www. schema .org", "@type": "LocalBusiness", "name": "Your Name", "url": "https:// domain.xx /", "logo": "https:// domain.xx /picture/logo.jpg", "image": "https:// domain.xx/", "description": "your description text", "priceRange": "$$", "address": { "@type": "PostalAddress", "streetAddress": "address", "addressLocality": "City", "addressRegion": "region", "postalCode": "postalcode", "addressCountry": "Country" }, "telephone": "+1 0800 YOUR NUMBER", "geo": { "@type": "GeoCoordinates", "latitude": "55.0", "longitude": "55.0" }, "openingHours": "Mo, Tu, We, Th, Fr 08:00-20:00, Sa 10:00-15:00", "contactPoint": { "@type": "ContactPoint", "telephone": "+1 0800 YOUR NUMBER", "contactType": "Sales" } } </script> Snippets Example <script type="application/ld+json"> { "@context":" http:// schema . org", "@type":"ItemList", "itemListElement":[ { "@type":"ListItem", "position":1, "url":"https:// domain. xx/page.html", "name":"Your snippet text" }, { "@type":"ListItem", "position":2, "url":"https:// domain . xx/page.html", "name":"Your snippet text" } ] } </script>