The Beginner's Guide to Structured Data for Organizing & Optimizing Your Website

It’s Friday afternoon, and your team is jonesing for Happy Hour. For the last few weeks, you’ve been going to the same ol’ bar by your office, so you decide it’s time to try something new. What do you do? Step outside and walk around until you find a new spot? No, you hop on Google and let it conduct the search for you. Your ideal post-work pub is nearby, open right after work, and offers a few gluten-free options so your entire team can partake. You plug these criteria into Google, and you’ve got three viable options at your fingertips — in a handy map format to boot. Pause. Have you ever wondered how Google can whip up such accurate, precise answers in so little time … and present them in such an easy-to-read way? Moreover, what are those restaurants doing to get featured so dominantly on Google’s search engine results pages (SERPs)? Heck, I’d love my business to pop up when consumers search for criteria relevant to me … wouldn’t you? No one knows exactly how Google’s algorithm works — but, there are a few ways to organize and optimize your website content so Google knows what content to feature on the SERPs for the various searches people conduct to find you. This is where structured data comes in. Structured data can make your organization more visible to potential customers and increase your click-through rate by up to 30%. Not sure what structured data is? That’s OK. By the end of this guide, you’ll be a structured data wizard — and your website will reap the benefits. We know that what searchers see online is much different than what search engines see. While searchers see this... Source … search engines see this: View the source code for any website by going to View > Developer > View Source. This behind-the-scenes code tells browsers how information should be organized on the website (as part of its website development) and tells web crawlers what’s on the page. Structured data is also at play here. Embedded tags of code (a.k.a. “markup”) throughout the HTML of a webpage tell Google and other search engines what information to display in the SERPs and what this information represents. It also helps social media platforms synthesize your social media posts into snippets that preview the content using Open Graph Protocol (which we touch on later). This markup is important. It educates search engines on what specific content is on the page. This creates more relevant, informed searches and makes the site a candidate for enhanced results like featured snippets, rich snippets, image and video carousels, knowledge boxes, and more (which we'll touch on later). Google’s SERPs weren’t always as easy on the eye as they are today. Don’t remember? Check out this Google result for “pool tables” from 2008. Source Let’s compare. Here’s the same result from today. Wow. That’s a world of difference. Not only are these results easier to read, but the extra features make for a much more informative, intelligent searching — and shopping — experience. Between the sponsored content and live map (plus the product carousel, question snippets, and related searches not shown in the screenshot), Google provides pretty much everything I need to know about pool tables. Heck, sometimes I search for something and find the answer right on the SERP — I don’t even have to click on a result. Does that ever happen to you? If it has, you can thank structured data. How does structured data work? At this point, you might be asking: How can there exist a language (markup) that is consistently recognized by search engines and people alike? In order for this markup to be accurately and universally understood, there are standardized formats and vocabularies that should be used. Let’s go back to basics for a minute. When conveying information, whether you’re communicating with a human or a computer, you need two main things: vocabulary (a set of words with known meanings) and syntax (a set of rules on how to use those words to convey meaning). Most terminology surrounding structured data markup can be organized into these two concepts — vocabularies and syntaxes — and webmasters can combine whichever two they need to structure their data (with the exception of Microformats). VocabulaRY SYNTAX Schema.org Microdata DCMI JSON-LD FOAF RDFa Okay … that’s enough of the fancy developer speak. What should you be using for your structured data? Schema.org is the accepted universal vocabulary standard for structured data. It was founded and is currently sponsored by Google, Bing, Yahoo, and Yandex. It’s flexible, open-sourced, and constantly updated and improved. Note: Schema is called such because it features markup for a wide variety of schemas — or data models — for different types of content. Here’s an example of Schema Markup language (which is good for SEO) pulled from my article on branding. "@context" : "http://schema.org", "@type" : "Article", "name" : "The Ultimate Guide to Branding in 2019" "author" : { "@type" : "Person", "name" : "Allie Decker" }, "datePublished" : "2019-04-02", "image" : "https://blog.hubspot.com/hubfs/branding-2.jpg", "url" : "https://blog.hubspot.com/marketing/branding", "publisher" : { "@type" : "Organization", "name" : "HubSpot" As for syntax, there’s no correct answer. Google recommends JSON-LD (and defaults to that syntax when using its Structured Data Markup Helper — as you see below). JSON-LD uses Javascript code and embedded widgets to dynamically display your content, which is typically a simpler development process. Google also recognizes Microdata and RDFa. Both of these syntaxes use HTML to identify properties within structured data. Microdata is typically only used in the page body, whereas RDFa is commonly used in both the page head and body. On the other hand, JSON-LD is only placed in the page head, meaning, for certain types of markup, JSON-LD makes it so you don't have to navigate subheaders, supporting copy, and related styling that's included in the page's HTML. This is why JSON-LD is considered simpler than the other two. Ultimately, it all depends on the data you're trying to implement, what the benefit is to your website, and what would be easier to share with your team. Structured Data and Mobile Structured data affects mobile a little differently — through Accelerated Mobile Pages (AMP). Accelerated Mobile Pages is a Google-backed, open source project to help all mobile pages load quickly regardless of device. Pages with AMP markup appear within Google’s special SERP features, such as Top Stories and News Carousels. Here’s how to create an AMP HTML page. Source Structured Data and Social Media Structured data markup works a little differently for social platforms. This requires Open Graph Protocol and similar languages that ensure your website and blog content appear in an easy-to-read way when you promote this content on a social network. Two common social media features that use Open Graph Protocol are Pinterest Rich Pins and Twitter cards. We talk more about how to do this below. Here’s an example of Open Graph Protocol language (which is good for social media) using the same source.

https://probdm.com/site/NDg2Nw

Comments