🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Form Attribution Tracking icon
Slowing down Tested up to 6.8.13 #80 in attribution

Form Attribution Tracking

Track the complete customer journey from first click to conversion with referral and Google Ads attribution data captured in your WordPress forms.

Active installs<10New
Downloads · 30d72▲ +56.5% vs prev. 30d
Rating—0 reviews
Health score30/100At risk
All-time downloads546Since Nov 2025
Support resolved—No recent threads
RequiresWP 6.0PHP 8.0+
Downloads · 7d10▼ -44.4% week over week
Our verdict

Consider an alternative

Form Attribution Tracking shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 1 year ago, and scores 30/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far
  • No update in over a year
  • Only tested up to WordPress 6.8 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

257Sep 1Oct 15Nov 29
Yesterday1
Daily average (1y)1
Peak day10Nov 8, 2026
Last 12 months475

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Form Attribution Tracking stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
attribution >100 1,954 Best attribution plugins →
forms >100 10,000 Best forms plugins →
referral >100 974 Best referral plugins →
tracking >100 10,000 Best tracking plugins →

About Form Attribution Tracking

From the official readme · v1.1.2

Description

Track the complete customer journey from first click to conversion with referral and Google Ads attribution data captured in your WordPress forms.

Overview

Form Attribution Tracking is a WordPress plugin that automatically captures and stores complete attribution data from Google Ads campaigns (and other traffic sources) directly in form submissions. This enables you to connect specific leads back to their originating campaigns, keywords, and ads in Google Ads for accurate conversion tracking and ROI measurement.

The plugin uses first-touch attribution, meaning it captures the visitor’s original traffic source on their first visit and maintains that data through their entire journey until they convert via a form submission.

Key Features

Complete Google Ads Attribution Data

Automatically captures 8 attribution fields for every form submission:

  • Attribution Source – Traffic source (google, facebook, direct, etc.)
  • Attribution Medium – Traffic medium (cpc, organic, referral, etc.)
  • Attribution Campaign – Campaign name from utm_campaign
  • Attribution Term – Keyword from utm_term
  • Attribution Content – Ad variation from utm_content
  • Google Click ID (GCLID) – Direct link to the specific Google Ads click
  • Landing Page – The first page the visitor landed on
  • First Click Timestamp – When the visitor first arrived

Google Ads Conversion Tracking

The Google Click ID (GCLID) field enables you to:
– Import conversions directly back into Google Ads
– Connect form submissions to specific ad clicks
– Measure true campaign ROI based on actual leads/sales
– Track the complete path from ad click to conversion
– Attribute conversions to the exact keyword and ad that drove them

Smart Tracking Technology

  • First-Touch Attribution – Captures original source, not last-click
  • Cookie Persistence – Maintains attribution data across multiple sessions (configurable 1-365 days)
  • JavaScript + PHP Fallback – Dual-layer tracking ensures data capture even if JavaScript is disabled
  • Dynamic Form Support – Mutation observer watches for forms loaded via AJAX
  • UTM Parameter Detection – Automatically parses and stores all UTM parameters
  • Intelligent Source Categorization – Recognizes and categorizes traffic from Google, Facebook, LinkedIn, and 15+ other platforms

Universal Form Plugin Support

Works seamlessly with:
– Gravity Forms
– Fluent Forms
– Formidable Forms

Modular architecture makes it easy to extend to other form plugins.

Comprehensive Admin Dashboard

  • Statistics Dashboard – View submission counts, attribution source distribution, and recent activity
  • Form Management – See which forms have attribution tracking and bulk-add fields to all forms
  • Debug Mode – Browser console logging for troubleshooting
  • Flexible Configuration – Customize cookie duration and auto-add behavior

How It Works

Data Capture Flow

  1. Visitor Arrives – When someone visits your site, the JavaScript tracking code immediately captures:

    • All UTM parameters from the URL
    • Google Click ID (GCLID) if present
    • HTTP referrer to determine traffic source
    • Current page URL as landing page
    • Current timestamp
  2. Attribution Stored – All data is packaged as JSON and stored in a first-party cookie with your configured expiration (default 30 days)

  3. First-Touch Persistence – If the visitor returns multiple times before converting, the original attribution data is preserved (not overwritten)

  4. Form Submission – When the visitor fills out a form, the tracking code automatically:

    • Reads the stored attribution data
    • Populates hidden fields in the form
    • Submits with the complete attribution chain
  5. PHP Fallback – If JavaScript fails to populate fields, the PHP integration captures attribution server-side before form processing

Integration with Google Ads

To enable conversion imports in Google Ads:

  1. Forms will capture the GCLID parameter automatically from your ad URLs
  2. Export your form submissions (including attribution fields) as CSV
  3. In Google Ads, navigate to Tools → Conversions → Uploads
  4. Create a conversion action using the GCLID field to match conversions
  5. Upload your leads with timestamps and GCLIDs
  6. Google Ads will attribute the conversions to the exact campaigns, ad groups, keywords, and ads that generated them

This creates a closed feedback loop between your ad spend and actual business results.

Configuration

Settings

Access settings via Form Attribution Tracking → Settings:

  • Auto-add to new forms – Automatically adds all 8 attribution fields when new forms are created
  • Cookie Duration – How long to preserve first-touch attribution data (1-365 days, default 30)
  • Debug Mode – Enables detailed logging in browser console for troubleshooting

Managing Existing Forms

Use the Manage Forms tab to:
– View all forms and their attribution tracking status
– Bulk-add attribution fields to all existing forms with one click
– See which forms already have tracking enabled

Statistics

The Statistics tab provides:
– Total submissions tracked across all forms
– Breakdown of traffic sources (Google, Facebook, Direct, etc.)
– Recent form submissions with their attribution data
– Forms-with-tracking count

Usage

For Marketers

Once installed and configured, the plugin works automatically. Every form submission will include complete attribution data that you can:

  • Export to CSV and upload to Google Ads for conversion tracking
  • Analyze in your CRM to understand which campaigns drive the best leads
  • Use to calculate true cost-per-lead and ROI by campaign
  • Review to optimize your landing pages and ad targeting

For Developers

JavaScript API

The plugin exposes a global API for programmatic access:

`javascript

// Get full attribution data object
const attribution = window.FormAttributionTracking.getAttributionData();
// Returns: { utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid, landing_page, timestamp }

// Get just the traffic source (legacy method)
const source = window.FormAttributionTracking.getReferralSource();

// Manually trigger form field population
window.FormAttributionTracking.populateFormFields();

// Access configuration
const config = window.FormAttributionTracking.config;
`

JavaScript Events

Listen for when attribution data is populated:

`javascript

window.addEventListener(‘attributionDataPopulated’, function(event) {
console.log(‘Attribution captured:’, event.detail.attribution);
console.log(‘Fields populated:’, event.detail.fieldsCount);
});
`

PHP Hooks and Filters

Extend or customize the plugin:

`php

// Add custom form plugin integration
add_filter(‘attribution_tracking_integrations’, function($integrations) {
$integrations[‘CustomForms’] = new CustomFormsIntegration();
return $integrations;
});

// React to integration initialization
add_action(‘attribution_tracking_integration_initialized’, function($integration_name) {
error_log(“Attribution tracking initialized for: ” . $integration_name);
});

// Hook into debug logging
add_action(‘form_referral_source_debug_log’, function($message, $context, $source) {
error_log(“[$source] $message: ” . print_r($context, true));
}, 10, 3);
`

Attribution Field Names

The plugin creates these hidden fields in your forms:

  • attribution_source – Traffic source identifier
  • attribution_medium – Marketing medium
  • attribution_campaign – Campaign name
  • attribution_term – Keyword/search term
  • attribution_content – Ad content variation
  • attribution_gclid – Google Ads Click ID
  • attribution_landing_page – First page visited
  • attribution_timestamp – ISO 8601 timestamp of first visit

All fields are automatically populated by JavaScript and have PHP fallbacks.

Traffic Source Detection

The plugin intelligently categorizes traffic sources:

UTM Parameters (Highest Priority)

If UTM parameters are present in the URL, they are captured exactly as provided.

Known Platforms (Automatic Categorization)

The plugin recognizes and categorizes referrers from:
– Google (google.com, google.co.uk, etc.)
– Facebook (facebook.com, fb.com, m.facebook.com)
– Twitter/X (twitter.com, x.com, t.co)
– LinkedIn (linkedin.com, lnkd.in)
– YouTube (youtube.com, youtu.be)
– Instagram (instagram.com)
– TikTok (tiktok.com)
– Pinterest (pinterest.com, pin.it)
– Reddit (reddit.com)
– Bing (bing.com)
– Yahoo (yahoo.com)
– DuckDuckGo (duckduckgo.com)

Generic Referrals

For unlisted referrers, the clean hostname is stored (e.g., “example.com”)

Direct Traffic

When no referrer or UTM parameters are present, traffic is marked as “direct”

Troubleshooting

Attribution Data Not Being Captured

  1. Enable Debug Mode in plugin settings
  2. Open browser console (F12) and check for “[Referral Source]” log messages
  3. Verify cookies are enabled in the browser
  4. Check that JavaScript is not being blocked

Fields Not Populating in Forms

  1. Enable Debug Mode and check console for “Field populated” messages
  2. Verify the form fields exist (check Manage Forms tab)
  3. Test with a fresh browser/incognito window
  4. Check that the form HTML includes the expected hidden field names

Forms Not Showing in Dashboard

  1. Verify your form plugin (Gravity Forms, Fluent Forms, or Formidable Forms) is active
  2. Check that you have forms created in that plugin
  3. Look for PHP errors in debug.log if WP_DEBUG is enabled

GCLID Not Being Captured

  1. Verify your Google Ads URLs include the {gclid} parameter
  2. Use Google’s Campaign URL Builder to test: https://ga-dev-tools.google/campaign-url-builder/
  3. Check that cookies are working (GCLID is stored in the attribution cookie)
  4. Enable Debug Mode to see what parameters are being captured

Extending the Plugin

Adding Support for Other Form Plugins

Create a new integration class:

`php

<?php
namespace FormAttributionTracking\Integrations;

use FormAttributionTracking\Abstracts\AbstractFormIntegration;

class CustomFormPluginIntegration extends AbstractFormIntegration
{
public function isAvailable(): bool {
return class_exists(‘CustomFormPlugin’);
}

public function getName(): string {
    return 'Custom Form Plugin';
}

public function getVersion(): string {
    return '1.0.0';
}

protected function registerHooks(): void {
    // Hook into your form plugin's save/render events
    add_action('custom_form_save', [$this, 'onFormSaved'], 10, 2);
}

public function addReferralSourceField(int $formId): bool {
    // Implement logic to add hidden fields to forms
}

public function removeReferralSourceField(int $formId): bool {
    // Implement logic to remove hidden fields
}

public function hasReferralSourceField(int $formId): bool {
    // Check if form has attribution fields
}

public function getAllForms(): array {
    // Return array of all forms
}

}
`

Register your integration:

`php

add_filter(‘attribution_tracking_integrations’, function($integrations) {
$integrations[‘CustomFormPlugin’] = new CustomFormPluginIntegration();
return $integrations;
});
`

Architecture

The plugin uses a clean, modern PHP 8+ architecture:

`

src/
├── Contracts/
│ └── FormIntegrationInterface.php # Interface all integrations must implement
├── Abstracts/
│ └── AbstractFormIntegration.php # Base class with common functionality
├── Integrations/
│ ├── GravityFormsIntegration.php # Gravity Forms support
│ ├── FluentFormsIntegration.php # Fluent Forms support
│ └── FormidableFormsIntegration.php # Formidable Forms support
├── Views/
│ └── admin-page.php # Admin dashboard template
└── Plugin.php # Main plugin orchestration class
`

Privacy & Compliance

This plugin stores first-party cookies to maintain attribution data. Consider these compliance aspects:

  • Cookie Duration: Configurable 1-365 days (default 30)
  • Data Stored: Marketing attribution data only (no PII)
  • First-Party Cookies: Data stays on your domain
  • User Control: Respects browser cookie settings
  • GDPR: Consider adding cookie consent notices per your requirements
  • Data Retention: Attribution data is only stored in form submissions per your form plugin’s data retention policies

Support & Contributing

For bug reports, feature requests, or contributions:

  • Plugin Author: Ryan Howard
  • Website: https://www.ryanhoward.dev
  • Text Domain: form-attribution-tracking

License

This plugin is licensed under the GPL v2 or later.

Installation

Requirements

  • WordPress 6.0 or higher
  • PHP 8.0 or higher
  • At least one supported form plugin (Gravity Forms, Fluent Forms, or Formidable Forms)

Setup Steps

  1. Upload the plugin files to /wp-content/plugins/form-attribution-tracking/
  2. Run composer install --no-dev in the plugin directory (if installing from source)
  3. Activate the plugin through the WordPress admin panel
  4. Navigate to Form Attribution Tracking in the WordPress admin menu
  5. Configure your settings (recommended: 30-day cookie duration, auto-add enabled)
  6. The plugin will automatically add attribution fields to new forms, or use the “Manage Forms” tab to add fields to existing forms

Changelog

1.1.0

  • Enhanced documentation with comprehensive Google Ads integration guide
  • Improved attribution field descriptions and usage examples
  • Added detailed troubleshooting section
  • Updated developer API documentation
  • Added privacy and compliance guidelines
  • Clarified first-touch attribution methodology

1.0.0

  • Initial release
  • Support for Gravity Forms, Fluent Forms, and Formidable Forms
  • Complete Google Ads attribution tracking (8 fields)
  • GCLID capture for conversion imports
  • First-touch attribution with cookie persistence
  • JavaScript + PHP dual-layer tracking
  • Admin dashboard with statistics
  • Debug mode for troubleshooting
  • Modern PHP 8+ architecture
  • Mutation observer for dynamic forms

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Form Attribution Tracking alternatives

All attribution plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Easy UTM tracking with contact form 7 Easy UTM tracking with contact form 7 Track which campaign every lead came from: UTM parameters, click IDs, landing page and… by basirmukhtar 2K+ ★★★★★★★★★★ 4.5 (8) 4 months ago 66
2 Molongui Post Contributors: Multi-Role Contributor Attribution Molongui Post Contributors: Multi-Role Contributor Attribut… Easily add reviewers, fact-checkers, illustrators, and any other attribution to your… by Molongui 400+ ★★★★★★★★★★ 5 (2) 1 year ago 43
3 Opinly Opinly Visitor analytics and revenue attribution for Opinly. Connect with one key. No tracking… by opinlyai 300+ ★★★★★★★★★★ No reviews 5 months ago 54
4 Sense Forms Sense Forms Drag-and-drop WordPress form builder that shows the source, campaign & device behind every… by Paramount Tech Network 200+ ★★★★★★★★★★ 4.9 (10) 3 months ago 75
5 ThoughtMetric for WooCommerce ThoughtMetric for WooCommerce ThoughtMetric is a marketing attribution solution for e-commerce stores. by msignorella 100+ ★★★★★★★★★★ No reviews 3 months ago 64
6 TrueROAS AI Ad Attribution TrueROAS AI Ad Attribution Integrate TrueROAS into your WooCommerce store in 1 click. by trueroas 100+ ★★★★★★★★★★ 5 (3) 8 months ago 47
7 PressForward PressForward PressForward provides an integrated workflow for curating content aggregated from the web. by PressForward 100+ ★★★★★★★★★★ 4.6 (11) 2 months ago 74
8 AnyTrack for WooCommerce AnyTrack for WooCommerce AnyTrack for WooCommerce: Woocommerce Conversion Tracking for Google Ads, Facebook Ads… by AnyTrack 100+ ★★★★★★★★★★ 5 (1) 1 month ago 71
9 Quick Feed Copyright Quick Feed Copyright Adds a copyright notice and a link to the original article at the end of every post in your… by QOT Studio 100+ ★★★★★★★★★★ No reviews 1 month ago 64
10 Async Image Credits – Lightweight automatic image credits Async Image Credits – Lightweight automatic image credits Add visible credits to media images using JavaScript and configurable templates. Works… by Matteo Enna 30+ ★★★★★★★★★★ No reviews 2 months ago 63

FAQ

Form Attribution Tracking: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Form Attribution Tracking free?

Yes. Form Attribution Tracking is free to download and use from the official WordPress.org plugin directory.

Is Form Attribution Tracking safe to use in 2026?

Form Attribution Tracking shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 1 year ago, and scores 30/100 on our health check.

How many websites use Form Attribution Tracking?

Form Attribution Tracking is active on <10 WordPress websites and has been downloaded 546 times since it launched in November 2025. It was downloaded 72 times in the last 30 days.

Does Form Attribution Tracking work with WordPress 7.1?

Form Attribution Tracking is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Form Attribution Tracking need?

Form Attribution Tracking requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Form Attribution Tracking last updated?

The latest version, 1.1.2, was released on November 17, 2025 (1 year ago).

Who makes Form Attribution Tracking?

Form Attribution Tracking is developed and maintained by Ryan Howard.

What are the best alternatives to Form Attribution Tracking?

The most popular alternatives to Form Attribution Tracking are Easy UTM tracking with cont… (2K+ installs), Molongui Post Contributors:… (400+ installs) and Opinly (300+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open