Fix LCP in Squarespace
Squarespace 7.1 provides a fully managed hosting environment that handles many performance basics automatically -- Imgix-powered image CDN, automatic WebP conversion, and Fastly edge delivery. Despite this foundation, many Squarespace sites score poorly on Largest Contentful Paint (LCP) because of oversized hero images without focal point settings, third-party analytics scripts injected into the page head, template choices that load unnecessary JavaScript, and pages with too many stacked media sections. Squarespace gives you less server-side control than WordPress or Shopify, but these five fixes work within the platform's admin interface and Code Injection settings to meaningfully improve your LCP score.
Expected results
Before
5.5s
LCP (Poor) -- oversized hero, head-injected scripts, heavy template
After
2.2s
LCP (Good) -- optimized focal point image, deferred scripts, streamlined page
Step-by-step fix
Optimize hero images with Squarespace's focal point tool
Squarespace automatically converts uploaded images to WebP format and serves them through its Imgix-powered CDN, which handles responsive resizing. However, the performance of this system depends on uploading an appropriately-sized source image and configuring the focal point correctly. The focal point determines which part of the image Squarespace preserves when it crops the image for different device sizes. For hero banner sections (also called Cover Pages in Squarespace's terminology), upload images at 2500 pixels wide -- larger than this offers no visual benefit and increases the original file size that Squarespace must process. To set the focal point: open the image block or banner settings, click the image, and drag the focal point indicator to the most visually important part of the image (usually a face, product, or key text area). Squarespace's CDN will then ensure this area is preserved across all responsive crops. Avoid using PNG for large background images -- upload as JPEG (Squarespace will convert to WebP automatically), which results in smaller source files and faster processing.
<!-- Squarespace Hero Image Optimization Checklist -->
<!-- Step 1: Upload correctly-sized source image -->
<!-- Recommended: 2500px wide, JPEG format (not PNG) -->
<!-- Squarespace auto-converts to WebP and generates srcset -->
<!-- Step 2: Set Focal Point (in image block settings) -->
<!-- Edit Page > Click banner image > Edit (pencil icon) -->
<!-- Drag the focal point circle to your key visual area -->
<!-- Squarespace renders this srcset for a banner image: -->
<img
src="https://images.squarespace-cdn.com/content/.../hero.jpg?format=1500w"
srcset="
.../hero.jpg?format=300w 300w,
.../hero.jpg?format=500w 500w,
.../hero.jpg?format=750w 750w,
.../hero.jpg?format=1000w 1000w,
.../hero.jpg?format=1500w 1500w,
.../hero.jpg?format=2500w 2500w"
sizes="100vw"
alt="Hero banner"
>
<!-- Note: Squarespace controls loading attributes.
To add fetchpriority=high, use Code Injection (Step 2 below)
to inject a preload link in the Head section. -->
Minimize Code Injection scripts
Squarespace's Code Injection feature (Settings > Advanced > Code Injection) has four areas: Header, Footer, Lock Page, and Order Confirmation Page. The Header injection area is the most critical for LCP -- any script tag placed here is a render-blocking resource that the browser must download and execute before it can paint the page. Many Squarespace users follow vendor documentation that instructs them to paste Google Analytics, Facebook Pixel, Hotjar, and other tools into the Header area. While this maximizes tracking accuracy, it directly increases LCP. Move every analytics and marketing script to the Footer injection area (which runs just before the closing