Squarespace app overview
The Stape Conversion Tracking app adds a web GTM snippet to your Squarespace website and sends standard ecommerce events to the Data Layer for processing by a server GTM container.
Sending conversion data through a server-side setup can help bypass client-side tracking limitations caused by ad blockers and Safari ITP cookie expiration.
The Stape app for Squarespace is free to use. Within the app, you can access the following power-ups:
- Custom Loader – available on the free subscription plan.
- Cookie Keeper – requires a paid subscription plan.
The power-ups are available for Stape users.
How it works
1. The app injects the GTM snippet into your Squarespace website pages. If you have a container hosted on Stape, you can serve the script from your own domain using one of two approaches:
- Same-origin (recommended) – configure a same-origin domain with the Custom Loader power-up. This approach helps tracking scripts minimize the impact of ad blockers and preserves cookie lifetimes. You don’t need the Cookie Keeper power-up when using this setup.
- Custom Loader and Cookie Keeper power-ups – use this approach if same-origin configuration doesn’t work for you (e.g., when proxying requests through your web server would add CPU overhead). The Custom Loader loads GTM from a tagging subdomain (e.g.,
). It makes the script less likely to be blocked by ad blockers. Cookie Keeper helps prevent Safari ITP from prematurely expiring cookies such assgtm.example.com_gaand_fbp.
2. If you don’t have a container hosted on Stape, the GTM snippet loads from Google’s default CDN.
3. When visitors view products, add items to their carts, or begin checkout, the app pushes standard GA4 ecommerce events and data to the dataLayer.
4. Tags in your web GTM container, such as GA4 or the Stape Data Tag, capture these events and forward them to the sGTM container hosted on Stape.
5. The sGTM container receives incoming events through the GA4 Client or Data Client. Server-side tags process the data and send requests to your analytics and marketing platforms, including GA4, Meta Conversions API (CAPI), TikTok, Google Ads, Snapchat, and others.
6. When an order is completed or updated, Squarespace can send a webhook directly from its backend to your sGTM container. In this way, you can record purchase conversions even if the customer purchased something in a physical store or a payment gateway fails to redirect them to the thank-you page.
7. Then the sGTM container forwards the processed events to your configured analytics and marketing platforms.
Was this article helpful?
🍽 Table of content:
Comments