How to capture UTM parameters in Contact Form 7

Know what marketing channels & campaigns are generating leads & customers by capturing UTM parameters in Contact Form 7

Capture analytics data in forms

As a growth-hungry marketer, you spend hours, days, sometimes weeks or months setting up effective marketing channels to generate leads you can turn into customers.

But how do you accurately measure the success of each lead generation strategy so you know where to focus your efforts?

What if you could easily track every lead and opportunity in your CRM and then run reports to know precisely which of your marketing campaigns, content & channels are working.

With Attributer and Contact Form 7 you can automatically capture UTM parameters and send them to your CRM or other tools so you can run reports on your marketing campaigns.

Here is how you do it.

4 steps for capturing UTM parameters in Contact Form 7

Using Attributer to capture UTM parameters in Contact Form 7 is easy. Here's how to do it in 4 easy steps:

1. Add UTM variables to your ads

Dropbpox UTMs

Start by adding UTM parameters to all your marketing campaigns and paid ad referral links.

These campaigns could include social media platforms like Facebook, LinkedIn, Instagram, Twitter, or search engines like Google and Bing. Also, to get a comprehensive overview of your marketing efforts, consider adding UTM in advertisements, trade publications, email campaigns, etc.

UTM links help Attributer know where your website traffic is coming from and pass that information on to your CRM.

2. Add hidden fields to your forms

Add Hidden fields

Second, you need to add hidden fields to your lead capture forms (i.e. any forms you use to capture leads like contact forms, email signups, etc.). Hidden forms don't appear to the user but can be used by Attributer to pass data with each form submission.

Adding a hidden field in Contact Form 7 is simple. Just add a hidden field line of code to your contact form like this:

[hidden channel default:[channel]]

Here the hidden fields you need to add to your forms:

  • Channel
  • Channel Drilldown 1
  • Channel Drilldown 2
  • Channel Drilldown 3
  • Landing Page
  • Landing Page Group

So in your Contact Form 7 form, you would need a total of six hidden fields.

3. Attributer automatically completes the hidden fields with UTM data

Populate hidden fields

Now that you have the six hidden fields added to your forms, Attributer will allocate each UTM parameter to those Contact Form 7 fields.

To explain how Attributer does this, we'll look at the following example.

A user searches for "ways to share large files" and sees a Dropbox ad at the top of the search results.

When the user clicks the ad, they're taken to a Dropbox lead capture page where they fill out a form to request a demo.

Attributer will complete your hidden fields as follows:

  • Channel = Paid Search
  • Channel Drilldown 1 = Google
  • Channel Drilldown 2 = Brand Campaign
  • Channel Drilldown 3 = Dropbox

Additionally, Attributer will track the page the user landed on and populate those fields too.

Using the example above, the fields would look something like this:

  • Landing Page =
  • Landing Page Group = Features

4. UTM parameters are captured by Contact Form 7

UTM data sent to CRM

When the user submits your Contact Form 7 form, all the hidden fields (your UTM parameters) are also captured.

Using Contact Form 7 integrations, you can send all the user's data, plus the UTM parameters, to your CRM or email marketing software, or use a tool like Zapier to populate spreadsheets and other tools or software.

What is Attributer?

From the four simple steps above, you can see how Attributer makes it easy to capture UTM parameters in Contact Form 7.

Want to know more? Attributer is essentially an algorithm that scans your website traffic for UTM parameters, HTTP referrer information, device, etc.

Attributer then categorizes each user into channels like paid search, organic search, paid social, etc., and saves it in the user's browser as a cookie.

When a user submits any Contact Form 7 form on your website with the hidden fields, Attributer adds those UTM parameter values to the form submission.

Attributer was built by a B2B marketing consultant who wanted to identify which marketing channels were working best to convert leads into sales.

Why using Attributer is better than capturing raw UTM parameters

I know what you're thinking, "there are other tools available that UTM parameters in Contact Form 7, so why use Attributer?"

Glad you asked. Attributer doesn't only capture raw UTM parameters. It does a lot more, including:

1. Captures all traffic

Attributer captures and saves all incoming traffic sources to populate Contact Form 7 fields, even for users who arrive without UTM parameters.

So, for traffic that comes to your website from a search engine or referral, with no UTM parameters, Attributer will record that data in your forms.

2. Provides cleaner data

As well as capturing, Attributer also cleans and organizes data. One of the problems with raw UTM parameters is that you end up with loads of messy and inconsistent values.

As an example, Twitter referrals might be tagged with (capital T), others with UTM_Source=twitter (lowercase, no domain), and others with UTM_Source=tw.

The problem with this is that most CRMs, spreadsheets, or email marketing software will save three different traffic sources rather than all being from Twitter. When it comes time to reporting, your insights will be inaccurate.

Attributer takes care of those inconsistencies and will ascribe leads to Paid Social regardless.

3. Captures landing page data as well

Beyond knowing what channels your traffic comes from, It's also important to know what attracted them there.

Or in other words, what landing page did a user first arrive on your website?

Attributer captures the initial landing page and landing page category so that you can drill down into your analytics.

For example, if the landing page were, Attributer would record both the page (capture-utm-parameters) and subdirectory (/blog/).

Now, when you run reports in your CRM, you can figure out how sections of your website (like your blog) are performing in terms of leads, customers & revenue. You can also drill down into individual blog posts to determine which pieces attract the most valuable leads.

Wrap up

Attributer isn't just another UTM parameter capturing tool; it does a lot of work behind the scenes to make sure you have accurate and measurable data.

Attributer captures and passes UTM parameters into Contact Form 7 and also provides marketing attribution data when UTM parameters aren't present. The tool also cleans up your data so you can run accurate reports in your CRM, email marketing, or other lead management software.

Ready to experience what Attributer can do for you? Get started with a free trial today!

Get Started For Free

It's free to get started with Attributer, and paid plans start at just $49 per month