Poptin + Shopify guide

Capture Poptin popup form leads in Sheets

Stream every Poptin exit-intent, scroll-triggered, and time-delayed popup submission into Google Sheets alongside advanced targeting metadata for deeper lead analysis.

CMS: Shopify

Poptin specializes in smart popups with granular targeting rules, including exit-intent detection, scroll percentage triggers, time delays, and page-level rules. LeadToSheet catches these dynamically triggered forms and records each submission with the page context, giving you a Google Sheets dataset enriched with behavioral signals that Poptin's native exports do not include.

Implementation checklist

  1. 1

    Install the SDK in theme.liquid

    In your Shopify admin, navigate to Online Store > Themes > Edit Code and add the LeadToSheet snippet to theme.liquid before the closing </head> tag.

    theme.liquid snippet

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

    Trigger each targeting rule

    Activate Poptin popups using each trigger type: exit-intent (move cursor to browser bar), scroll trigger (scroll past the threshold), and time delay (wait on the page). Submit test data for each.

    Tip: Use Poptin's 'Show to me' button in the campaign dashboard to instantly preview each popup without waiting for triggers.

  3. 3

    Confirm autoresponder and sheet data

    If you use Poptin's autoresponder feature, verify that both the autoresponder email sends and the Google Sheet row appear for each test submission.

Customization ideas

  • Analyze trigger type effectiveness

    LeadToSheet captures the page URL and referrer for each submission. Cross-reference this with Poptin's trigger type settings to determine whether exit-intent, scroll, or time-delay popups generate higher-quality leads.

  • Compare A/B test variants in Sheets

    Poptin supports A/B testing popup designs. LeadToSheet records the form markup variations, letting you tag rows by variant and build conversion comparison reports directly in your spreadsheet.

  • Feed leads into CRM workflows

    Use Apps Script or Zapier to watch your Sheets for new Poptin rows and automatically create contacts in your CRM, tagged with the popup campaign and page where they converted.

Troubleshooting

  • Exit-intent popup captured on mobile but not desktop

    Poptin uses different exit-intent detection for mobile (back button, scroll up) and desktop (cursor leaving viewport). Both trigger the same form injection. If desktop captures are missing, check that the Poptin script is not being blocked by a browser extension in your testing environment.

  • Time-delayed popups fire but submission is not recorded

    If the visitor submits and the popup closes before LeadToSheet processes the event, there may be a race condition. Enable LeadToSheet's submission queue in your dashboard settings to buffer the event before the DOM is removed.

  • Embedded inline forms not detected

    Poptin inline (embedded) forms render inside a target div on page load. If the target div is inside a Shopify section that loads lazily, LeadToSheet's observer will still detect it, but ensure the section is not deferred behind a user interaction gate.

Frequently asked questions

Does LeadToSheet work with Poptin's autoresponders?
Yes. Poptin's autoresponder sends emails server-side after the form submission. LeadToSheet captures the same submission at the browser level. Both systems operate independently.
Can I distinguish between different Poptin popups in my sheet?
LeadToSheet captures the form's DOM attributes, which typically include a Poptin campaign identifier. You can use this to filter or group rows by popup campaign in your sheet.
How are Poptin's advanced targeting rules reflected in the captured data?
Poptin targeting rules determine which popup renders, but the targeting criteria are not included in the form submission payload. LeadToSheet captures page URL, referrer, and device data, which you can use to infer the targeting rule that applied.