Typeform

Typeform Attribution Tracking

See which marketing channels drive your Typeform responses. AttributionHub captures UTM parameters, referrers, and landing pages — then passes them into Typeform hidden fields so every response carries its marketing context.

The Attribution Gap in Typeform

Typeform creates beautiful, conversational forms that people actually enjoy filling out. Higher completion rates, better response quality, more engaged respondents.

But when those responses arrive in your inbox or Typeform dashboard, the marketing context is missing. You can see what someone answered, but not how they found your form. Was it a LinkedIn ad? A Google search? A newsletter link? A partner's blog?

Typeform does support hidden fields, but they're typically used for manual URL parameter passing. You have to build the URLs yourself and hope the parameters don't get lost along the way.

AttributionHub automates this entirely. It captures visitor attribution data and passes it into Typeform's hidden fields — whether the form is embedded on your page, in a popup, or as a slider.

What Data Gets Captured

UTM Parameters

Source, medium, campaign, term, and content — automatically passed into Typeform hidden fields.

Landing Page & Referrer

Where the visitor first landed and which site referred them, captured before they even open the form.

Channel Classification

Each response is tagged with its marketing channel: Paid Search, Organic, Social, Direct, Email, or Referral.

First Touch & Last Touch

Track the original discovery source and the final touchpoint before conversion across multiple sessions.

How It Works

Typeform embeds render in iframes, which means traditional hidden field population won't work. AttributionHub handles this by setting Typeform's data-tf-hidden attribute and appending parameters to the iframe URL.

Step 1: Create Hidden Fields in Typeform

In your Typeform form, go to Logic > Hidden Fields and add fields for each attribution data point:

  • ah_channel
  • utm_source
  • utm_medium
  • utm_campaign
  • utm_term
  • ah_landing_page
  • ah_referrer

Step 2: Add the AttributionHub Script to Your Website

Place the tracking snippet on your site:

<script src="https://cdn.attributionhub.com/attribution.js?id=YOUR_ID" async defer></script>

Step 3: Tag Your Typeform Embed

Add the data-attrhub-tf attribute to your Typeform embed container so AttributionHub knows to populate it:

<div data-tf-widget="YOUR_FORM_ID" data-attrhub-tf></div>

AttributionHub will set the hidden field values via the data-tf-hidden attribute and reload the form with the correct parameters.

Typeform Hidden FieldWhat It CapturesExample Value
ah_channelMarketing channelPaid Social
utm_sourceTraffic sourcelinkedin
utm_mediumTraffic mediumsponsored
utm_campaignCampaign namelead-gen-q2
utm_termSearch keywordtypeform alternatives
ah_landing_pageFirst page visited/pricing
ah_referrerReferring sitelinkedin.com

Step 4: Test Your Setup

Visit your page with UTM parameters and complete the Typeform:

https://yoursite.com/survey?utm_source=linkedin&utm_medium=sponsored&utm_campaign=lead-gen-q2

Check the response in Typeform — the hidden field values should contain the correct attribution data.

For detailed instructions, see our Typeform integration guide.

Use Cases

Product Research — When running Typeform surveys to validate ideas or gather feedback, know which audience segments (by traffic source) give you the most useful responses.

Lead Qualification — Conversational Typeform questionnaires that qualify leads become even more powerful when you know which campaign generated each respondent.

Event Registration — Track which promotional channels drive the most event signups, and segment attendees by marketing source for post-event analysis.

Customer Onboarding — For onboarding surveys embedded on your site, attribution data shows which acquisition channels produce the most engaged new customers.

What Makes AttributionHub Different

All Embed Types Supported

Works with standard embeds, popups, sliders, and full-page Typeforms — all embed modes are handled automatically.

Iframe-Safe

Typeform renders in iframes, which block direct DOM access. AttributionHub passes data through URL parameters and the data-tf-hidden attribute.

First-Party Data Only

No third-party cookies. Attribution data is captured client-side and stored using first-party mechanisms.

SDK Integration

Automatically reloads the form with attribution values if the Typeform SDK is loaded on the page.

Frequently Asked Questions

Does this work with Typeform popups and sliders?

Yes. AttributionHub supports all Typeform embed types: standard widget, popup, slider, and sidetab. The attribution data is passed via hidden fields regardless of how the form is displayed.

Can I see attribution data in Typeform's Results panel?

Yes. Hidden field values appear in the Typeform Results panel alongside the visible responses. You can filter and export data by any hidden field.

Will this work with Typeform's integrations (Zapier, Google Sheets, etc.)?

Absolutely. Hidden field data flows through all of Typeform's native integrations. When a response is sent to a Google Sheet or triggered via Zapier, the attribution values are included.

Does this slow down the Typeform loading?

No. The AttributionHub script is under 10 KB and sets hidden field values before or during the Typeform load process. There's no additional delay.


Start Tracking Your Typeform Responses

Set up attribution in minutes. See which campaigns, channels, and keywords drive your Typeform submissions.

Get Started Free
Loading footer...