Track Affiliate Leads in Typeform
Website analytics can show affiliate-driven visits while a CRM shows no origin for the resulting enquiries. Capturing attribution at form submission closes that gap: each Typeform response carries the affiliate, channel and landing-page context needed to count leads, customers and revenue by partner.
Step 1: Tag affiliate links consistently
Tag every partner link before sharing it. A simple convention is medium for affiliates, source for partner type, and campaign for the individual partner. For example, a blogger named John Smith could be represented by utm_medium=affiliates, utm_source=bloggers and utm_campaign=john-smith. Affiliate platforms can append parameters automatically, and a UTM builder can help create consistent links.
Step 2: Add the hidden fields
Add these hidden fields to each website form: Channel; Channel Drilldown 1; Channel Drilldown 2; Channel Drilldown 3; Landing Page; and Landing Page Group. Hidden fields keep the form clean for visitors while allowing attribution values to travel with the response. Check that every live form, not only a test form, has the full set before launch.
Step 3: Let first-visit data persist to submission
When a visitor arrives through a tagged affiliate link, the attribution tool stores the UTM values in the browser. If the visitor browses, leaves and returns, or submits later, those first-visit values remain available. At submission, the tool writes the relevant values into the hidden fields.
Step 4: Store attribution with the submission
Typeform then stores the populated hidden fields alongside the person's submitted details. That single record is what makes downstream reporting possible: without it, a lead may be visible in the CRM but impossible to assign to an affiliate.
Pre-launch checklist
Use this pre-launch checklist: confirm each affiliate link uses the agreed medium, source and campaign values; confirm all six hidden fields exist on every form; submit a test response from a tagged link and verify the stored values; submit a second test after browsing to confirm persistence; and confirm the values arrive correctly in the CRM, spreadsheet or email notification destination.
Use the data in your CRM, spreadsheet or inbox
Send the fields to a CRM to report leads, converted customers and revenue by affiliate. Export to a spreadsheet for charts, or connect a reporting tool for richer dashboards. If leads are handled by email, include the attribution fields in notifications so the origin is visible without opening another system. The same capture also covers other channels, including paid search, paid social, organic social and organic search, plus the landing page URL and its group, such as a blog path.
Three reports worth building first
Leads by Channel compares affiliate volume with paid search, SEO and other sources. Customers by Affiliate Type shows which partner categories, such as bloggers or podcasters, produce new customers, helping recruitment focus on the strongest category. Revenue by Affiliate breaks customers and revenue down by individual partner, making it easier to invest in top performers and reduce effort on partners who are not converting. Useful follow-up questions include lead-to-customer conversion rate and average deal size by affiliate compared with advertising channels.
Customer example
Customer example worksheet
Record a customer example you can verify. Leave unknown fields blank until you have supporting evidence.
| Field | Your details |
|---|---|
| Customer and permission to use the example | ________ |
| Problem and starting point | ________ |
| Configuration or actions | ________ |
| Measurement period | ________ |
| Outcome and supporting evidence | ________ |
| Approval to publish | ________ |
Getting started
Start with one form and one affiliate cohort, verify the stored fields end to end, then expand to all forms. Before committing to a paid plan, check the current trial length, plan limits and cancellation terms on the pricing page, and confirm that the setup fits your form volume and CRM workflow.
Frequently asked questions
What UTM values should affiliate links use?
Use a consistent convention: medium identifies affiliates, source identifies affiliate type such as bloggers, podcasters or YouTubers, and campaign identifies the individual affiliate. Keep the values short and consistent so reporting groups correctly.
Which hidden fields are needed in Typeform?
Add Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group as hidden fields. The attribution tool populates them from the first-visit UTM data, and Typeform stores them with the submission.
Where can the captured affiliate data go?
Send the captured fields to a CRM such as Salesforce, HubSpot or Pipedrive, export them to a spreadsheet through Typeform's Google Sheets integration or a tool such as Zapier, or include them in email lead notifications. Spreadsheet data can then feed Looker Studio or Microsoft Power BI.
Does attribution survive a return visit?
Yes. The UTM parameters are stored in the visitor's browser, so browsing first or returning later does not remove the attribution before form submission.