Installation Guides
Squarespace Installation
Install Jetrack on your Squarespace website
Add Jetrack to your Squarespace site to track visitors and understand your audience.
Installation Steps
- Log in to your Squarespace account
- In the Home Menu, click Settings
- Click Advanced
- Click Code Injection
- In the Header section, paste your BrandJet tracking script:
<script
async
defer
data-website-id="your-unique-id"
src="https://analytics.brandjet.ai/script.js">
</script>- Click Save
Your tracking script will now load on all pages of your Squarespace site.
What Gets Tracked
BrandJet automatically tracks all Squarespace content:
- Regular pages
- Blog posts
- Portfolio projects
- Product pages (Squarespace Commerce)
- Index pages
- Custom pages
Site-Wide vs. Page-Specific
Site-Wide Tracking (Recommended)
Code Injection in Settings → Advanced applies to all pages automatically.
Page-Specific Tracking
To track only specific pages:
- Open the page you want to track
- Click the Settings gear icon
- Go to Advanced
- Add your script to the Page Header Code Injection
- Save your changes
Squarespace Commerce
If you're running an online store, BrandJet tracks:
- Product page views
- Category/collection browsing
- Store navigation
- All commerce-related pages
Blog Posts
For Squarespace blogs, tracking works automatically for:
- Individual blog posts
- Blog index pages
- Category/tag pages
- Archive pages
Version 7.0 vs. 7.1
These instructions work for both:
- Squarespace 7.1 - Current version
- Squarespace 7.0 - Legacy version
Code Injection is available in both versions.
Testing
- Save your Code Injection settings
- Visit your live Squarespace site in a browser
- Open Developer Tools (F12)
- Check the Network tab for
script.jsfromanalytics.brandjet.ai - Verify visitor data appears in your BrandJet dashboard
Business Plan Required
Important: Code Injection is only available on:
- Business Plan
- Basic Commerce Plan
- Advanced Commerce Plan
Personal plans do NOT support custom code.
Troubleshooting
Script Not Loading
- Verify you have a Business or Commerce plan
- Make sure you clicked Save in Code Injection
- Clear your browser cache
- Check that the code is in the Header section, not Footer
No Analytics Data
- Wait 30-60 seconds after visiting your site
- Disable ad blockers when testing
- Verify your website ID is correct
- Check browser console for errors
Not Tracking Blog Posts
- Code in Settings → Advanced → Code Injection applies to all blog posts
- You don't need to add code to individual posts
Best Practices
- Use the global Code Injection for site-wide tracking
- Place the script in the Header, not Footer
- Test on your live site, not in preview mode
- Keep code injection organized with comments
Comments in Code
You can add comments to organize your scripts:
<!-- Analytics -->
<script
async
defer
data-website-id="your-unique-id"
src="https://analytics.brandjet.ai/script.js">
</script>
<!-- Other scripts below -->