Automation & Integrations

UTM & Ad Attribution Plugin

A WordPress plugin that remembers where every visitor came from and attaches it to their form submission, so every lead arrives with its source.

Client
Marketing agency (white-label)
Type
Automation & Integrations
Scope
Custom WordPress plugin · PHP · JavaScript · Gravity Forms
Automation & Integrations Marketing agency (white-label)
  1. 01 Ad click (UTM)
  2. 02 First & last touch cookies
  3. 03 Form hidden fields
  4. 04 Lead with its source

The project

About the project

Paid campaigns are only worth what you can measure. The agency needed every lead from its clients’ WordPress sites to arrive with the campaign that produced it, even when the visitor browsed for days before filling in a form.

The plugin captures UTM parameters and ad click IDs on landing, stores first-touch and last-touch attribution in cookies, and fills Gravity Forms hidden fields through JavaScript and PHP. An admin screen with Settings, Form Coverage and Parameters tabs shows which forms are covered. A critical first-touch bug, where landing-page writes blocked UTM capture, was found and fixed in v1.4.1.

Key features

Private client work. The client’s name is kept confidential.

  • First-touch and last-touch attribution
  • Cookie persistence across visits
  • Gravity Forms hidden fields filled via JS and PHP
  • Admin tabs: Settings, Form Coverage, Parameters
  • Critical first-touch bug fixed in v1.4.1

Contact · usually replies in 0–4 hours

Send me your
Figma file.

Or your current website. I’ll tell you the best approach: custom theme, rebuild, migration, or just the fixes that matter.

Tell me about the project

    Thanks, talk soon.

    Your message is in my inbox. I usually reply within a few hours.