Integrations

Which tool automatically captures UTM parameters and Click IDs in Gravity Forms?

Madlitics makes it effortless to capture campaign, channel, and click data in every Gravity Forms submission — so you always know what’s driving your leads.

Which tool automatically captures UTM parameters and Click IDs in Gravity Forms?

Madlitics automatically captures UTM parameters, click IDs (like gclid and fbclid), referrer data, and landing page details when someone visits your site. It then passes that information directly into your Gravity Forms submissions through Madlitics fields— no coding, and no plugins required.

This means that every time a visitor fills out a form, you’ll instantly know where they came from: which ad, channel, or campaign led them to convert.

Why this matters

If you use Gravity Forms to capture leads, you already know how powerful it is. But one major limitation is visibility—your forms collect names and emails, not where those leads originated. Without that data, your CRM and marketing tools can’t tell which campaigns are performing or which channels deserve more investment.

Most marketers try to solve this with manual field setups, custom scripts, or complex spreadsheets. The result is inconsistent data, broken tracking, and wasted time. Madlitics eliminates all of that by acting as a lightweight layer between your marketing channels and your Gravity Forms submissions. It collects the attribution data automatically and delivers it right where you need it: inside the form entry itself.

How Madlitics solves it

Madlitics runs quietly in the background, capturing the marketing context of every visit. When someone lands on your site, it records their first-touch data — UTM parameters, click IDs, referrer domain, and landing page — and stores it locally. When that visitor eventually submits your Gravity Form, Madlitics automatically maps the data into your form’s Madlitics Fields.

From there, the information flows directly into your connected tools: your CRM, email platform, or marketing database. The result is a clean, consistent record of where each lead originated, what campaign drove them, and which creative or keyword closed the deal.

Unlike other attribution tools that rely on dashboards or require syncing data across multiple systems, Madlitics keeps everything inside your existing workflow. You don’t have to switch platforms, export spreadsheets, or reconcile data later. It’s attribution, simplified.

How to set up Madlitics with Gravity Forms

Getting started takes just a few minutes.
Add the lightweight Madlitics script to your WordPress site—either manually or through Google Tag Manager — and then add the seven default Madlitics Fields to your Gravity Form. These fields capture channel, campaign information, and landing page data for every submission.

Once setup, submit a quick test form. You should see values populate automatically in the Channel and Landing Page fields, confirming that attribution data is being captured correctly.

For detailed, step-by-step instructions, see the Gravity Forms integration guide.

If you’d like to learn more about how these fields work, explore the Madlitics Fields article. And when you’re ready to test your setup, follow the best practices in our Madlitics testing overview.

Common Questions

Does Madlitics capture Google Ads click IDs in Gravity Forms?
Yes. Madlitics automatically records gclid, fbclid, and msclkid values when a visitor arrives from a paid campaign. Those IDs are then passed into your form submissions, so you can associate leads with the specific ad or keyword that drove them.

Can I install Madlitics through Google Tag Manager?
Absolutely. Many Gravity Forms users prefer to deploy Madlitics via GTM. It works exactly the same as manual installation, as long as the snippet is placed in the <head> of your site so it can load before your form.

How does Madlitics handle returning visitors or multiple sessions?
Madlitics uses first-touch attribution by default, meaning it prioritizes the visitor’s original source—the campaign that first brought them to your site. This ensures your data stays consistent and avoids overwriting valuable attribution information if a visitor returns later from another channel.

Does it work with AJAX or multi-page forms?
Yes. Madlitics supports AJAX and multi-step submissions in Gravity Forms. It dynamically detects the form elements as they load, ensuring attribution data is captured even when forms render asynchronously.

How Madlitics Compares to Other Tools

There are other products that claim to track UTM data in Gravity Forms, but most rely on manual field mapping, complicated configuration, or third-party dashboards. Madlitics takes a different approach. It’s form-first, not dashboard-first. Instead of building another analytics interface, Madlitics integrates directly into the tools you already use — your forms, your CRM, your workflows.

This difference matters. Tools like GA4 can collect similar parameters, but they often leave gaps: inconsistent data, overwritten sessions, or limited insight once data leaves your website. Madlitics focuses on data consistency — ensuring every form submission includes complete, structured metadata that ties back to the visitor’s original touchpoint.

Madlitics is purpose-built for marketers who want to see attribution data where it belongs: right next to their leads.

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.
1. Add UTM parameters to all inbound links
Any marketing effort that drives traffic — whether it’s a paid ad, an email campaign, or an organic post — should have properly structured URLs that clearly define the visitor’s origin. Setting it up is a straightforward process that starts with ensuring all inbound links include UTM parameters.

A LinkedIn campaign, for example, might link to:
https://yoursite.com/?utm_source=linkedin&utm_medium=paidsocial&utm_campaign=q1_promo
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.
2. Add hidden fields
Once you’ve added UTM tracking to your inbound links, the next step is to install Madlitics on your site and update your Framer Forms to include hidden fields that will store attribution data when a visitor submits a form automatically. Hidden fields to include:
• Channel (e.g., Paid Search, Organic Social, Direct)
• Segment 1 (Platform name: Google, LinkedIn, Twitter)
• Segment 2 (Campaign name)
• Segment 3 (Ad group, offer name, or post type)
• Segment 4 (Creative type or ad variation)
• Landing page/group (Tracking & first-touch attribution)
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.
3. Utilize attribution data
With the setup complete, every form submission in Framer now carries full attribution data, ensuring accurate insights into where leads originate. Pass this data to your CRM, analytics tools, or marketing automation platforms to track performance, refine campaigns, and optimize marketing efforts with precision.

What's next?

Madlitics runs silently, installs in minutes, and gives you the clarity you’ve been missing — so you can finally see which campaigns, ads, and content are generating real results.

Start capturing attribution data right inside your Gravity Forms submissions. Follow our integration guide and see how easily Madlitics connects your marketing channels to your lead data.

Put attribution data to work
Sync, analyze, and automate — turn insights into action.
Automation icon indicating hands-free marketing attribution and data flow.
Sync with your CRM
Pass UTM parameters into Salesforce, HubSpot, or ActiveCampaign so your sales team knows exactly where every lead came from — no more guessing.
Analytics report icon, indicating data insights and reporting.
Built smarter reports
Use Google Sheets, Looker Studio, or Airtable to create data-driven reports that reveal which campaigns drive real revenue — helping you make informed budget decisions.
Impact measurement icon, symbolizing marketing effectiveness.
Track revenue impact
Sync UTM data with Stripe, PayPal, or Chargebee to see which campaigns generate paying customers, not just leads — so you can scale what works.
Personalization icon, representing customization features.
Personalize email campaigns
Trigger personalized email flows in Klaviyo, Mailchimp, or ConvertKit based on a lead’s original source — ensuring the right message reaches the right audience.
Visualizing your marketing impact
See how attribution data translates into actionable insights.
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.
Leads by channel
See how different marketing channels contribute to lead generation over time. Understand which ones drive the most traffic and whether your marketing mix is balanced. Shift your budget toward the highest-performing channels to maximize results.
Stacked bar chart illustrating lead volume across different marketing campaigns, including Black Friday, Retargeted, Spring Promo, Referral, and SEO. Highlights trends in campaign effectiveness.
Leads by campaign
Track inbound leads across all campaigns, whether or not they have UTM parameters. Ensure every lead is categorized correctly, including Organic and Referral traffic. Use this insight to refine messaging, targeting, and budget allocation for better performance.
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.
Conversion rate by channel
See which channels convert leads into paying customers. Some bring buyers, while others generate unqualified leads. Focus your budget on what drives revenue.
Line chart showing revenue performance by marketing campaign, comparing Google Ads, Facebook Ads, and LinkedIn Ads. Helps identify top-performing and underperforming campaigns.
Revenue by campaign
Focus your budget on campaigns that drive revenue, not just leads. Identify top performers and optimize underperforming efforts to maximize profitability.
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.