Track incoming referrer and write it to any hidden form field with the identifier "referrer".
As of April 2026, track-incoming-referrer is a WordPress referrer plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 2.4K+ times in total. Requires WordPress 2.5+ and PHP false+. Available on WordPress.org since 2017. Last updated 9 years ago — may have compatibility concerns. Top alternative: Referrer Input for Contact Form 7.
Non-technical summary: Track incoming referrer and write it to any hidden form field with the identifier “referrer” (this can be created in Contact Form 7, for example; see below). Also if the WordPress site redirects from HTTP to HTTPS, this plugin also overrides the redirect to add the referrer to the https URL.
Technical details: This plugin runs client-side JavaScript in every page in HEAD and if there isn’t a session cookie with the name “referrer”, then it writes a session cookie with the name “referrer” and the value of either document.referrer, or if that’s empty, the URL-encoded value of window.location.href. There is another client-side JavaScript in every page before which writes the value of the “referrer” cookie to…
| WordPress | 2.5+ requiredTested up to 4.7.33 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.