Integrations / Typeform
Typeform logo
Form Builders

LeadLotus + Typeform

Native Typeform attribution via hidden fields.

Typeform supports hidden fields natively. LeadLotus uses Typeform's documented data-tf-hidden attribute and URL-hash protocol so every response includes channel, source, and journey data — no Zapier needed.

Typeform integration uses the data-leadlotus-tf attribute on the embed wrapper.
1
Add the snippet to your site
Standard: paste into <head>. Snippet captures UTMs, referrer, and landing data on every page.
<!-- LeadLotus Attribution Snippet -->
<script async
  src="https://www.leadlotus.com/snippet.js?key=YOUR_API_KEY"
  data-key="YOUR_API_KEY"
  data-endpoint="https://www.leadlotus.com/api/v1/ingest">
</script>
2
Create hidden fields inside your typeform
Open your typeform → Logic → "Personalize with data" → Hidden fields. Add hidden fields named exactly: leadlotus-channel, leadlotus-drilldown1, leadlotus-drilldown2, leadlotus-drilldown3, leadlotus-drilldown4, leadlotus-landing-url, leadlotus-first-visit, leadlotus-visits.
3
Tag the Typeform embed
Add the data-leadlotus-tf attribute to your embed container (or directly to the iframe). LeadLotus writes the data-tf-hidden attribute and splices the iframe URL hash so Typeform sees the values.
<div data-tf-widget="<your-id>" data-leadlotus-tf></div>
<script src="//embed.typeform.com/next/embed.js"></script>
4
See attribution on every response
Hidden field values appear on each Typeform response and flow through any Typeform integration (Slack, HubSpot, Zapier, Google Sheets) — they're first-class fields, not metadata.

Attribution fields

LeadLotus writes these hidden field values just before your form submits.

Field nameExample valueDescription
leadlotus-channelOrganic SearchTop-level channel (Organic Search, Paid Social, Direct, Referral, etc.)
leadlotus-drilldown1GoogleChannel-specific source (search engine, social network, or utm_source)
leadlotus-drilldown2spring_launchutm_campaign on paid traffic, referring host on organic
leadlotus-drilldown3pricing_keywordutm_term — keyword or ad term, when present
leadlotus-drilldown4hero_ctautm_content — ad variant or placement, when present
leadlotus-landing-url/pricingFirst landing page of the visitor
leadlotus-first-visit2026-04-24Date of the first visit (ISO)
leadlotus-visits3Total sessions before conversion