Add text-to-speech to your Squarespace site
Give every page on your Squarespace site a listen button that reads it aloud and highlights each word. No plugin or app needed: you paste one line into Squarespace's Code Injection setting.
Before you start
- Admin access to your Squarespace site, on a Squarespace plan that includes Code Injection (not the entry-level Personal or Basic plan).
- A free ReadingVox account. Sign up; no credit card.
Install steps
Step 1: Create an API key
In your ReadingVox dashboard, open API Keys and create a key. Copy it; it starts with
rv_live_.Step 2: Add your site's domain to the key
On the dashboard's Domains page, add the domain visitors use, such as
yourchurch.org. Adding the main domain also coverswww.and other subdomains. The key only works on domains you add, so nobody else can use up your allowance.Step 3: Paste the script tag into Code Injection
In Squarespace, go to Website → Pages → Website Tools → Code Injection. Paste the line into the Footer box and click Save. On older Squarespace menus, Code Injection is under Settings → Advanced.
Code Injection<script src="https://readingvox.com/widget.js" data-key="YOUR_API_KEY" data-voice="heart" async></script>Replace
YOUR_API_KEYwith your key. To change the voice, colors, or player style, see the script tag options.
Check that it works
- Open your live site on the domain you added, in a private window if you're logged in to Squarespace.
- Look for the ReadingVox button in the bottom-right corner and press play.
Want a listen button at the top of each post?
<div data-readingvox-button></div> in it. The script you pasted fills it with a Listen button that reads the page.Troubleshooting
I don't see Code Injection
Your plan doesn't include it. Squarespace offers Code Injection on its higher plans.
The button doesn't appear
Check that the domain in your browser's address bar is added on the dashboard's Domains page, and that the key in the script tag is the one you created (not YOUR_API_KEY). Your dashboard also emails you if the key is used on a site you haven't added.
It reads the menu, footer, or sign-up form
Navigation and footers are skipped automatically. To skip anything else, give it the CSS class no-read (most builders let you add a class to a section or block).
Remove ReadingVox
- Go back to Code Injection, delete the ReadingVox line from the Footer box, and click Save.
- Optional: Revoke the key on the dashboard's API Keys page.
Data & privacy
What ReadingVox receives
- The text a visitor chooses to play, so we can turn it into audio.
- Standard request details: IP address, browser type, and the page address.
What it doesn't
- Visitor names, email addresses, or cookies.
- Your Squarespace account or logins.
Sub-processors, retention, FERPA terms, security answers, and documents (DPA, VPAT, HECVAT Lite, W-9).
For IT & procurementOther install guides
Stuck on a step?
Email [email protected] with your platform, the step you're on, and a screenshot of what you see. We answer every message.
Email support