Advice on affiliate code

9 replies
Hi I am afraid I have limited HTML experience and am trying to make an affiliate banner work on my site. The problem I have is that when the banner is clicked, it does not open in a new window and tries to open within the frame on the site. Any clues what I need to do to manipulate the code to make the page open in a new window? My aff code is pasted in below.

<A HREF='http://www.cupid.com/aff.php?a_aid=30cc05cd&a_bid=10722a1b'><img src='http://affiliates.easydate.biz/banners/Cupid_300x250 search.gif' border=0 alt=''></a><IMG SRC="http://affiliates.easydate.biz/scripts/sb.php?a_aid=30cc05cd&a_bid=10722a1b" WIDTH="1" HEIGHT="1" BORDER="0">
#advice #affiliate #code
  • Profile picture of the author Mike Hlatky
    <A HREF="http://www.cupid.com/aff.php?a_aid=30cd05cd&a_bid=11723a1b" target="_blank"><img src="http://affiliates.easydate.biz/banners/Cupid_300x250 search.gif" border=0 /></a><IMG SRC="http://affiliates.easydate.biz/scripts/sb.php?a_aid=30cc05cd&a_bid=10722a1b" WIDTH="1" HEIGHT="1" BORDER="0">
    Copy that code. It will work.
    {{ DiscussionBoard.errors[3059860].message }}
    • Profile picture of the author oliverjones
      <A HREF='http://www.cupid.com/aff.php?a_aid=30cc05cd&a_bid=10722a1b'><img src='http://affiliates.easydate.biz/banners/Cupid_300x250 search.gif' border=0 alt=''></a><IMG SRC="http://affiliates.easydate.biz/scripts/sb.php?a_aid=30cc05cd&a_bid=10722a1b" WIDTH="1" HEIGHT="1" BORDER="0">

      Sorry this is the code given to me by Easydate. What do I need to change?
      {{ DiscussionBoard.errors[3059910].message }}
      • Profile picture of the author WillR
        Originally Posted by oliverjones View Post

        <A HREF='http://www.cupid.com/aff.php?a_aid=30cc05cd&a_bid=10722a1b'><img src='http://affiliates.easydate.biz/banners/Cupid_300x250 search.gif' border=0 alt=''></a><IMG SRC="http://affiliates.easydate.biz/scripts/sb.php?a_aid=30cc05cd&a_bid=10722a1b" WIDTH="1" HEIGHT="1" BORDER="0">

        Sorry this is the code given to me by Easydate. What do I need to change?
        That code is crap. Use the code I posted in my previous post.
        {{ DiscussionBoard.errors[3059926].message }}
        • Profile picture of the author oliverjones
          Originally Posted by WillR View Post

          That code is crap. Use the code I posted in my previous post.
          Yes it is now working. You are a top man. Thank you
          {{ DiscussionBoard.errors[3059941].message }}
  • Profile picture of the author WillR
    Here's the code you should be using:

    <a href="http://www.cupid.com/aff.php?a_aid=30cd05cd&a_bid=11723a1b" target="_blank"><img src="http://affiliates.easydate.biz/banners/Cupid_300x250 search.gif" width="300" height="250" alt="Click Here" border="0"></a><img src="http://affiliates.easydate.biz/scripts/sb.php?a_aid=30cc05cd&a_bid=10722a1b" width="1" height="1" border="0">
    It's best practice to include the height and width of every image you use - it makes pages load faster. If you don't then the image will not load until the rest of the page has. Also the code above didn't have the border part formatted correctly.
    {{ DiscussionBoard.errors[3059892].message }}
    • Profile picture of the author oliverjones
      Originally Posted by WillR View Post

      Here's the code you should be using:



      It's best practice to include the height and width of every image you use. It makes pages load faster. Also the code above didn't have the border part formatted correctly.

      Still not working Im afraid?
      {{ DiscussionBoard.errors[3059898].message }}
      • Profile picture of the author WillR
        Originally Posted by oliverjones View Post

        Still not working Im afraid?
        It will if you copy the code correctly. It's basic code but I tested it myself just to make sure and it works fine. You must be doing something wrong.
        {{ DiscussionBoard.errors[3059921].message }}
        • Profile picture of the author oliverjones
          Originally Posted by WillR View Post

          It will if you copy the code correctly. It's basic code but I tested it myself just to make sure and it works fine. You must be doing something wrong.
          When we add it to our cms it does display on the site but when the user clicks it, it opens up within the frame in the page rather than loading up a new page.
          {{ DiscussionBoard.errors[3059930].message }}

Trending Topics