Back to my Search Visibility Pack
Add the hidden labels Google and AI read
When this is done, Google and AI tools can read facts about your business, such as its name and address, from hidden labels on your site. Hidden labels (also called schema, or structured data) are a short piece of code. Visitors to your site do not see them.
Checked against each website service's own help on 8 November 2026. Website services sometimes move their menus. If a step does not match what you see, tell us and we check it again.
Before you start
- A way to log in to your website.Never had a login, or someone else made your website? Open "Someone looks after it for me" below. It has a note you can send them. When they say it is done, you can tick this fix. No reply after a week? Ask again, or ask them for a login. No one to ask? Try the "forgot password" link where you log in.
- The code from this step of your Search Visibility Pack.Open your Search Visibility Pack and press Copy all on that step. The code is made for your site. You do not need to understand it, only paste it and fill in the yellow parts.
- On some website services, a paid plan.Not sure of your plan? You do not need to know: if the box is not where the part below for how your website was made says, your plan does not have it. Squarespace needs the Core plan or higher, or some older plans. WordPress.com needs a paid plan. Wix has a way that works on a free site. The part below for how your website was made says what to do on a free plan.
How to do it
- Copy the code from your Search Visibility Pack. Press Copy on the hidden labels step. Do not change any of it, apart from the yellow parts in step 3.
- Find the place for code on your website. Open the part below for how your website was made. It says where the box is and what to do if it is not there.
- Paste the code and save. Paste it into the box. Then look for the parts that are still yellow in the box, for example your phone number or your opening hours. Type your real fact over the yellow words. Leave everything else exactly as you copied it, then save.
- Check it worked. Open Google's Rich Results Test at search.google.com/test/rich-results. Type your web address (the one at the top of your browser when you open your home page) and run the test. It shows which labels it found. Your business name should be in them. It finds nothing? Check you pasted all the code and saved, wait a few minutes and run the test again. Warnings are fine. Still nothing? Still stuck, at the bottom of this page, says who to ask.
Done when: Google's Rich Results Test finds the labels on your home page. Or the part below for how your website was made says you can skip this step, and you have.
How was your website made?
Open the part that fits your website. Not sure how it was made? Open "I am not sure".
Wix
Where it is: In the editor: Pages & Menu, then the page's More Actions, then SEO basics, then Advanced SEO, then Structured Data Markup.
- Open your site in the Wix editor (the page where you change your site, which you open from your dashboard). Click Pages & Menu. In Wix Studio it is called Pages.
- Next to your home page, click the three dots (More Actions), then SEO basics.
- Click Advanced SEO, then Structured Data Markup.
- Click + Add New Markup, paste the code, then click Apply.
Not there? The box above works on every Wix site. Wix also has a Custom Code box for the whole site, but it only works on a site with its own web address, and that needs a paid plan. Wix already adds some labels to your home page from your Business info, so you may see some there already. Paste yours as well.
Checked on 8 November 2026. From Wix's own help
WordPress
Where it is: WordPress needs a small free plugin (an add-on) called WPCode. Then Code Snippets, then Header & Footer. Not sure which WordPress you have? If you log in at wordpress.com, it is WordPress.com. If you log in at your own web address, it is not.
- Log in to WordPress and add the free plugin WPCode. In the left sidebar go to Plugins, then Add New. Search for WPCode Insert Headers and Footers, click Install Now, then Activate.
- Open Code Snippets, then Header & Footer.
- Paste the code into the Header box.
- Click Save Changes.
Not there? On WordPress.com, adding plugins needs a paid plan (Personal or higher). On a free WordPress.com site, upgrade first, or skip this step for now. Already use Yoast SEO or Rank Math? They add some labels by themselves, so ask whoever looks after your site to check the same labels are not there twice. You can see your plugins under Plugins in the left sidebar. No one to ask? Paste the code anyway.
Checked on 8 November 2026. From WordPress's own help
Squarespace
Where it is: Pages, then Custom Code at the bottom of the panel, then Code Injection, then Header.
- Log in to Squarespace and open the Pages panel.
- Scroll to the bottom and click Custom Code, then Code Injection. Not at the bottom? On older Squarespace sites, Custom Code is under Website Tools instead.
- Paste the code into the Header box (the box where code goes into every page), then save.
Not there? Code Injection needs the Core plan or higher, or some older plans. If you do not see it, your plan does not have it. You can upgrade to Core, or skip this step: Squarespace already adds some labels for you, such as your business and website details. If you skip it, you are done with this step.
Checked on 8 November 2026. From Squarespace's own help
Shopify
Where it is: Online Store, then the three dots next to your theme, then Edit code, then the file theme.liquid.
- First make a copy of your theme, your shop's design. In Online Store, click the three dots next to your theme, then Duplicate. When a theme updates, Shopify can remove code changes, and the copy keeps yours safe. Make your change on your main theme, not the copy.
- In Online Store, click the three dots next to your theme, then Edit code.
- In the Layout folder, open theme.liquid.
- Find the line that says </head>. Press Ctrl+F (Command+F on a Mac) and type </head> to find it. Paste the code just above it, then save.
Not there? If you are trying out a paid theme, Shopify asks you to buy it before you can change its code. Buy it, or switch to a free Shopify theme. Shopify themes already add labels for your products, so this code adds your business details too.
Checked on 8 November 2026. From Shopify's own help
Webflow
Where it is: Site settings, then Custom code, then Head code.
- Log in to Webflow and open your site's Site settings.
- Click Custom code and find the Head code box.
- Paste the code. Then look for the parts that are still yellow and type your real fact over them, for example your phone number.
- Press Save changes, then press Publish.
Not there? Custom code in Site settings needs a paid Site plan. Not sure of your plan? You do not need to know: if the box is not where this part says, your plan does not have it. You can skip this fix for now.
Checked on 22 November 2026. From Webflow's own help
Another website service
These steps work on most website services. Look for the same words in your settings.
- Copy the code from your Search Visibility Pack. Press Copy on the hidden labels step. Do not change any of it, apart from the yellow parts in step 3.
- Find the place for code on your website. Open the part below for how your website was made. It says where the box is and what to do if it is not there.
- Paste the code and save. Paste it into the box. Then look for the parts that are still yellow in the box, for example your phone number or your opening hours. Type your real fact over the yellow words. Leave everything else exactly as you copied it, then save.
- Check it worked. Open Google's Rich Results Test at search.google.com/test/rich-results. Type your web address (the one at the top of your browser when you open your home page) and run the test. It shows which labels it found. Your business name should be in them. It finds nothing? Check you pasted all the code and saved, wait a few minutes and run the test again. Warnings are fine. Still nothing? Still stuck, at the bottom of this page, says who to ask.
Made from code
Your website is made from code (files you upload). These steps say which file to change and what to put in it.
Open your homepage file (usually index.html). Paste the box between <head> and </head>. Save and upload. Do the same for every page file where you want the labels.
Someone looks after it for me
Send this note to whoever built or looks after your website. Then copy what this fix of your Search Visibility Pack gives you, and paste it under the note. The note is written for them, so you do not need to understand it.
Hello, Could you add some hidden labels (JSON-LD structured data) to my website, please? They tell Google and AI tools facts about my business. What to do, by kind of website: WordPress: Paste the JSON-LD script into WPCode's site-wide Header box (wp_head), check it does not duplicate Yoast/Rank Math schema, and validate with Google's Rich Results Test. Wix: Paste JSON-LD per page in SEO basics > Advanced SEO > Structured Data Markup (max 5 per page, under 7,000 chars), or site-wide via Settings > Custom Code > Head if the site has a connected domain; avoid duplicating Wix's own markup. Squarespace: Paste the JSON-LD script into Pages > Custom Code > Code Injection > Header (site-wide) or page settings > Advanced > Page Header Code Injection (needs Core plan or higher), avoiding duplicates of its built-in schema. Shopify: Add an Organization/LocalBusiness JSON-LD script inside the head of layout/theme.liquid, on a duplicated theme, and validate with Google's Rich Results Test. Webflow: Add the code in Site settings > Custom code > Head code (a paid Site plan is needed), save, publish, and test the homepage in the Rich Results Test. I will paste the code below this message. I will give you the facts for anything that reads like a note to me, such as "your opening hours". Thank you.
This opens your own email. Nothing is sent to Lapii.
I am not sure
Scroll to the very bottom of your homepage and look for small words such as “Made with Wix” or “Powered by Shopify”. If you see none, ask whoever set up your website. If it names Wix, WordPress, Squarespace, Shopify or Webflow, pick that one. If someone else looks after your website, pick “Someone looks after my website for me” and send them the message. Not sure at all? Send them the message and ask.
Still stuck?
Email support@lapii.app with the subject "Help with: Add the hidden labels Google and AI read" and say how your website was made. We reply within 1 working day.