Get UTM parameters into Perfex CRM
If you cannot tell which campaigns create leads, customers and revenue, budget decisions become guesswork. This guide shows a four-step setup that tags campaigns, adds six hidden form fields, lets an attribution script fill them automatically, and sends the result into Perfex CRM for reporting.
How attribution data reaches Perfex
A small site script reads technical visit data — including HTTP referrer information, UTM parameters and device details — then classifies the visitor into a channel such as Paid Search, Organic Search or Paid Social. That classification is saved in a browser cookie. When a form is submitted, the script adds the stored values behind the scenes, alongside the name, email and company entered by the visitor. Perfex then receives both the form data and the attribution data, so reports can be run in Perfex or in a connected analytics tool.
Four-step setup checklist
Work through these steps in order. Skipping the tagging step leaves nothing to capture; skipping the hidden fields leaves nowhere for the data to land.
Step 1: Add UTM variables to ads and campaigns
Step 1 — Tag every campaign. Add UTM parameters to paid social ads (for example LinkedIn, Facebook, Twitter and Instagram), search ads (Google, Bing and Yahoo), trade publications, email campaigns and other advertisements. Consistent tagging across all activity gives a complete picture, not only paid search.
Step 2: Add six hidden fields to your forms
Step 2 — Add hidden fields to lead capture forms. Use contact forms, email sign-ups and any other lead forms. Hidden fields are invisible to the visitor but readable by the attribution script. Add exactly these six: Channel; Channel Drilldown 1; Channel Drilldown 2; Channel Drilldown 3; Landing Page; Landing Page Group. The same fields can be added to Perfex Web to Lead forms, or to third-party builders such as Gravity Forms, WPForms and Typeform.
Step 3: Automatic completion, with a worked example
Step 3 — Let the script complete the fields. On submission, the six fields are populated automatically. Worked example: a visitor searches for ways to share large files, clicks a search ad, and reaches a demo form. The fields resolve as Channel = Paid Search; Channel Drilldown 1 = Google; Channel Drilldown 2 = Brand Campaign; Channel Drilldown 3 = Dropbox; Landing Page = www.dropbox.com/features/share; Landing Page Group = Features. Use this example as a test case: submit a tagged test visit and confirm each field matches the expected channel, drilldowns and landing page before relying on live data.
Step 4: Pass data into Perfex and report
Step 4 — Pass the data into Perfex and report. After submission, the captured values arrive in Perfex with the lead. Reports can then compare campaigns by lead volume, conversion into customers, and revenue generated. Check the record immediately after a test submission: if the six fields are empty, revisit tagging and hidden-field naming before debugging anything else.
Why this is more than raw UTM capture
Captures all traffic — including visits with no UTM tags, such as Organic Search, Organic Social and Referral — so the view covers every lead source, not only paid campaigns. Remembers data across pageviews — because data is held in a cookie, a visitor who lands on the home page from an ad and converts later on the contact page still carries the original attribution; tools that require UTM tags on the form page itself would lose it. Provides cleaner data — raw tags often fragment one source into several variants (for example Twitter.com, twitter and tw), forcing manual stitching in reports; normalisation accounts for capitalisation and similar inconsistencies and assigns the lead to a single channel such as Paid Social. Captures landing page data — the first landing page and its subdirectory or category are recorded, so content performance can be drilled down, for example from a blog section to an individual article and the value of leads it attracted.
Wrap up
The practical value is decision support: cleaned, complete attribution in the CRM makes it easier to direct focus and budget toward the campaigns, content and channels that produce customers and revenue. Before going live, run the checklist end to end — tagged campaign, six hidden fields, script completion verified against the worked example, and a Perfex record checked for all six values.
Frequently asked questions
Does this only work for paid traffic?
No. Visits without UTM tags are also classified, including Organic Search, Organic Social and Referral, so reporting is not limited to paid campaigns.
What if the visitor lands on one page and submits a form on another?
Yes. Attribution data is stored in a cookie, so it can carry from the landing page to a later form page instead of requiring UTM tags on the form page itself.
Why not just pass raw UTM values into Perfex?
Raw values can fragment reporting when the same source is written in different forms. Normalising them into a single channel, such as Paid Social, keeps campaign reporting consolidated.