Integrating Two Different Affiliate Links

Discussion in 'Scripts' started by MusicMeFree.com, Feb 19, 2010.

  1. #1
    Hi Everyone,

    I have a merchant account at Clickbank and Ejunkie.

    Both Clickbank and Ejunkie have affiliate programs.

    On my websites I have Clickbank payment buttons, and Ejunkie payment buttons.

    Ejunikie offers a Google Checkout button, but Clickbank does not.

    I joined Ejunkie so I could offer customers extra payment options, but I don't want to rob my Clickbank affiliates of their commissions.

    Some customers prefer to not use Clickbank, and some will only use Clickbank.

    Anyway, I am trying to figure out a way to create one link for affiliates so when someone clicks on that one link the affiliates Clickibank id, and their Ejunkie id, will both register in the browser of the customer at the same time so if the customer makes a Clickbank purchase, or uses one of the Ejunkie payment buttons, the affiliate will get a commission either way.

    So, is there a way to integrate a Clickbank affiliate link with a Ejunkie affiliate link into one link?

    For example, I tired the code below (but only the later link goes through, the Clickbank link is ignored. And if I put the ejunkie link first, and the Clicbank link second, then only the Clickbank link goes through):

    <a href="http://www.ejcrivello.com/go.php?offer=artfulco&pid=2"><a href="https://www.e-junkie.com/ecom/gb.php?ii=265446&c=ib&aff=86345&cl=71025" target="_blank">Test</a>

    So I am trying to figure out a way to create one link so when someone clicks on the link the affiliates Ejunkie id and their Clickbank id will both register so that if the customer makes a purchase using any of the payment buttons the affiliate will get a commission no matter what.

    If you know a code or script that will work please let me know. You can use my two example affiliate links above.

    Any help will be appreciated.
     
    Last edited: Feb 19, 2010
    MusicMeFree.com, Feb 19, 2010 IP
  2. MusicMeFree.com

    MusicMeFree.com Peon

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I may have found a script that answers my above post question.

    The links used in the script below are my own affiliate links for my own products. I am just using them as an example.

    Ejunkie affiliate links point directly to individual product pages.

    Example: https://www.e-junkie.com/ecom/gb.php?ii=265446&c=ib&aff=86345&cl=71025 (My own product and affiliate link used as an example).


    Standard Clickbank affiliate hop links only point to the main sales page.

    Example: http://XXXXX.musicmefre.hop.clickbank.net (xxxxx is where the Clickbank affiliate id goes)


    However, I installed EasyClickmate Affiliate center on to my website which enables one to use their Clickbank id to point to individual product pages on any of several websites where the Clickbank payment button for a particular Clickbank merchant accoutn is used.

    Example: http://www.ejcrivello.com/go.php?offer=xxxxxxx&pid=2

    So the first link in the script is my EasyClickmate affiliate link with one of my Clickbank id's.

    Both links are pointing to the same product.

    I mention all this because the script (when loaded into a html web page) will open two browser windows after the "Click Here" is clicked, and both browser windows will register the Clickbank affiliate id and E-junkie affiliate id as a cookie.

    This way a affiliate (if they have a Clickbank affiliate id and Ejunkie affiliate id) won't lose out on any sal;es whether a customer makes a purchase through the Clickbank payment button or through the Ejunie Payment button.

    Here is the script:

    <html>
    <head>

    <SCRIPT LANGUAGE="JavaScript">
    function birtasikikus(site1, site2) {window.open(site1); window.location = site2;}
    </script>

    </head>

    <body>

    <p><a href="javascript:birtasikikus('http://www.ejcrivello.com/go.php?offer=xxxxxxx&pid=2', 'https://www.e-junkie.com/ecom/gb.php?ii=265446&c=ib&aff=86345&cl=71025');">Click Here</a>

    </body>

    </html>


    If anyone that knows of yet a simipler script that does not open two windows, but registers both links, that will be great.
     
    Last edited: Feb 20, 2010
    MusicMeFree.com, Feb 20, 2010 IP