Attribution Guide

Formstack Marketing Attribution: Stop Losing Lead Source Data

Madlitics enriches every Formstack submission with UTMs, click IDs, referrers, and landing page data; so you can see exactly which efforts drive results.
Start capturing attribution →
Attribution is broken
Automation icon indicating hands-free marketing attribution and data flow.
Analytics report icon, indicating data insights and reporting.
Impact measurement icon, symbolizing marketing effectiveness.
Personalization icon, representing customization features.

Madlitics automatically captures UTM parameters, click IDs (like gclid and fbclid), and referrer data when someone visits your site. This data flows through Formstack into your CRM, analytics, and marketing tools—giving you consistent, first-touch attribution data that shows exactly which channels and campaigns drive leads, conversions, and revenue.

Why this matters

Formstack is trusted by thousands of businesses to manage lead capture, workflows, and automation. But while it’s excellent at collecting submission data, it doesn’t automatically record how each lead arrived at your form.

Without attribution data, you can’t tie submissions back to marketing activity. Did that demo request come from Google Ads, a LinkedIn campaign, or an organic search? Without a clear picture, it’s impossible to see which efforts generate real results.

Many teams try to solve this by manually creating hidden fields or using spreadsheets to track UTMs—but those methods break easily across pages and don’t scale. Madlitics solves this problem by automatically capturing marketing attribution data and passing it directly into your Formstack submissions.

How Madlitics solves it

Madlitics runs quietly in the background of your site, capturing first-touch data the moment someone lands on a page. It records UTM parameters, click IDs, referrer, and landing-page details, then stores that information locally until a visitor completes a form.

When a form is submitted, Madlitics injects those values into your Madlitics Fields, enriching the submission with full attribution context. That data travels automatically into your connected CRM, analytics, or marketing automation tools—so you can connect each lead to the original source that generated it.

Madlitics works seamlessly with Formstack JavaScript and lightbox embeds, detecting and enriching forms the instant they load. You keep using Formstack exactly as you do today—Madlitics just adds a powerful layer of marketing intelligence behind the scenes.

Madlitics multi-channel attribution visualization, showing marketing platforms like TikTok, Instagram, Google, and Facebook. The graphic highlights how different sources contribute to high-performing marketing channels.
Screenshot of a form builder interface with a highlighted 'Hidden Input' field. Accompanied by text explaining how to install and set up Madlitics by adding hidden fields to capture marketing attribution data.
CRM interface showing a detailed view of captured attribution data, including marketing channels, segments, and landing pages. A business profile of a lead is displayed, highlighting how Madlitics enriches lead data for sales and marketing teams.
Graph showing new customer growth from TikTok, Instagram, Snapchat, and Google over time, with social media icons surrounding the chart and a callout for social revenue impact.

How to set up Madlitics with Gravity Forms

Setting up Madlitics with Formstack takes just a few minutes.

Add the lightweight Madlitics script to your website (manually or through Google Tag Manager), then include seven Madlitics Fields in your Formstack form. These fields automatically capture the visitor’s channel, campaign, and landing-page data whenever they submit a form.

To verify everything is working, fill out your own form and check the submission details—you’ll see Channel and Landing Page values populate automatically.

For detailed, step-by-step instructions, visit the Formstack integration guide.
To explore how each field works, see the Madlitics Fields Value Pairs article.
And for validation best practices, review the Madlitics Testing Overview.

Common Questions

Does Madlitics work with Formstack lightbox or JavaScript embeds?
Yes. Madlitics automatically detects Formstack forms embedded via JavaScript or lightbox and passes attribution data into your Madlitics Fields. No iframe configuration or custom code required.

Can I track paid campaigns like Google Ads or Meta?
Absolutely. Madlitics records click IDs (gclid, fbclid, msclkid) and UTM parameters automatically. When a lead converts, those identifiers are included in the submission, linking each form entry back to its original campaign.

Can I add the Madlitics script through Google Tag Manager?
Yes. Many Formstack users install Madlitics through GTM. Just ensure the tag fires in the <head> of your site so attribution data is captured before the form loads.

What if the same visitor fills out a form more than once?
Madlitics uses first-touch attribution, meaning it attributes each submission to the visitor’s original source. That prevents later visits from overwriting valuable data and keeps reporting consistent.

How Madlitics Compares to Other Tools

Most analytics platforms can track traffic but lose visibility at the form level. GA4, for example, collects UTM data but doesn’t connect it directly to individual submissions. Madlitics bridges that gap.

Rather than sending data to an external dashboard, Madlitics embeds attribution directly into your Formstack submissions — making the data instantly available inside your CRM, analytics, and automation tools. The result is consistent, actionable insight into which campaigns are actually driving results.

Stacked bar chart showing lead generation by marketing channel over time, comparing sources like Paid Search, Paid Social, Organic Search, Direct, and Email. Helps visualize which channels drive the most traffic.
Stacked bar chart illustrating lead volume across different marketing campaigns, including Black Friday, Retargeted, Spring Promo, Referral, and SEO. Highlights trends in campaign effectiveness.
Line chart displaying lead-to-customer conversion rates by channel, comparing Google Ads, Facebook Ads, LinkedIn Ads, Organic Search, and Email. Shows how different sources drive qualified leads over time.
Line chart showing revenue performance by marketing campaign, comparing Google Ads, Facebook Ads, and LinkedIn Ads. Helps identify top-performing and underperforming campaigns.

What's next?

Start capturing complete attribution data in your Formstack submissions.
Follow our integration guide and see how Madlitics connects marketing channels to real leads, conversions, and revenue.

Madlitics installs in minutes, runs silently in the background, and gives you the clarity to see which channels, campaigns, and ads are truly driving growth.

Related articles to get you started with Madlitics

Frequently Asked Questions

Answers to common questions about UTM tracking with Madlitics and Formstack

Everything you need for reliable lead attribution
Accurate, persistent, and automated tracking — so your campaigns perform at their best.
Performance icon symbolizing marketing campaign effectiveness and results tracking.
Outperforms basic UTM tracking
Madlitics captures, categorizes, and persists attribution data across sessions, giving you a complete, structured view of what’s working in your marketing. Say goodbye to losing attribution when users navigate your site, struggling with formatting inconsistencies, and ingored non-UTM traffic.
Capture icon indicating data collection from various marketing channels and sources.
Capture all traffic
Madlitics categorizes all inbound leads — whether they have UTM parameters or not — so every conversion is accounted for, and you won't miss out on Organic Search, Organic Social, and Referral traffic.
Routing icon representing the flow of marketing data and attribution pathways.
Attribution across pages and sessions
A LinkedIn ad click should be attributed correctly—even if the visitor signs up on a different page later. If someone clicks an ad, browses multiple pages, then submits a form later, Madlitics persists attribution data across sessions, ensuring your reports reflect true performance.
List icon representing structured marketing data, reports, or campaign breakdowns.
Cleaner, more reliable data
Duplicate UTMs and inconsistent formatting break reports and mislead teams. Madlitics cleans and organizes attribution data before sending it to your CRM, giving you accurate insights.
Target icon symbolizing precise audience targeting and marketing campaign focus
See which content converts
Attribution isn’t just about where visitors came from—it’s about what convinced them to convert. By capturing landing page data alongside UTM parameters, Madlitics shows you which blog posts, case studies, or pricing pages drive the most revenue, helping you scale content that works.
Action icon representing campaign execution, optimization, and engagement.
Transform form submissions into actionable insights
Madlitics connects marketing touchpoints to lead generation, ensuring every form submission is fully attributed — optimize ad spend by identifying high-ROI channels, refine messaging based on what content drives engagement, make data-driven decisions with clean, structured reports, and more.