# Lead Source Tracking for WordPress

> See which campaign, ad or website every lead and order came from: UTM tags, referrer and landing page are saved with form entries and WooCommerce orders.…

TW-MKT-08 Marketing


See which campaign, ad or website every lead and order came from: UTM tags, referrer and landing page are saved with form entries and WooCommerce orders.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

Lead Source Tracking

**Part number**
: TW-MKT-08
**Section**
: [Marketing](https://togglework.app/features/marketing/)
**Settings**
: 2
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

Knowing that a lead came in is useful; knowing it came from your Google Ads campaign, a partner’s newsletter or an Instagram bio is what tells you where to spend.

### What it does

- Saves UTM tags, referrer and landing page with form entries and WooCommerce orders.
- First-touch or last-touch attribution.
- Remembers the source for a number of days (default 90).

![Lead Source Tracking settings screen in the Toggleworks WordPress plugin, showing Attribution, Remember for](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/marketing-utm-tracking.webp?v=1795524205)

The Lead Source Tracking screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Choose first touch (where people first found you) or last touch (the campaign that brought them back).
2. Tag your campaign links with utm\_source, utm\_medium and utm\_campaign.

## What you can set

Switch Lead Source Tracking on in Toggleworks → Marketing, then adjust any of these. Each one starts with a default, so you can switch the part on first and fine-tune later.

- Attribution
- Remember for

## Good to know

- Use consistent, lower-case UTM values; “Facebook” and “facebook” count as different sources.

## One less plugin to install

Lead Source Tracking does a job people often install a separate plugin for:

- Knowing where a lead came fromOften done with WPForms

## Comes with 187 more parts

Lead Source Tracking is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 9 Marketing parts](https://togglework.app/features/marketing/)

### People also look for it as

- utm
- attribution
- lead source
- campaign
- referrer
- marketing
- roi

## Often switched on with it

- [Google Analytics 4](https://togglework.app/features/marketing/analytics/) — TW-MKT-03 · Add GA4 without another plugin. The tracking script is cached on your own server, waits for cookie consent if enabled, and skips… · 5 settings
- [Bricks Conditions](https://togglework.app/features/bricks/conditions/) — TW-BRX-02 · Over 30 more conditions for showing or hiding elements: day, time and date range, URL parameter, referrer, device, browser… · Own screen in wp-admin
- [Bricks Dynamic Tags](https://togglework.app/features/bricks/dynamic-tags/) — TW-BRX-03 · Over 60 more dynamic data tags: reading time, “updated 3 days ago”, terms and custom fields, featured image details, author info… · Own screen in wp-admin
- [Security Headers](https://togglework.app/features/security/security-headers/) — TW-SEC-14 · Send HTTP security headers such as X-Frame-Options, Referrer-Policy, Permissions-Policy, HSTS and Content-Security-Policy. · 11 settings
- [WooCommerce Speed](https://togglework.app/features/woocommerce/woo-performance/) — TW-WOO-35 · Stop WooCommerce scripts, styles and cart fragments loading on blog posts and pages, and turn off admin marketing extras. · 7 settings
- [A/B Testing](https://togglework.app/features/marketing/ab-testing/) — TW-MKT-01 · Show half your visitors a different headline, button text or section, count conversions, and see the winner with a confidence… · Own screen in wp-admin

## Questions

**Is Lead Source Tracking included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, Lead Source Tracking among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does Lead Source Tracking slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on Lead Source Tracking only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try Lead Source Tracking before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/marketing/utm-tracking/
