Squarespace Troubleshooting Overview | Blue Frog Docs

Squarespace Troubleshooting Overview

Common issues and solutions for Squarespace websites, including performance problems, tracking issues, and platform-specific challenges.

Squarespace Troubleshooting Overview

This section covers common issues encountered on Squarespace websites and how to diagnose and fix them. From performance optimization to tracking problems, find solutions to keep your site running smoothly.


Common Problem Categories

1. Performance Issues

Performance problems can affect user experience, SEO rankings, and conversion rates.

Common Symptoms:

Causes on Squarespace:

  • Large, unoptimized images
  • Heavy custom code in Code Injection
  • Too many third-party scripts (analytics, pixels, widgets)
  • Poorly optimized templates
  • Large video backgrounds
  • Excessive custom fonts

Resources:


2. Tracking & Analytics Issues

Problems with tracking tags, pixels, and analytics implementations.

Common Symptoms:

  • Events not firing
  • Missing conversion data
  • Duplicate tracking
  • Inaccurate analytics reports
  • Tags not loading

Causes on Squarespace:

  • Code Injection order issues
  • Ajax cart/navigation conflicts
  • Ad blockers (for testing)
  • Multiple tracking implementations
  • JavaScript errors
  • Member area restrictions

Resources:


3. Template & Display Issues

Visual and layout problems specific to Squarespace templates.

Common Symptoms:

  • Layout shifting
  • Mobile display issues
  • Custom CSS not applying
  • Blocks not displaying correctly
  • Responsive design problems

Squarespace-Specific Causes:

  • 7.0 vs 7.1 template differences
  • Fluid Engine limitations
  • Custom CSS overridden by template styles
  • Mobile styles not specified
  • Browser compatibility

4. Commerce Issues

Problems related to Squarespace Commerce functionality.

Common Symptoms:

  • Cart not updating
  • Checkout errors
  • Payment processing issues
  • Order confirmation not loading
  • Product variants not working
  • Inventory tracking errors

Common Causes:

  • Ajax cart conflicts with custom code
  • Payment gateway configuration issues
  • Tax/shipping calculation errors
  • Stock management settings
  • Digital product delivery problems

Diagnostic Steps

Step 1: Identify the Problem

Questions to Ask:

  • When did the issue start?
  • Does it happen on all pages or specific ones?
  • Is it browser-specific?
  • Does it occur on mobile, desktop, or both?
  • Can you reproduce it consistently?

Step 2: Check Browser Console

  1. Open your site
  2. Press F12 (or right-click > Inspect)
  3. Go to Console tab
  4. Look for red error messages
  5. Note any warnings or failed requests

Common Errors:

  • Uncaught ReferenceError: X is not defined - Script not loaded
  • Failed to load resource - File not found or blocked
  • Blocked by CORS policy - Cross-origin issue

Step 3: Test in Incognito/Private Mode

Many issues are caused by:

  • Browser extensions (especially ad blockers)
  • Cached files
  • Cookie conflicts

Test:

  1. Open an incognito/private window
  2. Visit your site
  3. Check if the issue persists

Step 4: Check Squarespace Version

Squarespace 7.0 and 7.1 behave differently.

Identify Your Version:

  1. Log in to Squarespace
  2. Look at the template name
  3. Check if you have access to "Fluid Engine" (7.1 only)

Or check the <body> class:

  • 7.1: <body class="squarespace-7.1">
  • 7.0: Various template classes

Step 5: Review Recent Changes

Check:

  • Recent Code Injection updates
  • New plugins or integrations
  • Template changes
  • Squarespace platform updates

How to Check:

  1. Settings > Advanced > Code Injection - review all sections
  2. Check activity log if available
  3. Review any custom CSS

Common Quick Fixes

Fix 1: Clear Cache

Squarespace Cache:

  • Changes can take a few minutes to propagate
  • Try adding ?nocache to your URL
  • Log out and back in to Squarespace

Browser Cache:

  • Hard refresh: Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)
  • Clear browser cache completely
  • Test in incognito mode

Fix 2: Disable Conflicting Code

If you recently added custom code:

  1. Go to Settings > Advanced > Code Injection
  2. Comment out recent additions:
<!-- Temporarily disabled
<script>
  // Your code here
</script>
-->
  1. Save and test
  2. Re-enable code piece by piece to identify the culprit

Fix 3: Check Mobile Display

Test mobile-specific issues:

  1. Use browser DevTools device emulation (F12 > Device Toolbar)
  2. Test on actual mobile devices
  3. Check both portrait and landscape orientations
  4. Verify touch interactions work

Fix 4: Validate Code Syntax

Common syntax errors:

  • Missing closing tags (</script>, </div>)
  • Unmatched quotes (" vs ')
  • Missing semicolons in JavaScript
  • Invalid CSS selectors

Tools:


Platform-Specific Considerations

Squarespace 7.0

Characteristics:

  • Traditional template system
  • More stable DOM structure
  • Template-specific quirks
  • Older JavaScript libraries (YUI)

Common Issues:

  • Template-specific CSS conflicts
  • YUI framework compatibility
  • Less responsive than 7.1

Squarespace 7.1 (Fluid Engine)

Characteristics:

  • Modern, flexible page builder
  • Dynamic content loading
  • Better mobile responsiveness
  • Sections-based layout

Common Issues:

  • Ajax navigation affecting tracking
  • Dynamic content loading timing
  • CSS selectors changing dynamically
  • History state changes not triggering events

Solutions:

  • Use History Change triggers in GTM
  • Add event listeners after DOMContentLoaded
  • Use more general CSS selectors
  • Test both initial load and navigation

Testing Tools

Performance Testing

  • PageSpeed Insights - Google's performance tester
  • GTmetrix - Detailed performance analysis
  • WebPageTest - Advanced testing with multiple locations
  • Chrome DevTools Lighthouse - Built-in performance audit

Tracking Testing

Mobile Testing

Code Validation


When to Contact Squarespace Support

Contact Squarespace support for:

  • Core platform issues (login problems, billing, account access)
  • Template bugs or errors
  • Commerce functionality problems
  • Domain and DNS issues
  • Email service issues

Don't contact for:

  • Custom code debugging (they don't support custom code)
  • Third-party integration issues (GA4, GTM, Meta Pixel)
  • SEO or marketing strategy
  • Design customization beyond template settings

How to Contact:

  1. Go to Squarespace Help Center
  2. Click "Contact Us"
  3. Choose chat or email support
  4. Provide detailed information about your issue

Preventive Measures

1. Regular Backups

While Squarespace handles hosting backups:

  • Export your site content periodically
  • Keep copies of custom code
  • Document your integrations and settings

2. Test Before Publishing

  • Use Squarespace's preview mode
  • Test on multiple devices and browsers
  • Verify tracking in test mode
  • Check all forms and commerce functions

3. Monitor Performance

4. Document Changes

  • Keep notes on custom code additions
  • Track integration implementations
  • Record settings changes
  • Note any workarounds or fixes

Troubleshooting Resources

Performance Optimization

Tracking Issues

Integration Guides


Community Resources


Best Practices to Avoid Issues

  1. Keep It Simple:

    • Minimize custom code
    • Use native features when possible
    • Avoid over-complicating integrations
  2. Test Thoroughly:

    • Test changes in preview mode first
    • Verify on multiple devices
    • Check all critical paths (checkout, forms, etc.)
  3. Stay Updated:

    • Follow Squarespace update announcements
    • Update custom code for compatibility
    • Review integration documentation regularly
  4. Monitor Continuously:

    • Set up uptime monitoring
    • Check analytics regularly
    • Review error reports
  5. Document Everything:

    • Note all customizations
    • Keep backup copies of code
    • Maintain a changelog

Quick Reference: Common Error Messages

Error Message Likely Cause Quick Fix
"fbq is not defined" Meta Pixel not loaded Check pixel installation in Code Injection
"gtag is not defined" GA4 not loaded Verify GA4 setup
"Y.Squarespace is undefined" YUI not loaded or wrong timing Wrap code in Y.use() callback
"Cannot read property of undefined" Element not found on page Add null checks before accessing properties
"Failed to load resource" File not found or blocked Check file path and ad blockers
"Mixed Content" warning HTTP resource on HTTPS site Update resource URLs to HTTPS

Next Steps

Based on your specific issue:

// SYS.FOOTER