Track UTM Parameters from a WordPress Contact Form
Updated November 2026. A contact form that only stores a name, an email and a message tells you that someone wrote in. It does not tell you whether they came from a Google Ad, a WhatsApp bio link, a guest post or an email newsletter. This guide explains how to track UTM parameters from a WordPress contact form so that each lead arrives with its campaign tags still attached, and how to do that without building a custom hidden-field maze if your form plugin already saves those values automatically.
The campaign tags themselves are the standard UTM parameters described in Google’s Analytics documentation: utm_source, utm_medium and utm_campaign are the three required parameters in Google’s URL-builder help, and utm_term and utm_content are optional. The official help page is Google’s campaign URL builder documentation. The values are case-sensitive. The working WordPress example is Advisers Contacts by My Advisers, version 1.4.9 as listed in November 2026, which requires WordPress 6.4 or later and PHP 7.4 or later. The official product guide is at myadvisers.in/advisers-contacts. It states that the plugin provides automatic campaign tracking: UTM source, medium, campaign, term and content, Google and Facebook click IDs, landing page and referring site are saved with every lead.
What UTM parameters are for, in one paragraph
UTM parameters are short labels you add to the query string of a URL before you share it. A typical tagged link looks like this:
https://www.example.com/contact/?utm_source=google&utm_medium=cpc&utm_campaign=delhi-repairs&utm_content=headline-a
When someone opens that URL, the site (and any analytics tool that reads the query string) can record that the visit came from Google, as paid search, in the Delhi repairs campaign, with a particular creative. The same idea works for utm_source=newsletter and utm_medium=email, or utm_source=whatsapp and utm_medium=social. The labels are yours to choose, but they should be consistent, spelled the same way every time, and free of spaces. A link builder, including the free one at myadvisers.in/free-tools/utm-link-builder, is only a way to avoid typographical mistakes. It does not create a campaign that does not exist.
Click IDs are a related, but different, kind of tag. Google Ads can append a click identifier, and Facebook ads can append theirs. Advisers Contacts’ official feature list says Google and Facebook click IDs are saved with the lead, alongside the landing page and the referring site. Those fields help you reconcile a lead with an ad platform later. They are not a substitute for the five UTM values, and they appear only when the traffic actually carried them.
How to track UTM parameters from a WordPress contact form
The practical sequence has two halves: tag the links you publish, then collect the tags on the lead. If you only do the first half, your analytics may show traffic but your inbox will still be a pile of unlabelled names. If you only do the second half, the form is ready, but every visit arrives untagged.
- Agree a small naming scheme. Use lowercase values, hyphens instead of spaces, and a short list of sources and media you will actually reuse:
google/cpc,newsletter/email,whatsapp/social,justdial/referral, and so on. Because the parameters are case-sensitive,Googleandgooglewill not combine cleanly later. - Build the tagged URLs with the three required parameters present on every campaign link, plus term or content when you are testing two headlines or two keywords. Point the URL at the page that actually holds the form, or at a page that leads to it in a way you have tested (see the caveat below).
- Install and configure the form plugin. For Advisers Contacts, install the official directory package, activate it, and place the form on the contact or landing page with the documented shortcode. Enable only the fields you need among the plugin’s 30 available fields. Set the email alert so a new lead reaches you, and use the optional auto-reply if you want the visitor to receive an acknowledgement.
- Submit a test lead from a tagged URL. Open a private window, paste your tagged link, fill the form, and open the lead in the submissions dashboard. Confirm that source, medium, campaign, term and content match what you put in the URL, and that the landing page and referrer are populated as you expect. If you use a paid ad, also check whether the click ID arrived.
- Export or filter later, do not re-type the tags. The official feature list includes CSV export of the filtered list, a pipeline (New, Contacted, Qualified, Won and Lost), and a lead score from 0 to 100 (Hot, Warm and Cold). Campaign tags are there so you can group those stages by source, not so you can copy them into a spreadsheet by hand after every enquiry.
On WordPress.com, whether you can install a directory plugin depends on your plan. Since April 2026, allowed plugins can be installed on every paid WordPress.com plan, with some platform incompatibilities still in force; see the WordPress.com plans article and confirm on WordPress.com. Self-hosted WordPress is the straightforward path.
What is saved automatically — and what you should still test
Advisers Contacts is officially described as saving, with every lead, the UTM source, medium, campaign, term and content, Google and Facebook click IDs, the landing page and the referring site. You should not need to add hidden fields for those values if you are using this plugin as documented. That is the point of automatic campaign tracking.
What the official sentence does not replace is a test of your visitor path. Some people arrive on a tagged advert, then click an interior menu link that has no query string, then open the contact page ten minutes later. Whether the tags still appear on that lead depends on how the site and the plugin handle a later, untagged URL. This article does not invent a first-touch cookie or a session lifetime that is not in the official feature list. The honest procedure is to test two paths and read the lead record:
- submit the form immediately on the tagged landing page;
- submit the form after moving to another page on the same visit, and, separately, after coming back later through an untagged bookmark.
If the second path arrives blank, change the way you work: put the form on the landing page itself, or repeat the UTM parameters on the contact-page links you control, or keep the tagged advert pointed at a page that already contains the form. Do not assume a blog post written a year later can describe a retention behaviour that you have not observed on your own site.
The landing-page and referrer fields are useful when UTMs are missing. A referrer of a particular directory, or a landing page of a campaign article, can still explain an untagged lead. They are not as clean as a source you chose yourself, because many apps and in-app browsers strip referrers. Treat them as clues, not as a complete campaign system.
Connecting the form to ads and to analytics, without mixing the jobs
UTMs on a contact-form lead are a CRM record: they tell you which campaign produced a person who wrote in. The same UTMs in Google Analytics or another analytics tool tell you which campaign produced a session. Those two systems can disagree. A session may bounce; a lead may arrive from a forwarded email that kept the tags; an auto-tagged click ID may be present when a handmade UTM is not. Reconcile them by sampling, not by forcing the totals to match on day one.
If you run Google Ads, tag the final URL (or use the platform’s own tagging in a way you have tested) and then confirm both the UTM values and the Google click ID on a test submission. A broader campaign-management discussion is in the Google Ads guide on this blog. This article does not duplicate that media-buying advice. It only insists that a lead you intend to attribute to an ad must be opened from a URL that actually carries the tags, and that you inspect the stored lead, not only the Ads interface.
Privacy sits beside all of this. Advisers Contacts officially includes privacy export and erase tools, which matter if a person asks for a copy or deletion of their data, including the campaign metadata stored with the lead. Do not put a campaign tag in a public thank-you URL if that would expose another person’s click ID. And do not store tags you have no use for; a short, consistent scheme is easier to justify and to delete cleanly than a dozen experimental spellings of the same source.
A repeatable naming scheme you can actually keep
| Channel | utm_source | utm_medium | utm_campaign example |
|---|---|---|---|
| Google Ads | cpc | mumbai-ac-repair-2026 | |
| Email newsletter | newsletter | june-service-list | |
| WhatsApp notice | social | festival-hours | |
| Partner mention | partner-name | referral | guest-article |
| Printed QR | poster | offline | shopfront-window |
The table is a convention, not a Google requirement. What Google’s help requires, for a complete campaign URL in their builder, is the presence of source, medium and campaign. The campaign values should be unique enough that you can tell two efforts apart in six months’ time. “test” and “new” are how a dashboard becomes unreadable.
A short overview of My Advisers’ other tools, including this plugin, is in the tools guide on this blog. If you also embed financial calculators on the same landing page, that is a separate plugin and a separate shortcode; do not expect the contact form to tag a calculator session.
Mistakes that leave the lead untagged
- Linking an ad to the homepage and hoping the tags travel, without a test. Point at least one campaign at a page that already has the form, and verify the stored lead.
- Mixing case and spaces:
utm_source=Google Adsis a fragile value. Usegoogleand put the detail in the campaign or content parameter. - Omitting utm_campaign and then being unable to tell two Google campaigns apart.
- Tagging internal menu links. Your own navigation should not rewrite every page as a new campaign. Tag the entry URLs you publish off-site.
- Looking only at analytics sessions and not opening a single lead record. The form is the system this article is about.
- Building hidden fields by hand in a plugin that already saves UTMs, and then debugging two competing mechanisms.
A short troubleshooting checklist
If a test lead arrives without tags, work through the URL first, then the form. Copy the address from the browser bar on the landing page and confirm that utm_source, utm_medium and utm_campaign are still visible after any redirect. A redirect that strips the query string is a common reason a perfectly built Ads URL arrives clean. Next, submit the form on that same page without clicking a menu. If the tags are present there but vanish after an internal click, you have a path problem, not a typo. If they are missing even on the first page, the shortcode may be on a different page from the one you tagged, or you may be looking at an old lead from an earlier untagged test. Filter the dashboard by the time of the test and open the newest record. Finally, try a private window so an extension or a cached redirect is not rewriting the query string. When the test lead is clean, leave that tagged URL as the official entry point for the campaign and resist the urge to “tidy” it in a later page-edit.
Frequently asked questions
Which UTM parameters are required?
Google’s campaign URL-builder help treats utm_source, utm_medium and utm_campaign as required, and utm_term and utm_content as optional. The values are case-sensitive.
Does Advisers Contacts need hidden fields for UTMs?
The official feature list describes automatic campaign tracking of the five UTM values, Google and Facebook click IDs, landing page and referring site, saved with every lead. You should still test your own visitor path, as described above.
Will this replace Google Analytics?
No. It stores campaign metadata on the lead. Analytics still measures visits and on-site behaviour. Use both, and expect occasional differences.
Can I use this on a WordPress.com site?
Only if your plan allows you to install the plugin. Check the current WordPress.com rules and the plans article linked above.
Is this marketing or legal advice?
No. It is a practical tagging and form-configuration guide. Ad-platform policies and privacy law in your situation should be checked separately.
Disclaimer
This article is general information about UTM tagging and about official Advisers Contacts features, current as of the November 2026 product description cited above. Plugin behaviour, Google’s documentation and ad-platform click-ID names can change. Test on your own site, read the current official help pages, and take professional advice if you need it for privacy or advertising compliance.
References
- Google Analytics Help, custom campaign parameters and URL builder (required
utm_source,utm_mediumandutm_campaign; case-sensitive values): https://support.google.com/analytics/answer/10917952?hl=en. - My Advisers, Advisers Contacts product guide (automatic saving of UTM values, click IDs, landing page and referrer): https://myadvisers.in/advisers-contacts/.
Comments
Post a Comment