Skip to main content

Squarespace Integration Guide

Squarespace native forms cannot POST to external URLs directly. Use Zapier, an iframe embed, or universal methods instead.

Method 1: Zapier (for native Squarespace forms)

Step 1: Create your form in Squarespace

  1. Add a Form Block to your page
  2. Add fields: Phone Number (required), First Name, Last Name
  3. Add a consent checkbox or disclaimer text with TCPA language

Step 2: Connect via Zapier

  1. Create a new Zap in Zapier
  2. Trigger: Squarespace → New Form Submission
  3. Action: Webhooks by Zapier → POST
  4. Configure the action:
    • URL: https://api.tracklysms.com/api/v2/optins/webhook
    • Payload Type: JSON
    • Headers: X-Api-Key: trk_your_api_key_here
    • Data:
      • phone_number: map to your phone field
      • list_id: your Trackly sending list ID
      • consent_text: your TCPA consent language
      • first_name: map to first name field
      • last_name: map to last name field
  5. Test and enable the Zap

Method 2: Iframe Embed (No Zapier needed)

  1. Add a Code Block to your page (requires Business plan or higher)
  2. Paste:
  3. Replace YOUR_PUBLIC_TOKEN with your opt-in configuration’s public token
  4. Toggle Display Source off

Method 3: Script Tag

  1. Go to Settings → Advanced → Code Injection
  2. Paste your script tag in the Footer field:
  3. This adds the opt-in widget to all pages on your site

Method 4: Universal Methods (No integration needed)

Since Squarespace forms are limited, consider these alternatives that bypass your website entirely:
  • Keyword opt-in: Promote “Text JOIN to (555) 555-5555” on your site
  • QR code: Download from the QR Code card in your opt-in config editor and add as an image
  • Subscribe link: Share https://api.tracklysms.com/s/<your-slug> via a button link