Squarespace provides a native Meta Pixel integration that handles basic pixel installation without requiring code. For stores that need more control over event tracking or want to implement Meta Conversions API, additional steps are required. Here is the complete guide to Meta Pixel setup on Squarespace, from the simple native integration to more advanced implementations.
Option 1: Squarespace Native Meta Pixel Integration (Simplest)
Squarespace has a built-in integration with Meta that installs the pixel across your entire site and fires standard events on Squarespace pages.
Setup
In Squarespace, go to Settings → Integrations → Social Links & Channels → Meta & Instagram. Or navigate to Settings → Advanced → External APIs → Meta Pixel ID. Enter your Meta Pixel ID (found in Meta Business Manager → Events Manager → your Pixel → Settings).
Save. Squarespace automatically places the pixel base code in the site’s head tag on all pages.
Standard events included
The native Squarespace-Meta integration fires:
- PageView on all pages
- ViewContent on product pages
- AddToCart when items are added
- InitiateCheckout when checkout begins
- Purchase on the order confirmation page
These cover the core ecommerce funnel without any custom code required.
Option 2: Adding the Pixel via Squarespace Code Injection
If the native integration does not work with your Squarespace plan (the native integration is available on Commerce Basic and Advanced plans), or if you want more control, you can add the pixel base code via Code Injection.
In Squarespace, go to Settings → Advanced → Code Injection → Header. Paste the Meta Pixel base code from your Business Manager into the Header injection field. This adds the pixel to all pages.
For purchase events on the order confirmation page: go to Commerce → Orders → Checkout settings, or the Settings → Advanced → Code Injection → Order Confirmation Page section. Add the purchase event JavaScript code here with dynamic order values if Squarespace makes them available.
Note: Squarespace’s Order Confirmation Page code injection provides access to limited Squarespace JavaScript variables (like the order total) depending on your plan. Consult the current Squarespace developer documentation for available variables.
What the Native Integration Tracks (and What It Misses)
Tracked correctly
- PageView (all pages)
- ViewContent (product pages)
- AddToCart
- Purchase (order confirmation)
Potential limitations
- Limited access to purchase metadata (individual product details in the items array may be incomplete in the standard native integration)
- No native Conversions API — server-side events are not included in the native Squarespace-Meta integration
- Custom event tracking beyond the standard ecommerce events requires code injection
Verifying Your Squarespace Meta Pixel
After installation:
- Install the Meta Pixel Helper Chrome extension
- Visit your Squarespace product page — the extension should show a ViewContent event firing
- Add a product to cart — AddToCart should fire
- Complete a test purchase — Purchase should fire on the order confirmation page
In Meta Events Manager, your pixel should show these events as Active within 24 hours of installation and your first test.
Meta Conversions API for Squarespace
The native Squarespace integration does not include Conversions API. For server-side tracking on Squarespace, options include:
- Use a third-party integration tool (Zapier with the Meta CAPI action triggered by Squarespace order events)
- Zapier: when new order created in Squarespace → send CAPI Lead/Purchase event to Meta
- Use the Squarespace Commerce API to build a custom webhook that fires CAPI events on order confirmation
These approaches require more technical setup but provide the server-side tracking layer that the native integration lacks.
Get Your Squarespace Tracking Verified
Squarespace’s native Meta integration is quick to set up but may have gaps depending on your plan and how you use the platform. Verifying with the Pixel Helper before relying on the data for campaign decisions is essential.
Book your free audit here and we can review your Squarespace tracking setup, including the Meta Pixel and any CAPI implementation you have in place.