No configuration
Install and activate. Forms across your site are tracked automatically, with no developer needed.
WordPress plugin
A free WordPress plugin that captures referrer, UTM and click ID data on every form submission. Multi-touch attribution with no configuration. Open source, and it updates itself inside WordPress.
Native HTML forms work out of the box. Popular form plugins and embeds are supported too.
Features
Stop losing credit for your best channels. DuckDive WP records the visitor journey and attaches it to every form submission.
Install and activate. Forms across your site are tracked automatically, with no developer needed.
Attribution is stored in the browser's localStorage on your own domain, not in third-party cookies.
First touch, last touch and every visit in between, so you know what opened the door and what closed the lead.
Referrals from ChatGPT, Claude, Gemini, Perplexity and other AI assistants are labelled as their own source.
See every lead with its full attribution in the WordPress admin, and export the journey, click IDs, UTMs and form data to CSV.
New releases appear on your WordPress Plugins screen from GitHub. One-click upgrade, no FTP and no token setup.
What it captures
Click IDs, UTM parameters, referrers and the full multi-touch journey, all saved to your WordPress database.
Identify the ad behind the visit, even when the URL is cleaned before the form is submitted.gclidgbraidwbraidfbclidmsclkidli_fat_idttclidyclid
Standard campaign tags, kept across the whole visit and attached to every form submission.utm_sourceutm_mediumutm_campaignutm_termutm_content
Referring sites are classified using Matomo's source lists, into organic search, social, AI assistants, referral and direct.organicsocialai_assistantreferraldirect
Every visit from a new source is added to the journey, with its landing page and time.first_touchlast_touchall_toucheslanding_pagetimestamp
How it works
No code changes, no developer and no integration project.
Get the latest duckdive-attribution.zip from GitHub Releases.
In WordPress Admin, go to Plugins, Add New, Upload Plugin.
Click Activate. Tracking starts on the next page load.
Open DuckDive, then Leads, to see every form submission with its attribution.
Developer friendly
Every visit, click ID and UTM is exposed through a global DuckDive object. Use it to fill hidden fields, fire conversion pixels or pass data to your own analytics.
// Get all attribution data
DuckDive.getAttribution()
// { visitorId, firstTouch, lastTouch, allTouches }
// Get the visitor ID
DuckDive.getVisitorId()
// Submit a form programmatically
DuckDive.submit({
email: 'jane@example.com',
name: 'Jane Doe'
}, function (success) {
console.log('Saved:', success);
});
// Refresh attribution capture
DuckDive.capture()All attribution data lives in your WordPress database. No third-party cookies and no shared tracking pixels. The optional referrer lookup service only receives a hostname, never personal data.
FAQ
Yes. It is free to download and free to use on as many WordPress sites as you want. The plugin is open source under the GPL 2.0 license.
No third-party cookies. Attribution is kept in the browser's localStorage on your own domain and saved to your WordPress database when a form is submitted.
Standard HTML forms work out of the box. HubSpot, Go High Level, Elementor Forms, Contact Form 7, Gravity Forms, WPForms, Ninja Forms, Fluent Forms and Salesforce Web-to-Lead are supported too.
In your WordPress database. The optional referrer lookup service only receives a hostname, never personal data.
New releases appear on your WordPress Plugins screen and upgrade in one click. Release notes are on GitHub.
No. DuckDive WP works on its own. DuckDive AI is data infrastructure for AI agents: it connects your agents to the marketing and operations data of every website and location you run. It is a separate product, free for 2 sites.

DuckDive WP is free. When you want your AI to explain the traffic behind those leads, DuckDive AI connects it to Google Analytics, Search Console and Google Ads.
Free for 2 sites · No credit card