Getting started

Installing Madlitics Overview

A guide to adding Madlitics to your website for accurate marketing attribution
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 makes it simple to track how visitors arrive at your site and tie every lead back to the right channel or campaign. By adding a small code snippet and a few extra fields to your forms, you’ll unlock clean attribution data that flows directly into your CRM and reports — no heavy setup required.

Prerequisite: Before you can install Madlitics, you’ll need to create a Madlitics account. Registration unlocks your dashboard, and copy the code snippet that powers attribution. This step only takes a minute and ensures you have everything ready before moving on to the platform-specific setup.

Step 1. Create your account
Sign up for a free trial on the Madlitics website to get started. Creating an account unlocks your dashboard, where you’ll manage your sites, view analytics, and access the code snippet you’ll need to install.

Start by signing up for a free Madlitics trial to begin capturing attribution data.

Fill out the registration form to create your account and unlock your dashboard

Step 2: Access your installation snippet
Once you’ve registered and logged in, you’ll land in your dashboard’s Get Started section. Here, you’ll find your unique Madlitics installation snippet, which is required to enable tracking on your site.

Locate your unique installation snippet in the dashboard under Get Started › Step 1 › Copy Code Snippet.

Step 3: Add the Snippet to Your Website
Paste the Madlitics code snippet right after the <head> tag on every page of your site — (ideally) before any other scripts. This ensures visitor data is captured immediately, even if someone leaves the page early. Be sure the script is included on all pages, including standalone landing pages and those with forms, so Madlitics can track the full visitor journey.

In Webflow, go to your Site Settings, then Custom Code in the Head codesection. Paste the snippet and publish your site.

In Framer, head to Project Settings, then Custom Code. Placement, at the End of Head. Run, on every page. Past snippet in the Code area and publish your site.

For custom built sites, add the Madlitics snippet to your HTML file. Place it just before the closing </head> tag so it loads on every page, and publish your site.

Step 4: Configure forms to capture marketing data
Update your forms with additional fields that capture how visitors found your site and what brought them there. Once collected, this data can be sent to your CRM or marketing tools to give you an even clearer picture of which channels are driving leads, customers, and revenue. Configuring form fields vary depneing on the form builder, integration specific instruction can be found in our support articles.

Tally forms use hidden fields with with custom field names

Fluent forms uses hidden fields with custom default values

Typeform uses URL parameters to pass through data from Madlitics

4: Test your implementation
Once you’ve deployed your changes, check that the script is active. Visit your site in a browser, right-click anywhere on the page, and select Inspect. (Or hit Cmd + Option + I on Mac or Ctrl + Shift + I on Windows.) Go to the Elements tab and scroll up to the <head> section. If your Madlitics script is there — you’re good to go. Submit a test lead through your form setup to ensure the Madlitics fields are passing into the submission record.

Confirm Madlitics code snippet is appearing in head tag.

Submit a test form entry, and confirm that Madlitics fields appear in your submission.

4: Upgrade your plan
Madlitics starts with a free 14-day trial so you can see attribution in action. When you’re ready to scale, upgrade to a paid plan to unlock higher lead limits, support for multiple domains, and see which campaigns are driving revenue!

Capture more leads, support across more domains, with paid plans.
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.
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.

Related articles to get you started with Madlitics

Frequently Asked Questions

Answers to your top questions about our platform

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.