A YOURLS plugin which adds your Amazon Affiliate-Tag to all Amazon URLs before redirection. This version announces redirect, then redirects after 5 seconds.
This version adds support for a page that gives notice of the usage of the Amazon Affiliate link. This page can be changed to anything you would like.
This plugin supports amazon.com
, amazon.de
, amazon.co.uk
, amazon.fr
, amazon.es
and amazon.co.jp
URLs.
- Open the
plugin.php
file located in theamazon-affiliate
folder - Replace
YOUR_TAG_HERE
in line 15 to 20 with your respective affiliate tags (each partner program needs a different tag) - Replace
YOUR_CAMPAIGN_HERE
with your campain name or assign null - Upload the whole
amazon-affiliate
folder to/user/plugins/
in the YOURLS directory on your server - Open your YOURLS admin panel in your browser and navigate to Manage Plugins
- Activate the
Amazon Affiliate
plugin
Origninal Plugin Creator: Florian Schliep
Edited by Tyler Rheaume
The Amazon Affiliate plugin is available under the MIT license. See the LICENSE file for more information.