/YOURLS-Amazon-Affiliate-With-Redirect-Notice

Add your Amazon Affiliate-Tag to all Amazon URLs before redirection With redirect notice.

Primary LanguagePHPMIT LicenseMIT

YOURLS-Amazon-Affiliate- With Redirection Notice

A YOURLS plugin which adds your Amazon Affiliate-Tag to all Amazon URLs before redirection. This version announces redirect, then redirects after 5 seconds.

Changes

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.

Supported Partner Programs

This plugin supports amazon.com, amazon.de, amazon.co.uk, amazon.fr, amazon.es and amazon.co.jp URLs.

Installation

  • Open the plugin.php file located in the amazon-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

Contact

Origninal Plugin Creator: Florian Schliep

Edited by Tyler Rheaume

License

The Amazon Affiliate plugin is available under the MIT license. See the LICENSE file for more information.