Life

Automatically convert words to affiliate links with Javascript

As I’ve mentioned before, I run a large online community. One of the ways that I monetized the community was by becoming an Amazon affiliate and linking products that people discuss in the community to Amazon. I had a script that did this for me, but it eventually stopped working due some changes with MySQL. I never really found an alternative, so I decided to create my own.

One of the main reasons I created my own way to do this was the in researching how to do this it became aware that it was a lot more complex than just writing some simple Javascript code. A person actually needed a place to store the associated links and words.

After a few months of development I’m happy to announce that anyone can convert words and phrases to links (aka, URLs & hyperlinks) for the purpose of increasing affiliate revenue or to link internally within their site with CouchMoney.