Make the LocalBusiness schema code for your website
Find your business. You get the code, filled in, to paste into your home page.
Your code
It has your name, address, phone and website as Google lists them. Check them before you paste the code.
Where do I paste it?
- WordPress: Install the free WPCode plugin. Open Code Snippets, then Header & Footer. Paste the code in the Header box and save.
- Wix: Open Settings, then Custom Code. Press Add Custom Code, paste the code, pick Head and your home page, and apply.
- Squarespace: Open Settings, then Code Injection. Paste the code in the Header box and save.
How to use it
- Type your business name and your town, then press "Find my business". Pick your business.
- Pick the kind of business that fits you best.
- Check the name, address and phone in the code. They must match your Google profile.
- Press "Copy code" and paste it into the head of your home page. The box above shows where for WordPress, Wix and Squarespace.
- Test your home page at validator.schema.org. It lists your business with no errors.
Questions
What is LocalBusiness schema?
Code in your page that tells Google your business name, address, phone and website in a form it reads at once. Customers do not see it.
Does schema move me up on Google?
Not by itself. It helps Google and AI tools match your website to your Google profile. Your reviews, your profile and the words on your website count more.
Where do I put the code?
In the head of your home page. One copy is enough. Read the full guide.
Must the code match my Google profile?
Yes. Use the same name, address and phone, letter for letter. If you hide your address on Google, the code has only your town and state.
Want the full picture?
The free checkup looks at your business on Google Maps, your Google profile, your website, and what ChatGPT says, then shows you what to fix first.