How to add the code to your site
- Fill in the form. The code updates as you type.
- Copy the code and paste it into your home page, inside the <head> section or anywhere in the page.
- On WordPress, a plugin for adding code to the header does the job. On Wix and Squarespace, look for custom code or code injection in the site settings.
- Test the page with Google's Rich Results Test, and update the code whenever your details change.
Keep the details the same everywhere: your site, your Google Business Profile and any directories. Matching details are easier for Google and AI tools to trust.
Common questions
What is LocalBusiness schema?
A small block of code, in a format called JSON-LD, that describes your business to search engines: your name, type of business, location, hours and contact details. Visitors don't see it.
Where do I put the code?
On your home page, inside the head section or anywhere in the page. One copy is enough. If your site builder already adds business schema, update that instead of adding a second one.
I visit customers and don't have a storefront. Should I include my address?
Tick the box to hide your street address. Your town, region and ZIP code still tell search engines where you're based, and the areas you serve show where you work.
Will schema help me rank higher?
Not on its own. It helps search engines and AI tools read your details correctly and can make you eligible for richer results, but it doesn't replace good pages and reviews.
Why can't I add reviews or star ratings?
Google doesn't show star ratings from reviews a business publishes about itself, and marking them up can count against you. Ask happy customers to leave reviews on your Google Business Profile instead.