HTML Button instead of link with Amazon - Is it allowed?

by Gaara
4 replies
Can I use an actual html button instead of a text link for my affiliate URL?

For example:

Code:
<input type="button" onClick="location.href=('http://AffiliateURL.com');" value="Buy it now">
instead of

Code:
<a href="http://AffiliateURL.com">Buy it now</a>
Guess it wouldn't work in some older browsers, but I would like to give this a try if Amazon allows it.
#allowed #amazon #button #html #link
  • Profile picture of the author rhinocl
    Why do it that way as opposed to using css to make your links look like buttons by adding a "class=...." to them (replace the dots and specify attributes of the cllass in your stylesheet).
    {{ DiscussionBoard.errors[9225939].message }}
  • Profile picture of the author Gaara
    That's how I am currently doing it, but on some of my "List" articles I have dozens of affiliate links. Would like to test this method for SEO purposes just to see if it makes any difference.
    {{ DiscussionBoard.errors[9226295].message }}
  • Profile picture of the author Millefiore
    You can use that line of code and it'll work on browsers that support javascript. If you're worried about it not working on some browsers that your site visitors are using, then you can try using an image and embedding a link to it?

    Code:
    <a href=""><img></img></a>
    {{ DiscussionBoard.errors[9226373].message }}
  • Profile picture of the author Gaara
    It's not so much about it working (I already know it does as long as the user hasn't disabled javascript), but whether Amazon allows it. I would assume so since they allow making a button that will directly add a product to the users shopping cart.

    All this button does is act as a typical link, but one I am hoping search engines will ignore. Not even sure that is true though.
    {{ DiscussionBoard.errors[9227442].message }}

Trending Topics