Squarespace
Paste your code into Code Injection (Header).
Before you start
- Code Injection is included on Squarespace’s Core, Plus and Advanced plans (and some older plans). It isn’t on the Personal plan; if you’re on Personal, choose Something else in step 2 and use a DNS record, then email us.
- Approve your business details in step 1 of your website’s Setup tab.
Add your code
- In step 2 of your website’s Setup tab, choose your website builder and copy your code.
- In Squarespace, open your site and go to Website → Pages. Scroll to the bottom of the menu and choose Custom Code → Code Injection. (On some accounts it’s under Settings → Custom Code → Code Injection.)
- Paste the code into the Header box. Not Footer.
- Press Save.
Your code also proves you own the website, so there’s nothing else to add (Code Injection → Header). Once it’s saved and published, press Check my website in your dashboard. Prefer DNS? See Prove you own your website.
Go back to your dashboard, open your website’s Results tab and press Check again now. Your new score should go up within a minute. See Check it worked.
Is there another code?
Yes, but you don’t need it. Under your code there’s a link, Rather use a code that updates itself? Use one code, not both.
- Your code (recommended). Every AI tool can read it. If you change your business details later, copy it again and replace the old one.
- Self-updating code. Always shows your latest details, so you never need to paste again. Some AI tools don’t run scripts and may miss it.