1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Any scripts that will rotate affiliate links?

Discussion in 'Affiliate Programs' started by clmarketer, Mar 27, 2011.

  1. clmarketer

    clmarketer Junior Member

    Joined:
    Dec 31, 2008
    Messages:
    157
    Likes Received:
    47
    Occupation:
    Sellin SEX....kinda
    Location:
    USA
    I'm looking for a script that would allow me to rotate affiliate links on a web page so I can split traffic between 2 offers. Is there anything like that?

    Thanks
     
  2. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,227
    Occupation:
    Retired
    Location:
    Old Peoples Home
    What kind of page is it, what kind of things do you want rotating - banner ads, text ads?
    Its quite easy with a bit of PHP. But offers in an array and then do a randomize to select one and display it.
     
  3. eskimo

    eskimo Regular Member

    Joined:
    Dec 1, 2008
    Messages:
    474
    Likes Received:
    178
    If you using php you can:

    Code:
    <?php
        $random = rand(1,2);
        if ($random == 1){
            echo "your first advert";
        } else {
            echo "your secondadvert";
        }
    ?>
    feel free to PM me if you need help
     
    • Thanks Thanks x 1
  4. widaca

    widaca Newbie

    Joined:
    Jun 17, 2009
    Messages:
    7
    Likes Received:
    1
    Google "spyka simple banner rotator" without quotes. It can be used with all kinds of banners and text links.
     
  5. snoozebot

    snoozebot Regular Member

    Joined:
    Nov 1, 2010
    Messages:
    493
    Likes Received:
    497
    Occupation:
    Engineer
    Location:
    BHW
    I'm interested in the solution as well, specifically on how to rotate the aff links within posts - if that's possible.

    Edit:
    Okay, I think my question has been answered. ;)
     
  6. clmarketer

    clmarketer Junior Member

    Joined:
    Dec 31, 2008
    Messages:
    157
    Likes Received:
    47
    Occupation:
    Sellin SEX....kinda
    Location:
    USA
    Thanks. I want to rotate affiliate text links within posts on a Word Press site. Possibly rotate some banner images too.
     
  7. itos84

    itos84 Power Member

    Joined:
    Jan 11, 2011
    Messages:
    617
    Likes Received:
    229
    Location:
    neatblog.com
    Home Page:
    You can use Advertising Manager plugin for Wordpress, then use the SAME name for all the ads. When you put the ad code in a widget or in a post, it will random choose one of the ads.
     
  8. ranibai55

    ranibai55 Newbie

    Joined:
    Nov 21, 2010
    Messages:
    1
    Likes Received:
    0
    Realva Technologies
    India

    Realva Technologies operated by Alex Varghese is a FRAUDULENT Company located in Kerala. They promised us SMTP Server for email marketing with Guaranteed Inbox delivery or else a REFUND if theres a failure in their service. The company has cheated us by providing a totally bad Server with less than 10% inbox delivery for the campaign.

    DO NOT USE THEIR SERVICES...AS after making your annual payment for their services they will not even respond to your emails. Alex who is the owner of the company has even avoided taking phone calls for any enquiries.

    USE THEM AT YOUR OWN RISK...
     
  9. sfidirectory

    sfidirectory Senior Member

    Joined:
    Mar 29, 2010
    Messages:
    899
    Likes Received:
    483
    Occupation:
    Web developer/BTC enthusiast
    Location:
    php artisan make:migration
    Home Page:
    Exactly what I was thinking... Have already tried this, am wondering how to implement tracking for each url in the array, it would be good to see which sites people would spend the longest on. If anyone needs the code let me know because I still have it uploaded to a "forgotten" site of mine...

    Edit: How about doing this in an Iframed page? When the user goes to your website eg www.yoursite.com, there will be a Iframed php webpage that opens up a random affiliate link or whatever, and they would still stay on your original site. I am not sure if that would be the best way to go about things but the idea just popped into my head. Also if the affiliate link won't show up in the status bar (on the bottom left hand side - of Firefox anyway) that would be a bonus.
     
    Last edited: Apr 4, 2011
  10. emptyeternity

    emptyeternity Registered Member

    Joined:
    Feb 17, 2011
    Messages:
    82
    Likes Received:
    12
    Occupation:
    look at my details
    I know this will be the least helpful, but for certain genesis themed sites, the Next Gen Gallery has a nice slideshow (dont forget wpcycle with it), and its on the front of the page, with turnstyle Big Picture with small text, the picture is clickable, embedding a url with it.

    I know this is what I will do with a new site of mine.