Integrate Rehearsals with Squarespace
What is this?
This guide helps you install Rehearsals on your Squarespace site so you can start capturing session replays and getting AI-generated insights that improve user experience.
Before You Start
Make sure:
- You’re on a paid Squarespace plan that supports Code Injection (Business, Commerce, Core, Plus, or Advanced).
- You've created a Rehearsals account and copied your tracking snippet (includes your API Key and Organization ID).
- You have edit access to your Squarespace site.
Step 1: Copy Your Tracking Snippet
From your Rehearsals dashboard, copy the script that looks like this:
<script>
window.deepPredictionSettings = {
apiKey: 'dp_proj_xxxxx',
organizationId: 'dp_org_xxxxx'
};
</script>
<script async defer src="https://app.runrehearsals.com/recorder.js"></script>
Replace the placeholder values with your actual keys.
Step 2: Add the Code in Squarespace
- Log in to Squarespace and open your site.
- Go to Settings > Advanced > Code Injection.
- Paste the full Rehearsals snippet into the Header section.
- You can also paste it in the Footer section if you want to lazy-load it.
- Click Save.
This will install the tracker on every page of your site. No need to add it manually to individual pages.
Step 3: Confirm It’s Working
- Visit your site in an incognito or private browser window.
- Go to app.runrehearsals.com and check the dashboard for an update if sessions are being captured.
- You should see a message confirming that session replays are being saved.
Important Note on Compliance
It’s up to you to ensure users can opt out of analytics tracking if required. Squarespace’s cookie banner tool can help with this.
What Happens Next
Now that Rehearsals is installed, you'll get access to powerful AI-driven features:
- Radar - Get instantly notified when users do positive or negative behaviors that impact revenue
- Rehearsals Brief - Receive McKinsey-level reports from 1,000+ data scientists analyzing your user sessions
- Customer Simulations - Rehearse revenue outcomes from pricing, product, and marketing changes in simulated environments
- Customer Data Extraction - Turn unstructured behavioral data into structured insights (names, interests, contact info)
- Visual Product Graph - Automatically map every button and screen to see exactly how customers navigate your site
Congrats! Rehearsals is watching every customer and will soon tell you why they turn, why they pay, and what you should build next.
This is the era of vibe analytics.