The Amazon Affiliate Tag Appender is a Chrome extension that automatically appends the tag
parameter to any URL visited on amazon.com.
To install the Amazon Affiliate Tag Appender extension locally, follow these steps:
-
Clone the repository:
git clone https://github.com/cheungaryk/amazon-affiliate-tag-appender.git
Alternatively, you may download the code directly from the repo page (click here if you are not already there) by clicking on <> Code, and then Download ZIP to download the content as a zip file. Unzip the content to a local directory.
-
(Optional) Open tag_rules.json in a text editor and locate the line containing
"value":
. Change the value after the colon (the current value is my affiliate tag). -
Open Chrome and go to chrome://extensions/.
-
Enable Developer mode using the toggle switch in the top right corner.
-
Click on Load unpacked and select the directory where you cloned or downloaded the repository.
-
If there are no errors, the extension should now be installed and active in Chrome.
- Open amazon.com in a Chrome browser tab.
- Look at the tab's URL. The tag has been appended automatically so it should look like
https://www.amazon.com/?tag=<TAG_NAME>
. - Open any products or account info on Amazon and verify that the tag is still present in the URL.
- Manually the tag value in the URL and press the
ENTER
key. Verify that the tag has been changed back to the original tag value.
Contributions are welcome! If you have any ideas, suggestions, or bug fixes, please open an issue or submit a pull request on GitHub.
This project is licensed under the MIT License.