Classification: Required · Last updated: April 2026
WebSite schema markup tells Google about your website as a whole — its name, URL, search functionality, and the organization that publishes it. This structured data directly controls how your site name appears in search results and whether Google displays a sitelinks search box for your brand.
WebSite schema (schema.org/WebSite) is a JSON-LD structured data type that describes an entire website as an entity. While Organization schema tells Google who you are, WebSite schema tells Google about the website itself — what it's called, where it lives, and what search functionality it offers.
Google uses WebSite markup for two specific features:
<title> tags, often getting it wrongEvery site that appears in Google search results has a site name displayed. Google explicitly states that WebSite structured data is the primary way to control what that name is. Without it:
According to Google's documentation for WebSite structured data:
"WebSite""https://yourstore.com")SearchAction object that tells Google your site has internal search functionality. This is what enables the sitelinks search box. You specify your search URL template with a {search_term_string} placeholder that Google replaces with the user's query"en-GB", "en-US"). Helps Google understand your target audience{
"@context": "https://schema.org",
"@type": "WebSite",
"@id": "https://yourstore.com/#website",
"name": "Your Store Name",
"url": "https://yourstore.com",
"publisher": {
"@id": "https://yourstore.com/#organization"
},
"potentialAction": {
"@type": "SearchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "https://yourstore.com/search?q={search_term_string}"
},
"query-input": "required name=search_term_string"
},
"alternateName": "YSN",
"inLanguage": "en-GB"
}
The sitelinks search box is one of the most visible benefits of WebSite schema. When a user searches for your brand name, Google may display a search box within your result that lets users search your site directly. To enable this:
potentialAction property with a valid SearchActionurlTemplate must point to your actual search page with a working query parameterhttps://yourstore.com/search?q={search_term_string}Note: Google doesn't guarantee the sitelinks search box will appear. It's an algorithmic decision based on your site's prominence, user behaviour, and the quality of your search functionality.
Google's documentation explicitly states that WebSite structured data is the primary source for determining your site name in search results. The site name appears above your URL in every search result for your domain. Getting this right matters because:
potentialAction. Shopify's default search URL is /search?q= — make sure it matches your actual search pathpublisher reference to your Organization. This breaks the entity connection in Google's knowledge graphSchema Clinic checks for WebSite schema on your homepage during every audit. Missing WebSite schema triggers an error and a Health Score penalty. If present, the audit validates that the name, URL, and search action are all correctly configured.
Pro plan users can generate WebSite schema with all required and recommended properties populated from their store data, including a working Shopify search action and @id entity linking to their Organization.