manifest / integrations / redirection-variables
Redirection Variables
Provides referer tracking variables for popular WordPress redirection plugins.
by Brandon Nifong · github.com/log1x/redirection-variables · website
★ 7stars
2release downloads
865composer installs
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/log1x/redirection-variables/releases/download/v1.0.4/redirection-variables-v1.0.4.zipAlso on Packagist as log1x/redirection-variables:
composer require log1x/redirection-variablesFrom the readme
Redirection Variables
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
- PHP = 8.1
- Composer
Installation
Bedrock
Install via Composer:
Manual
Download the release .zip and install into wp-content/plugins.
Usage
An example redirect URL destination would look something like:
Variables
| Variable | Description | Example Value | Default Value |
| :-------------- | :----------------------------------------------------------------------------------- | :------------------------ | :------------ |
| %source% | The referring page source determined by utmsource or the HTTPREFERER variable. | google | direct |
| %medium% | The referring page medium determined by utmmedium. | search | organic |
| %campaign% | The referring page campaign determined
Read the full README on GitHub →