Sync Elfsight forms on Wix to Sheets
Elfsight Form Builder embeds customizable forms on Wix via Custom HTML elements with popup and inline options. LeadToSheet captures every submission and writes it to Google Sheets automatically.
CMS: Wix
Overview
Elfsight is a third-party widget platform that offers a form builder with customizable themes, popup and embedded display modes, and email notifications. On Wix, Elfsight forms are added by pasting the widget embed code into a Custom HTML element. LeadToSheet captures these submissions and streams them to Google Sheets, adding UTM attribution and page context that Elfsight's basic email notifications do not provide.
Implementation checklist
- 1
Add the LeadToSheet SDK via Wix Custom Code
Go to Settings → Custom Code → Add Custom Code. Paste the script, choose All Pages, and set placement to Body – End. This ensures the SDK loads alongside the Elfsight widget on every page.
Wix Custom Code snippet
<script src="https://cdn.leadtosheet.com/sdk.min.js" data-client="YOUR_CLIENT_KEY"></script> - 2
Embed the Elfsight form widget on your Wix page
Copy the Elfsight widget embed code from your Elfsight dashboard and paste it into a Wix HTML embed element on the desired page. Elfsight renders its form via JavaScript into the page DOM, which the SDK can detect.
Tip: Elfsight widgets load asynchronously. The LeadToSheet SDK monitors for dynamically added forms, so it will capture the Elfsight form even if it appears after the initial page load.
- 3
Test popup and inline form modes
If using Elfsight's popup form mode, publish the site and trigger the popup on the live URL. Submit test entries in both popup and inline modes to verify each submission appears in your Google Sheet with the correct fields.
Customization ideas
Use Elfsight's theme customization with sheet-level segmentation
Elfsight offers multiple visual themes for forms. Pair different-themed forms on different pages with data-leadtosheet-tab attributes to segment submissions by page purpose (sales inquiries vs. support requests) in your spreadsheet.
Combine Elfsight popup forms with scroll-depth tracking
Elfsight popup forms can be triggered by scroll events. LeadToSheet captures the page URL and UTM data alongside the submission, letting you analyze whether popup-triggered signups correlate with specific traffic sources.
Extend Elfsight's email notifications with sheet-based alerts
Elfsight sends basic email notifications per submission. Add Google Apps Script on your connected sheet to trigger Slack messages, SMS alerts via Twilio, or conditional auto-replies based on form field values.
Troubleshooting
Elfsight widget shows a loading spinner but form does not appear
Ensure the Elfsight embed code is pasted correctly into the Wix HTML embed element and that your Elfsight plan is active. If the widget loads in the Editor but not on the live site, check that Wix's cookie consent banner is not blocking the Elfsight script.
Popup form submissions not captured by the SDK
Elfsight popup forms inject HTML into the main page DOM when triggered. If submissions are not captured, verify the form element is a standard HTML form (inspect with DevTools on the live site). If Elfsight uses a non-standard submission method, contact LeadToSheet support for a custom selector configuration.
Multiple Elfsight widgets on the same Wix page
If you have several Elfsight widgets on one page (e.g., a contact form and a newsletter popup), ensure each has a distinct form structure. LeadToSheet captures all form submissions on the page, and you can distinguish them in the sheet by field names or by adding data-leadtosheet-tab attributes.
Frequently asked questions
- Does Elfsight have its own Google Sheets integration?
- Elfsight provides email notifications and limited integrations but does not offer a native Google Sheets connector. LeadToSheet fills this gap with real-time spreadsheet sync and full attribution metadata.
- Will LeadToSheet work with Elfsight's popup form mode on Wix?
- Yes. Elfsight popups render in the page DOM when triggered. The LeadToSheet SDK detects dynamically injected forms and captures submissions from popups just like inline forms.
- Can I use Elfsight and other form tools on the same Wix site?
- Yes. A single LeadToSheet SDK installation captures submissions from all form tools on your site. Elfsight forms, Wix Forms, and any other DOM-rendered forms are all detected and recorded.
