9 replies
G' Day Warriors,

I am just wondering if it is possible for a script to pull the affiliate from a clickbank cookie and paste it into a link for another product I own (also on clickbank), say on the download page?

So the affiliate would get the commissions not only for the initial sale but also for all my other products as well.

Is that possible?

Does anybody know how to do this?

Sincerely,

Paul Kleinmeulman
Australia
  • Profile picture of the author cranetrex
    Hi Paul,

    Good to see you on the warrior forum.

    I've being trying to contact you by email. I am a previous member of your automatic niche profits. I have a really quick favor to ask.

    Can you contact me at from925 [at] yahoo.com

    Thanks
    {{ DiscussionBoard.errors[1644594].message }}
  • Profile picture of the author KarlWarren
    Hi Paul,

    if you can't get the answer here, the man to help will probably be Harvey Segal.

    Kindest regards,
    Karl.
    Signature
    eCoverNinja - Sales Page Graphics & Layout Specialist
    {{ DiscussionBoard.errors[1644605].message }}
  • Profile picture of the author FeedbackSecrets
    I am not sure I would consider this black hat. It seems that Paul is trying to give his affiliates full credit for their involvement in any cross selling which might take place. Seems like it would be in their best interest.
    {{ DiscussionBoard.errors[1645210].message }}
  • Profile picture of the author Istvan Horvath
    It is absolutely NOT black hat... Obviously, you have no idea what are you talking about.

    To the OP: if I remember well, Gene Pimentel had a thread about some code that can be used to give affiliates credit even for different sales than what they originally promoted.

    EDIT. Here is the link:
    http://www.warriorforum.com/main-int...salespage.html
    (the starting situation is a bit different but you may get some ideas...)
    Signature

    {{ DiscussionBoard.errors[1645250].message }}
  • Profile picture of the author Istvan Horvath
    Originally Posted by precious007 View Post

    Not that it's not possible, but I mean this is just like stealing.
    Where is the stealing?

    1. Affiliate sends you a lead/prospect... and if they buy, he gets credit (i.e gets paid for his effort).

    2. In the next step the OP wants to reward the affiliate by installing a code so the affiliate would get paid even for other products that the original prospect buys from the OP.
    Signature

    {{ DiscussionBoard.errors[1645265].message }}
  • Profile picture of the author Gasen
    If the products are related you can use a gateway.

    Clickbank states: "If you want affiliate HopLinks to connect customers to all of your websites, and you only want one ClickBank account, you should consider creating a new HopLink Target URL that would serve as a gateway to your other websites. For example, you could create rainbow .com, which would contain links to orange .com, blue .com, and green .com. It's best to use this kind of setup when all of your products are about related topics."

    You can read the full article here:
    Selling Multiple Products
    {{ DiscussionBoard.errors[1645317].message }}
    • Profile picture of the author John Hocking
      I am not sure how this will work with the new encypted hoplinks but here is how I used to do it with the old version of the hoplinks.

      The old style like was affid.vendorid.hop.clickbank.net

      this would go to your site and would like like. yourdomain.com/hop=affid
      you could parse the affid id from the url.

      that was step one.


      Step two was you need a way to directly link to each product.

      I created a simple script generator that would create the php code for this How To Create Ebooks and Ebook Marketing

      Just fill in the number of products you sell and hit enter
      then fill in the generated form. The default url when were you want to send them if no product id is passed.

      when you finish, press enter.

      Grab the generated code and upload it to your server and log into the
      clickbank panel and update your hop destination url to point to the new script.

      replace the square brackets with less than and greater than symbols

      [php
      switch ($pid)
      {
      case 1:
      header("Location: http://www.yourdamin.com/product1");
      break;
      case 2:
      header("Location: http://www.yourproduct2.com");
      break;
      default:
      header("Location: http://www.defaultdomain.com");
      }
      ?]

      if you want to pass on the hop id to the other products you need to change the script like this

      [?php
      switch ($pid)
      {
      case 1:
      header("Location: http://www.yourdamin.com/product1/?hop=".$hop);
      break;
      case 2:
      header("Location: http://www.product2.com/?hop=".$hop);
      break;
      default:
      header("Location: http://www.defaultdomain.com/?hop=".$hop);
      }
      ?]




      Now you can directly link affiates to a product.

      affid.vendorid.hop.clickbank.net/$pid=1 etc

      With this in place and with the affid you captured, you can build hoplinks on the fly and the visitor will be sent the product page and the affiliate cookie would be set.
      {{ DiscussionBoard.errors[1645413].message }}
  • Profile picture of the author KristiDaniels
    You can't read Clickbank's cookie.

    However, you can set your own cookie. Clickbank passes the hoplink on the URL line as the "hop" variable. You will see something like this on the URL line when you go to a Clickbank vendor:

    http://www.vendorwebsite.com/?hop=thehoplnk

    You can access that variable using $_GET["hop"] with php and then set a cookie with that information so you can get it later.
    {{ DiscussionBoard.errors[1645327].message }}

Trending Topics