Recover abandoned carts on Squarespace with push
On Squarespace, InstantPWA can detect an active cart and prompt install specifically for shoppers who added items but didn't check out. Once installed, a push notification follow-up reminds them to finish — set up once in Code Injection → Header via Settings → Advanced → Code Injection → Header.
Steps
- 1
Open Code Injection → Header
Go to Settings → Advanced → Code Injection → Header.
- 2
Paste the InstantPWA snippet
Drop the one-line async script tag in the Squarespace head section — no build step or dependency install.
- 3
Turn on cart-based targeting
In InstantPWA's targeting rules, scope a trigger to pages/state that indicate an active Squarespace cart.
- 4
Set the push follow-up delay
Configure how long to wait after cart abandonment before sending the push reminder — commonly 1–24 hours.
- 5
Test the full flow
Add an item to cart, leave without checking out, install when prompted, and confirm the follow-up push arrives.
Constraints to know
- Code Injection requires a Business plan or higher — Personal plan sites cannot add custom scripts at all.
- Squarespace strips code injection from the mobile app editor preview; test on the published desktop or mobile browser URL.
FAQ
How does InstantPWA know a cart was abandoned?+
It reads Squarespace's standard cart state (cookie or localStorage) to detect an active cart with no completed order, then scopes the install/push trigger to that condition.
Does this require a separate app or API integration?+
No — it's the same one-line snippet, just with cart-based targeting rules turned on in your dashboard.
Can I control how long to wait before the reminder push?+
Yes — the delay is configurable in the InstantPWA dashboard, from immediate to 24+ hours after abandonment.