Leadpages Integration Guide
Leadpages forms require Zapier or a third-party integration to POST externally.Method 1: Zapier Webhook
Step 1: Create your form in Leadpages
- In the Leadpages Builder, add or edit your opt-in form
- Add fields: Phone Number (required), First Name, Last Name
- Include TCPA consent language in your page text or as a checkbox
Step 2: Connect to Zapier
- In Leadpages, go to your page’s Integrations tab
- Connect Zapier as your form integration
- In Zapier, create a new Zap:
- Trigger: Leadpages → New Lead
- Action: Webhooks by Zapier → POST
- Configure the webhook 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 fieldlist_id: your Trackly sending list ID (integer)consent_text: your TCPA consent languagefirst_name: map to first name fieldlast_name: map to last name field
- URL:
- Test and enable the Zap
Method 2: Iframe Embed (No Zapier needed)
- In the Leadpages Builder, add an HTML widget
- Paste:
- Replace
YOUR_PUBLIC_TOKENwith your opt-in configuration’s public token
Method 3: Script Tag
- Go to your page’s Settings → Analytics (or use the HTML widget)
- Add to the Head Tracking Code or End Body Tag section:
Method 4: Subscribe Link
Add a button that links tohttps://api.tracklysms.com/s/<your-slug> — mobile visitors go to their SMS app, desktop visitors see a web form.