Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/greggoryhogan/referral-tracker/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This plugin tracks referral links from $_GET variables by setting a cookie, which can then be used in a shortcode to create outgoing links.
Example shortcode where |referral| will be replaced dynamically:
[referral_link link="https://example.com/|*referral*|" text="Click here to redeem" type="text" target="_blank"]