How do you cloak a banner ad?

by tdj
11 replies
Does anyone know how to cloak your affiliate link inside banner ads? I am not using Wordpress, just plain html sites. Thanks.
#banner #cloak
  • Profile picture of the author mdinnen
    Hi tdj for just plain HTML sites I'm not sure the exact code, but there is a software called bannercloakerpro for $7 which does it. Depending on how often you make new banner ads and whatnot this may be worth it. Good luck...

    Mick
    {{ DiscussionBoard.errors[4022029].message }}
  • Profile picture of the author MrDay
    If I understand you correctly, then Free services like bitly and tinyurl would work.
    Signature

    {{ DiscussionBoard.errors[4022055].message }}
  • Profile picture of the author jaybaker
    Go to your site and create a folder named after that product. In that folder put either an index.html or index.php file.

    In the index.php file simply put <? header("Location: <your link here>"); ?>

    Or in the html file put a meta refresh and leave the page blank.

    Save and upload to that folder.
    If all goes right you should be able to replace your affiliate link in the anner code with that new address.
    Signature

    Do you want to make successes or excuses? Success? Alright then... See what's in store for you....
    - The AC Assassin

    {{ DiscussionBoard.errors[4022363].message }}
    • Profile picture of the author tdj
      Originally Posted by jaybaker View Post

      Go to your site and create a folder named after that product. In that folder put either an index.html or index.php file.

      In the index.php file simply put <? header("Location: <your link here>"); ?>

      Or in the html file put a meta refresh and leave the page blank.

      Save and upload to that folder.
      If all goes right you should be able to replace your affiliate link in the anner code with that new address.
      Example: This is the code for my banner

      <a href="http://toys.com/?aff=id03162&track=" target="_top">
      <img src="http://pr-pa.com/ba/wbd012.gif" width=120 height=90 border=0 alt="Get A free toy Now!"></a>

      Would it then look like this in the index.php file?


      <? header("Location: <http://toys.com/?aff=id03162&track=" target="_top"
      <img src="http://pr-pa.com/ba/wbd012.gif" width=120 height=90 border=0 alt="Get A free toy Now!>"); ?>
      {{ DiscussionBoard.errors[4023020].message }}
      • Profile picture of the author AdwordsMogul
        Originally Posted by tdj View Post

        Example: This is the code for my banner

        <a href="http://toys.com/?aff=id03162&track=" target="_top">
        <img src="http://pr-pa.com/ba/wbd012.gif" width=120 height=90 border=0 alt="Get A free toy Now!"></a>

        Would it then look like this in the index.php file?


        <? header("Location: <http://toys.com/?aff=id03162&track=" target="_top"
        <img src="http://pr-pa.com/ba/wbd012.gif" width=120 height=90 border=0 alt="Get A free toy Now!>"); ?>
        This code will give you an error.

        It should be: <?php header('Location:Find Toys, Toy News, Baby Products and Exclusive Deals, Toys & Baby Coupons, Great Savings and more at Toys.com' ;?>

        You are mixing php with HTML
        Signature
        "Those who can - DO IT. Those who can't, say it's impossible."
        Jean Paul a.k.a AdwordsMogul
        PHPDevelopers.net - Top of the range PHP developers

        Easy Link Saver - Are you tired of the pain of constantly searching for your affiliate links? ( Chrome extension - FREE )
        {{ DiscussionBoard.errors[4023048].message }}
  • Profile picture of the author MatthewNeer
    Originally Posted by tdj View Post

    Does anyone know how to cloak your affiliate link inside banner ads? I am not using Wordpress, just plain html sites. Thanks.
    What's up man?

    I always like to use a PHP Redirect, its super quick and easy once ya do it a few times. Then just embed the link you create around your banner image with an <a href> tag.

    I did a video tutorial on the topic a while back...

    Signature
    Three (3) Income Streams DFY
    New FREE Website Builds Your List
    And Earns From 3 Income Streams
    http://ListLeverage.com
    {{ DiscussionBoard.errors[4023063].message }}
    • Profile picture of the author tdj
      Originally Posted by MatthewNeer View Post

      What's up man?

      I always like to use a PHP Redirect, its super quick and easy once ya do it a few times. Then just embed the link you create around your banner image with an <a href> tag.

      I did a video tutorial on the topic a while back...

      YouTube - &#x202a;How To Mask Affiliates Links With PHP&#x202c;&rlm;
      Thanks for the help guys.

      @Matt- I am not 100% sure what you mean. I know how to do the text link php redirect, but not quite sure what you mean by embed link around banner image part. Do I put any of the image part of the code in the index.php file?
      {{ DiscussionBoard.errors[4023192].message }}
      • Profile picture of the author MatthewNeer
        Originally Posted by tdj View Post

        Thanks for the help guys.

        @Matt- I am not 100% sure what you mean. I know how to do the text link php redirect, but not quite sure what you mean by embed link around banner image part. Do I put any of the image part of the code in the index.php file?
        Nah, sorry I wasn't as clear on that. You only need to put your affiliate link in the PHP script. Just follow the tutorial on that part. Here's what your code should look like once you have your link setup.

        <a href="http://matthewneer.com/elegantthemes"><img src="http://yourimagelinkhere.com/coolimage.png"></a>

        Hope that helps brotha!
        Signature
        Three (3) Income Streams DFY
        New FREE Website Builds Your List
        And Earns From 3 Income Streams
        http://ListLeverage.com
        {{ DiscussionBoard.errors[4023202].message }}
        • Profile picture of the author tdj
          Originally Posted by MatthewNeer View Post

          Nah, sorry I wasn't as clear on that. You only need to put your affiliate link in the PHP script. Just follow the tutorial on that part. Here's what your code should look like once you have your link setup.

          <a href="http://matthewneer.com/elegantthemes"><img src="http://yourimagelinkhere.com/coolimage.png"></a>

          Hope that helps brotha!
          Thanks Matt! Yep, now I get it. Thanks for the help. I really appreciate it.
          {{ DiscussionBoard.errors[4023458].message }}
          • Profile picture of the author MatthewNeer
            Originally Posted by tdj View Post

            Thanks Matt! Yep, now I get it. Thanks for the help. I really appreciate it.
            You got it brotha! My pleasure!
            Signature
            Three (3) Income Streams DFY
            New FREE Website Builds Your List
            And Earns From 3 Income Streams
            http://ListLeverage.com
            {{ DiscussionBoard.errors[4023468].message }}
  • Profile picture of the author Ti
    Definitely go the PHP route. Even more so, you could insert into your PHP code the ability to increment a .txt file to count the number of times it was clicked so you can keep track. Maybe even have the .txt file (or better yet, mysql database) track the clicks per day.
    Signature

    Affiliates Wanted --> http://Pwnboxer.com <-- Promote to your MMORPG/World of Warcraft Niche
    Insanely Popular Software Lets You Play 5x WoW+ On 1 PC - 100% Legit Bliz Approves Multiboxing
    Current Affiliate Stats: June 4th 2011: EPC = $3.50, Conversions = 10.2%, $23.50/sale

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

Trending Topics