Overview
Landingi is a landing page platform with over 400 templates, popup forms, smart sections, and built-in A/B testing. While Landingi includes page-level analytics and its own lead inbox, exporting submissions with UTM attribution to a shared spreadsheet requires manual work. LeadToSheet automates this by capturing every form submission alongside campaign parameters in Google Sheets, letting marketing teams consolidate leads from multiple Landingi pages into one reporting hub.
Implementation checklist
- 1
Add the LeadToSheet SDK via Landingi custom JavaScript
Open your page in the Landingi editor, go to Page Settings > JavaScript Code > Before </body>. Paste the SDK snippet and save. This ensures the script loads on the published page after the form elements render.
Tip: Landingi also supports adding JavaScript at the account level under Integrations > Custom Code, which applies the script to all pages in your account.
Landingi custom JS
<script src="https://cdn.leadtosheet.com/sdk.min.js" data-client="YOUR_CLIENT_KEY"></script> - 2
Review form field names in the Landingi builder
Click each form field in the Landingi editor and check the Field Name in the properties panel. Rename generic defaults to descriptive names like 'company_size' or 'phone_number'. These names become your Google Sheet column headers.
- 3
Test across page variants and popup forms
If you have active A/B tests or popup forms, submit test entries through each variant and popup. Verify that all submissions appear in Google Sheets with consistent column headers and that UTM parameters from your test URLs are captured.
Customization ideas
Monitor A/B test lead quality in Sheets
Landingi's A/B testing reports conversion rates, but not lead quality. Add a hidden field with the variant ID and use LeadToSheet to capture it in Sheets. Then use formulas or Apps Script to score leads and compare quality between variants, not just volume.
Aggregate leads from smart sections across pages
Landingi's smart sections let you reuse form components across multiple pages. LeadToSheet captures the page URL with each submission, so even when the same form section appears on different pages, you can filter leads by source page in your Google Sheet.
Build a multi-page campaign dashboard
Route submissions from different Landingi pages to separate tabs in the same Google Sheet using data-leadtosheet-tab attributes. Use a summary tab with IMPORTRANGE or pivot formulas to create a cross-campaign lead dashboard.
Troubleshooting
Popup form submissions not appearing in Sheets
Landingi popups may render after the initial page load in a separate DOM layer. The LeadToSheet SDK monitors for dynamically inserted forms, but if the popup form uses an iframe, verify by inspecting the popup element in browser dev tools. If it is an iframe, use Landingi's webhook integration as a fallback.
Event tracking script conflicts
If you use Landingi's built-in event tracking alongside LeadToSheet, both scripts listen for form events. They should not conflict, but if you notice double submissions in Sheets, check that the LeadToSheet snippet is not duplicated in both the page-level and account-level JavaScript sections.
Custom CSS hiding form fields from capture
Landingi supports custom CSS that may visually hide form fields. LeadToSheet captures fields based on their presence in the DOM, not their visibility. If hidden fields are not appearing in Sheets, ensure the fields have name attributes assigned in the Landingi builder even if they are styled as invisible.
Frequently asked questions
- Does LeadToSheet capture leads from Landingi's built-in popup forms?
- Yes, as long as the popup renders within the page DOM (not an iframe). The SDK detects dynamically inserted forms including Landingi popups. Check browser dev tools to confirm the popup is inline.
- Can I use LeadToSheet across all pages in my Landingi account?
- Yes. Add the SDK script at the account level under Integrations > Custom Code to apply it globally. You do not need to add it to each page individually.
- Does Landingi's built-in analytics conflict with LeadToSheet?
- No. Landingi's page analytics and LeadToSheet operate independently. Landingi tracks page views and conversions on its servers, while LeadToSheet captures form data at the browser level.
