You have generated clean LocalBusiness schema - now it needs to live in the right place on your site. The short answer is the head section of your page, and the good news is that essentially every website platform gives you a way to add it, even without touching code. Here is how, platform by platform.
On WordPress, the easiest route is a header-scripts plugin like 'Insert Headers and Footers' or the header section of your SEO plugin, where you paste the full snippet into the header box. On Wix, use Settings then Custom Code, add a new snippet, paste it, and set it to load in the head on all pages or just your homepage. On Squarespace, go to Settings, Advanced, Code Injection, and paste it into the Header field. Each of these puts the markup exactly where search engines look for it.
If you have a custom-built site, paste the entire snippet - including the script tags - directly into the head section of your HTML, ideally on your homepage and contact page. The markup is self-contained JSON-LD, so it does not interfere with anything else on the page and does not need to be visible to visitors. It simply sits in the head and speaks to the search engines.
Place it on your homepage at minimum, since that is the page most strongly associated with your business as a whole. Adding it to your contact page as well reinforces the location and contact signals. You do not need it on every single page - the homepage and contact page cover the important cases for a local business.
Once it is live, always test. Google's Rich Results Test lets you enter your URL or paste the code and instantly see whether it parses correctly and what enhancements you may be eligible for. The Schema.org validator is a good second check. This final step takes a minute and gives you confidence the markup is doing its job rather than sitting there with a silent error. Generate, paste into the head, test - and you are done.
How to use it, step by step
- Generate and copy your LocalBusiness schema snippet.
- On WordPress, use a header-scripts plugin's header box.
- On Wix use Custom Code, on Squarespace use Code Injection (Header).
- On custom sites, paste the full snippet into the <head>.
- Validate with Google's Rich Results Test before you finish.
Try the Schema Generator now
It's free, takes under a minute, and needs no signup. Generate yours, then book a free call and we'll help you turn the results into a plan.
Open the Schema Generator → Book a free call →