log1x / redirection-variables
Provides referer tracking variables for popular WordPress redirection plugins.
Fund package maintenance!
Log1x
Installs: 864
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 4
Forks: 0
Type:wordpress-plugin
Requires
- php: ^8.1
- illuminate/collections: ^9.0|^10.0|^11.0
- snowplow/referer-parser: ^0.2.0
Requires (Dev)
- laravel/pint: ^1.1
README
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
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.