CartRecovery Code Injection

Generate Squarespace Code Injection snippets for cart tracking

1. Site-Wide Cart Tracker

Add this to Settings → Advanced → Code Injection → Header


      

Instructions:

  1. Copy the code snippet above
  2. In Squarespace: Go to Settings → Advanced → Code Injection
  3. Paste into the Header section
  4. Click Save

2. Order Confirmation Tracker

Add this to Commerce → Advanced → Order Confirmation Page → Header


      

Instructions:

  1. Copy the code snippet above
  2. In Squarespace: Go to Commerce → Advanced → Order Confirmation Page
  3. Paste into the Additional Scripts (Header) section
  4. Click Save