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.phpfile located in theamazon-affiliatefolder - Replace
YOUR_TAG_HEREin line 15 to 20 with your respective affiliate tags (each partner program needs a different tag) - Replace
YOUR_CAMPAIGN_HEREwith your campain name or assign null - Upload the whole
amazon-affiliatefolder 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 Affiliateplugin
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.