| 开发者 | tagend |
|---|---|
| 更新时间 | 2026年11月19日 20:16 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[_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
?utm_source=test&utm_medium=email added to the address, then send a form.No. The plugin reads the source when the form is sent and adds it to the email and the report by itself.
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.
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.
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.
Yes. The source is saved by a small script in the visitor's browser, so cached pages work normally.
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.
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.
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.