Referral Tracker
A Referral Tracker intended to grab a $_GET var and use it in shortcodes
by Greggory Hogan · github.com/greggoryhogan/referral-tracker
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/greggoryhogan/referral-tracker/archive/refs/heads/master.zipReadme
Referral Tracker
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"]