Sync ActiveCampaign Wix forms to Sheets
ActiveCampaign's embedded forms on Wix connect to powerful email and SMS marketing automation with CRM integration. LeadToSheet adds real-time Google Sheets sync with full page and UTM attribution.
CMS: Wix
Overview
ActiveCampaign is a marketing automation platform offering email campaigns, SMS messaging, CRM pipelines, and conditional content. Its forms are embedded on Wix by pasting ActiveCampaign's form embed code into a Custom HTML element. These forms render directly in the page DOM, making them compatible with the LeadToSheet SDK for real-time Google Sheets capture. This gives marketing teams a spreadsheet-based view of every form signup alongside the data flowing into ActiveCampaign for automated nurture sequences.
Implementation checklist
- 1
Add the LeadToSheet SDK via Wix Custom Code
Navigate to Settings → Custom Code → Add Custom Code in your Wix dashboard. Paste the script, select All Pages, and choose Body – End placement. ActiveCampaign forms may be embedded on multiple pages, so global SDK coverage ensures nothing is missed.
Wix Custom Code snippet
<script src="https://cdn.leadtosheet.com/sdk.min.js" data-client="YOUR_CLIENT_KEY"></script> - 2
Embed ActiveCampaign forms on your Wix pages
In your ActiveCampaign account, go to Website → Forms, create or select a form, and copy the embed code. Paste it into a Wix HTML embed element on the desired page. ActiveCampaign forms render via JavaScript into the page DOM where the SDK can detect them.
Tip: ActiveCampaign's inline form embed code uses a JavaScript snippet that injects the form into the DOM. This renders within the Wix page, not an iframe, so the SDK captures submissions directly.
- 3
Publish and test a form submission
Publish your Wix site, visit the live URL, and submit the ActiveCampaign form with test data. Verify the submission appears in both your ActiveCampaign contact list and your connected Google Sheet.
Customization ideas
Track form submissions alongside ActiveCampaign automation stages
LeadToSheet captures the raw form submission with UTM data and page URL. Export ActiveCampaign automation statuses and merge them by email address in your Google Sheet to see the full journey from first signup to automation completion.
Segment by conditional content form variants
ActiveCampaign supports conditional content that shows different form fields based on visitor segments. LeadToSheet captures the specific fields shown at submission time, letting you analyze which form variants perform best by campaign source.
Build lead scoring models in Google Sheets
Combine LeadToSheet's form field data and UTM attribution with simple Sheets formulas to assign lead scores. Prioritize follow-ups based on submission fields, traffic source, and page context without requiring ActiveCampaign's built-in scoring feature on higher plans.
Troubleshooting
ActiveCampaign form not rendering on the published Wix site
Verify the ActiveCampaign embed code is complete and correctly pasted in the HTML embed element. If the form renders in the Editor preview but not on the live site, check whether Wix's cookie consent banner is categorizing the ActiveCampaign script as a marketing cookie requiring user consent.
Floating bar or popup form submissions not captured
ActiveCampaign's floating bar and popup form types inject into the DOM dynamically. The LeadToSheet SDK monitors for dynamically added forms, but if submissions are missed, verify the form uses a standard HTML form submission event. Check the browser console for JavaScript errors on the live site.
Custom Code placement conflicts with ActiveCampaign script
Both the LeadToSheet SDK and the ActiveCampaign embed script should be placed in Body – End. If you experience conflicts, try placing the ActiveCampaign script in the HTML embed element on the page and keep only the LeadToSheet SDK in Custom Code. This separates their loading contexts.
Frequently asked questions
- ActiveCampaign already has a CRM. Why also send data to Google Sheets?
- ActiveCampaign's CRM is powerful for marketing automation, but exporting per-submission data for ad hoc analysis or sharing with non-ActiveCampaign users requires manual effort. LeadToSheet provides automatic, real-time Google Sheets access for the entire team.
- Does LeadToSheet work with ActiveCampaign's site tracking on Wix?
- Yes. ActiveCampaign's site tracking script and the LeadToSheet SDK operate independently. Both can run via Wix Custom Code on the same site without interference.
- Can I capture SMS opt-in forms from ActiveCampaign on Wix?
- If the SMS opt-in form is embedded on your Wix site using ActiveCampaign's standard form embed code, LeadToSheet captures it like any other form. The phone number and opt-in fields will appear in your Google Sheet.
