Leadpages integration

Sync Leadpages forms to Google Sheets

Capture every Leadpages submission - from landing pages, popups, and alert bars - in a Google Sheet with UTM attribution so you can track which campaigns drive your best leads.

CMS: Landing page

Leadpages is a landing page builder popular with small businesses and solo marketers for its 200+ templates, popup forms, and alert bars. While Leadpages integrates with email platforms, it does not offer native spreadsheet export with UTM parameters. LeadToSheet fills this gap by capturing every form submission alongside its traffic source data in Google Sheets, giving small teams a cost-effective lead reporting layer without needing a full CRM.

Implementation checklist

  1. 1

    Add the LeadToSheet SDK via Leadpages Head Tracking Code

    In the Leadpages builder, open Page Settings > Analytics > Head Section Tracking Code. Paste the SDK snippet there. Alternatively, use the Body Section tracking code area for placement before the closing body tag. The SDK loads asynchronously and will not slow down your page.

    Tip: If you use Leadpages with a WordPress plugin, add the script to your WordPress footer instead so it covers both Leadpages-hosted and WordPress-embedded pages.

    Leadpages tracking code

    <script src="https://cdn.leadtosheet.com/sdk.min.js" data-client="YOUR_CLIENT_KEY"></script>
  2. 2

    Map form fields in the Leadpages drag-and-drop editor

    Click your form element in the Leadpages builder and review each field's name attribute. By default, Leadpages uses 'email', 'first_name', etc. Customize these in the form settings if you need additional fields. LeadToSheet uses these field names as Google Sheet column headers.

  3. 3

    Test across landing pages, popups, and alert bars

    Submit test entries through each form type - main page form, popup trigger form, and alert bar signup. Verify that all three appear in your Google Sheet with the correct field values and UTM parameters from your test URL.

Customization ideas

  • Track A/B test performance in Sheets

    Leadpages offers built-in A/B testing but only reports conversion rates. By adding a hidden field with the variant identifier, LeadToSheet captures which variant each lead came from, letting you analyze lead quality per variant in Google Sheets rather than just conversion rate.

  • Capture popup and alert bar leads with source context

    Leadpages popups and alert bars can appear on any page. LeadToSheet automatically captures the page URL where the popup was triggered, so your Google Sheet shows exactly which page each popup lead was viewing when they converted.

  • Reconcile checkout form revenue with ad spend

    If you use Leadpages' built-in checkout and payment forms, LeadToSheet captures the form payload including product selection and pricing fields. Combine this with UTM campaign data in Sheets to calculate return on ad spend per campaign.

Troubleshooting

  • Popup form submissions not captured

    Leadpages popups render as overlay elements that appear after the initial page load. The LeadToSheet SDK monitors for dynamically inserted forms, but if the popup uses a separate iframe, submissions may not be detected. Verify that the popup form renders inline in the page DOM by inspecting the element in your browser's developer tools.

  • WordPress-embedded Leadpages not syncing

    When embedding Leadpages via the WordPress plugin, the page may render inside an iframe on your WordPress domain. Add the LeadToSheet SDK to both your WordPress footer and the Leadpages tracking code section to ensure coverage regardless of how the page is served.

  • Alert bar form shows only email field in Sheets

    Leadpages alert bars typically include only an email input. This is expected - the alert bar form has a single field by design. LeadToSheet captures whatever fields exist, plus the page URL and UTM parameters, which may be more valuable than additional form fields for alert bar conversions.

Frequently asked questions

Does LeadToSheet work with Leadpages' built-in checkout forms?
Yes. LeadToSheet captures form field values from checkout forms including product selection and quantity fields. Payment tokens are not captured for security reasons, but product and pricing data that appears in the form DOM is synced to Sheets.
Can I use LeadToSheet with Leadpages hosted on a custom domain?
Yes. The SDK works on any domain where the script tag is loaded, whether your Leadpages are hosted on a Leadpages subdomain, a custom domain, or embedded in WordPress.
Will LeadToSheet capture leads from Leadbox popups on external sites?
Leadbox popups embedded on external sites via JavaScript load in the context of that external page. Add the LeadToSheet SDK to the host page where the Leadbox is embedded, and submissions will be captured when the popup form is submitted.