The short answer
Add business details to your homepage, in a format called schema markup. It's a block of code your visitors never see, stating your kind of business, name, address, phone number and hours.
Our free generator writes it for you in a couple of minutes. The rest of this guide explains what goes in it and how to check it.
Why Google has to guess
Your homepage might say “Family smiles since 2004” in a beautiful font. A person understands that. A search engine has to work out that you're a dentist, which town you're in and whether you're open on Saturdays, from whatever words happen to be on the page.
AI assistants have the same problem. When someone asks for a dentist that's open Saturdays, an assistant can only answer with businesses whose details it can read.
What it looks like
This is a shortened example for a made-up practice. The format is called JSON-LD, and it's the one Google recommends.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dentist",
"name": "Brightside Family Dental",
"url": "https://brightsidedental.example",
"telephone": "+1-512-555-0142",
"address": {
"@type": "PostalAddress",
"streetAddress": "100 Example Street",
"addressLocality": "Austin",
"addressRegion": "TX",
"postalCode": "78701"
}
}
</script>What to include
- Your kind of business. Pick the most specific type that fits:
Dentistrather thanLocalBusiness,Plumberrather thanHomeAndConstructionBusiness. - Your name, address and phone number, exactly as they appear on your Google Business Profile.
- Your hours, including any days you're closed.
- Your website address and your profiles, such as Facebook or Yelp, so all of them can be tied to the same business.
Matching details everywhere is the point. Your site and your Google Business Profile should back each other up, so keep both, and update both when something changes.
If you go to your customers
Plumbers, cleaners and other businesses without a storefront don't need to publish a home address. Leave the street address out and list the area you serve instead. In our generator, tick “I go to my customers” and it does this for you.
Add it to your site
- Fill in the generator and copy the code.
- Paste it into the header of your homepage. On WordPress, use your SEO plugin's schema settings or a header-code plugin. On Squarespace, use Code Injection, in the header. On Wix, use Settings, then Custom code. On Shopify, edit your theme's
theme.liquid, before</head>. - Test the page with Google's Rich Results Test.
- Run the free check again to confirm it can read your details.
What this won't do
Schema won't earn you review stars or a special result by itself. Google decides what to show, and it doesn't show review stars for your own business from your own site's markup. What it does is help Google and AI assistants understand your details and trust them.
The details that matter differ by field. See what a monthly plan covers for dental practices, home services businesses, auto shops and restaurants.