Title: Tagend Lead Source – UTM Tracker for Contact Forms
Author: Tagend
Published: <strong>November 19, 2026</strong>
Last modified: November 19, 2026

---

Search plugins

![](https://ps.w.org/tagend-lead-source/assets/banner-772x250.png?rev=3811442)

![](https://ps.w.org/tagend-lead-source/assets/icon-256x256.png?rev=3811442)

# Tagend Lead Source – UTM Tracker for Contact Forms

 By [Tagend](https://profiles.wordpress.org/tagend/)

[Download](https://downloads.wordpress.org/plugin/tagend-lead-source.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/tagend-lead-source/#description)
 * [Reviews](https://wordpress.org/plugins/tagend-lead-source/#reviews)
 *  [Installation](https://wordpress.org/plugins/tagend-lead-source/#installation)
 * [Development](https://wordpress.org/plugins/tagend-lead-source/#developers)

 [Support](https://wordpress.org/support/plugin/tagend-lead-source/)

## Description

A new enquiry lands in your inbox. Did it come from your Google Ads, a Facebook 
post, Google search, ChatGPT or a newsletter? Without that information, it is hard
to know which marketing works.

Tagend Lead Source answers that for every lead. It remembers how each visitor found
your website, then adds the source to the form notification email and to a simple
report in WordPress. There are no hidden fields to set up and nothing to configure:
install it, and your next lead email shows where the lead came from.

#### What every lead email shows

 * **Channel:** Paid search, Paid social, Organic search, AI search, Social, Email,
   Referral, Other campaign or Direct.
 * **Source and medium,** for example google / cpc or facebook / paid_social.
 * **Campaign, keyword and ad** from your UTM tags (utm_campaign, utm_term, utm_content).
 * **Ad click ID** from Google Ads (gclid, gbraid, wbraid), Microsoft Ads (msclkid),
   Meta (fbclid), TikTok (ttclid) and LinkedIn (li_fat_id).
 * **Landing page,** the first page the visitor saw.
 * **Referring page,** the website that sent them.
 * **First visit,** so you also see how they found you the very first time.
 * **Form page,** the page the form was sent from.

#### AI search tracking

Visitors from ChatGPT, Perplexity, Gemini, Claude, Copilot and other AI assistants
are labelled “AI search”, so you can see how many of your leads now come from AI
answers instead of lumping them in with ordinary referrals.

#### Works with your form plugin

 * Contact Form 7
 * WPForms (Lite and Pro)
 * Gravity Forms
 * Elementor Pro forms
 * Fluent Forms

The lead source is added to the bottom of the notification email you receive. Emails
sent to the person who filled in the form are left out. You can also place it yourself
with a tag: `[_tagend_lead_source]` in Contact Form 7, `{tagend_lead_source}` in
WPForms and Gravity Forms.

#### Simple lead source report

Under Lead Source in your WordPress menu you see your leads by channel, your top
sources and campaigns, and your latest leads, for the last 7, 30, 90 or 365 days.
Switch between crediting the latest source or the first visit, and download everything
as a CSV.

#### Built with privacy in mind

 * No names, email addresses, phone numbers or messages are stored by this plugin,
   only where the lead came from.
 * Two small first-party cookies, no external services and no calls home. Your data
   stays on your website.
 * Optional consent mode: only remember the source after the visitor accepts statistics
   cookies, through the WP Consent API.
 * Choose how long lead sources are kept. Old records are deleted automatically.
 * Suggested text for your privacy policy is added to WordPress’s privacy policy
   guide.

Tagend Lead Source is made by [Tagend](https://tagend.io), a performance marketing
agency. Our [free UTM builder](https://tagend.io/tools/utm-builder/) helps you tag
your links so this plugin can read them.

## Screenshots

[⌊The lead source report: leads by channel, top sources and campaigns, and latest
leads.⌉⌊The lead source report: leads by channel, top sources and campaigns, and
latest leads.⌉[

The lead source report: leads by channel, top sources and campaigns, and latest 
leads.

[⌊The lead source block added to a form notification email.⌉⌊The lead source block
added to a form notification email.⌉[

The lead source block added to a form notification email.

[⌊Settings: notification emails, consent mode and data retention.⌉⌊Settings: notification
emails, consent mode and data retention.⌉[

Settings: notification emails, consent mode and data retention.

## Installation

 1. Install and activate the plugin from Plugins  Add New.
 2. That’s it. The next form someone sends will include the lead source in your notification
    email.
 3. To see the report or change settings, click Lead Source in the WordPress admin 
    menu.

To test it, open your website in a private browser window with `?utm_source=test&
utm_medium=email` added to the address, then send a form.

## FAQ

### Do I need to add hidden fields to my forms?

No. The plugin reads the source when the form is sent and adds it to the email and
the report by itself.

### Which source does it show: the first visit or the last one?

Both. The email leads with the latest source that sent the visitor (an ad, a search,
a link), and also shows how they first found you. A visit where someone typed your
address or used a bookmark doesn’t replace an earlier source, because it doesn’t
tell you anything new. In the report you can credit leads to either one.

### How does it know a visitor came from ChatGPT or another AI assistant?

From the referring website and from the utm_source tag some AI assistants add to
links, such as utm_source=chatgpt.com. Some AI apps don’t pass any referrer, and
those visits show up as Direct.

### Why does a lead show “Not recorded”?

The visitor’s browser blocked cookies, consent mode is on and they didn’t accept
statistics cookies, or the page was loaded in a way that didn’t run the plugin’s
small script.

### Does it work with page caching?

Yes. The source is saved by a small script in the visitor’s browser, so cached pages
work normally.

### Does it slow my site down?

No. The front-end script is about 1 KB when compressed, loads in the footer and 
has no dependencies. It doesn’t load anything from other websites.

### Is it GDPR compliant?

The plugin stores no personal contact details, and you can turn on consent mode 
so nothing is remembered until the visitor accepts statistics cookies. Whether you
need consent depends on your country and how you use the data, so check with your
own adviser.

### Can I send the lead source to my CRM or ad platforms?

Not in this version. Developers can use the `tgls_lead_recorded` action, which fires
with the saved lead source after every form submission, and the `tgls_attribution`
filter.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Tagend Lead Source – UTM Tracker for Contact Forms” is open source software. The
following people have contributed to this plugin.

Contributors

 *   [ Tagend ](https://profiles.wordpress.org/tagend/)

[Translate “Tagend Lead Source – UTM Tracker for Contact Forms” into your language.](https://translate.wordpress.org/projects/wp-plugins/tagend-lead-source)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/tagend-lead-source/),
check out the [SVN repository](https://plugins.svn.wordpress.org/tagend-lead-source/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/tagend-lead-source/)
by [RSS](https://plugins.trac.wordpress.org/log/tagend-lead-source/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First release.

## Meta

 *  Version **1.0.0**
 *  Last updated **14 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [attribution](https://wordpress.org/plugins/tags/attribution/)[contact form 7](https://wordpress.org/plugins/tags/contact-form-7/)
   [lead source](https://wordpress.org/plugins/tags/lead-source/)[UTM](https://wordpress.org/plugins/tags/utm/)
   [utm tracking](https://wordpress.org/plugins/tags/utm-tracking/)
 *  [Advanced View](https://wordpress.org/plugins/tagend-lead-source/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/tagend-lead-source/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/tagend-lead-source/reviews/)

## Contributors

 *   [ Tagend ](https://profiles.wordpress.org/tagend/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/tagend-lead-source/)