Linux 软件免费装
Banner图

SourceTag – Lead Source Tracking for Forms

开发者 sourcetagio
更新时间 2026年11月11日 17:38
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

tracking contact form utm attribution lead source

下载

1.0.6

详情介绍:

SourceTag populates hidden fields in your contact forms with marketing attribution data. When a lead submits a form, you see which channel, campaign, and keyword brought them in. What gets captured: Form builders: Works with Contact Form 7, Gravity Forms, WPForms, Elementor Forms, Formidable Forms, HubSpot Forms, and any HTML form that supports hidden fields. Why use the plugin instead of just adding the script tag? The plugin sets cookies via PHP (HTTP headers) instead of JavaScript. Safari, Brave, and other privacy-focused browsers cap JavaScript cookies at 7 days. Server-set cookies last up to 400 days.

安装:

  1. In WordPress, go to Plugins > Add New Plugin and search for SourceTag.
  2. Click Install Now, then Activate.
  3. Go to Settings > SourceTag and paste your Script URL from the SourceTag dashboard.
  4. Add hidden fields to your forms. The SourceTag docs cover each form builder.

屏幕截图:

  • A form entry with the lead's first and last click channel, campaign, keyword, landing page and click ID filled in.

常见问题:

Is SourceTag free?

SourceTag is a paid service with a 14-day free trial, no credit card needed. The plugin is free, but it needs a SourceTag account to work. See pricing.

Where do I get my script URL?

Sign up at sourcetag.io, add your site, and copy the script URL from the Install Script section on your site's page.

Does this create hidden fields in my forms?

No. You add hidden fields to your forms yourself. SourceTag detects them and fills in the values when a visitor submits. The docs cover how to do this for each form builder.

What about Safari and Brave?

JavaScript cookies in these browsers expire after 7 days. The plugin's server-side cookie option (on by default) sets the cookie via PHP instead, which these browsers allow for up to 400 days.

Do I need a consent banner?

The plugin and script set one first-party cookie, _sourcetag, on your domain. Whether you need consent for it depends on where your visitors are. If you already gate analytics cookies behind a consent tool, load the SourceTag script the same way.

更新日志:

1.0.6