How to handle affiliant links

1 replies
  • SEO
  • |
I have some affiliate links on my blog for amazon books.
Is there some way by which I can handle these links using JavaScript instead of plain ahref links.

I am using Wordpress
#affiliant #handle #links
  • Extremejava,

    I'm not sure how this would affect your affiliate transaction but you could try this,

    Code:
    <script>
    
    var str = "Your Anchor text";
    document.write(str.link("http://www.youraffiliatelink.com"));
    
    </script>
    Best,

    Shawn
    Signature
    Outsource to the experts...

    We customize your Blog, eBook, Press Release and Sale Copy content with your message.

    {{ DiscussionBoard.errors[8478673].message }}

Trending Topics