BigCommerce Integration Guide
BigCommerce supports custom scripts via Script Manager — no app required.Method 1: Script Manager (Recommended)
Step 1: Add the script
- In your BigCommerce admin, go to Storefront → Script Manager
- Click Create a Script
- Configure:
- Name: Trackly SMS Opt-in
- Placement: Footer
- Location: All Pages (or specific pages)
- Script Category: Essential
- Script Type: Script URL
- Script URL:
https://api.tracklysms.com/optin/script.js?token=YOUR_PUBLIC_TOKEN
- Click Save
Method 2: Iframe Embed
- Go to Storefront → Web Pages or edit a page in your theme
- Switch to HTML mode in the editor
- Paste:
Method 3: Webhooks (for checkout/registration forms)
BigCommerce has native webhook support for customer events:- Go to Settings → API → Webhooks (or use the BigCommerce API)
- Create a webhook:
- Event:
store/customer/created - Destination:
https://api.tracklysms.com/api/v2/optins/webhook - Headers:
X-Api-Key: trk_your_api_key_here
- Event:
Universal Methods
- Keyword opt-in: Add “Text JOIN to (555) 555-5555” to your store footer or product pages
- QR code: Include in shipping inserts or packaging
- Subscribe link: Add to your navigation or post-purchase page