WP Manifestindependent plugin directory
manifest / integrations / redirection-variables

Redirection Variables WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Provides referer tracking variables for popular WordPress redirection plugins.

★ 7stars
8release downloads
865composer installs
v1.0.4latest · 2 years ago

Install

Download redirection-variables-v1.0.4.zip From the v1.0.4 release on GitHub, Apr 1, 2024

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/log1x/redirection-variables/releases/download/v1.0.4/redirection-variables-v1.0.4.zip

On Packagist as log1x/redirection-variables:

composer require log1x/redirection-variables
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Redirection Variables adds a few handy referer tracking variables usable inside of redirects created by the WordPress plugins Redirection, Safe Redirect Manager, and Pretty Links.

This can be particularly useful for passing tracking data from your referring posts/pages to affiliate URL's.

Requirements

Installation

Bedrock

Install via Composer:

$ composer require log1x/redirection-variables

Manual

Download the release .zip and install into wp-content/plugins.

Usage

An example redirect URL destination would look something like:

/go/google -> https://www.google.com/?example=%source%&example2=%post_name%

Variables

Variable Description Example Value Default Value
%source% The referring page source determined by utm_source or the HTTP_REFERER variable. google direct
%medium% The referring page medium determined by utm_medium. search organic
%campaign% The referring page campaign determined by utm_campaign. summer-sale unknown
%term% The referring page campaign determined by utm_term. fish-oil unknown
%content% The referring page content determined by utm_content. cta-link unknown
%adgroup% The referring page adgroup determined by utm_adgroup. ppc-1 unknown
%search_term% The referring page search term passed by various search engines. Best Fish Oil unknown
%gclid% The referring page gclid passed by Google Ads. lorem-1234 unknown
%post_id% The referring page post ID. 17 unknown
%post_title% The referring page post title. the-best-fish-oil-of-2020 unknown
%post_name% The referring page post name (slug). best-fish-oil unknown

Bug Reports

If you discover a bug in Redirection Variables, please open an issue.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License

Redirection Variables is provided under the MIT License.

Releases

5 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.0.4 latest
Apr 1, 2024 2 years ago
redirection-variables-v1.0.4.zip
5
Apr 1, 2024 2 years ago
redirection-variables-v1.0.3.zip
3
Apr 1, 2024 2 years ago
tag only
—
Nov 20, 2020 5 years ago
tag only
—
Nov 6, 2020 5 years ago
tag only
—
A grade

Security

Redirection Variables 1.0.4 · audited by WP Registry

No security issues found.

Audited release
1.0.4
Findings
none
Worst severity
—
Content hash
09af3c3b6238cd67fea045b8…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.