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

How To Cloak a CB Hop Link?

Discussion in 'Cloaking and Content Generators' started by henhen10, Jul 12, 2014.

  1. henhen10

    henhen10 Regular Member

    Joined:
    Nov 18, 2010
    Messages:
    411
    Likes Received:
    83
    Occupation:
    a student
    Location:
    israel
    hi I am building a new site now and I want some of the pages to be redirected to the hop link of CB.

    How can I do it?
    I want the domain to remain and that it won't change to the hop link ugly link.
    From XXX.hop=XXX to mydomain.com/productname

    I have looked for some guides online however they said that if I do it then clickbank won't be able to reward me for sales...

    Any help with that?

    Thanks in advance [​IMG]


     
  2. ibmjango

    ibmjango Jr. VIP Jr. VIP

    Joined:
    Jul 3, 2010
    Messages:
    251
    Likes Received:
    74
    just go to where you bought your domain and do domain masking, thats what you are looking for, where you keep the domain name but on backend it will redirect to clickbank offer, and in this case you will get the commission if someone use your link.
     
  3. JasonS

    JasonS Jr. VIP Jr. VIP

    Joined:
    Sep 15, 2012
    Messages:
    2,989
    Likes Received:
    912
    Home Page:
    You can cloak it by using "pretty link pro". It has free version as well. But free version doesn't have "redirection type: cloaked".
     
    • Thanks Thanks x 1
  4. henhen10

    henhen10 Regular Member

    Joined:
    Nov 18, 2010
    Messages:
    411
    Likes Received:
    83
    Occupation:
    a student
    Location:
    israel
    ok... but if I want only to create a page that will redirect?
    btw I use wp for my site if it helps...
     
  5. JasonS

    JasonS Jr. VIP Jr. VIP

    Joined:
    Sep 15, 2012
    Messages:
    2,989
    Likes Received:
    912
    Home Page:
    If you only want to create a page, then it's also easy use "iframe redirect code". Its just a 3/4 lines code.

    This plugin is work for wp only.
     
  6. henhen10

    henhen10 Regular Member

    Joined:
    Nov 18, 2010
    Messages:
    411
    Likes Received:
    83
    Occupation:
    a student
    Location:
    israel
    can u send me the code? and tell me where I need to out it please?
    btw this way I won't lose the sales right?
     
  7. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,062
    Likes Received:
    2,872
    Gender:
    Male
    At the simplest form using php(save it as myfile.php in the document root):

    Code:
    <?php
    
    $arr = array('myproduct' => 'http://ugly.clickbank.com/link');
    $qsr = @$_REQUEST['go'];
    if(isset($arr[$qsr]))
     header('Location:'.$arr[$qsr]);
    else
       die('incorrect link');
    
    Call it like.. http://mydomain.com/myfile.php?go=myproduct
     
    • Thanks Thanks x 1
  8. henhen10

    henhen10 Regular Member

    Joined:
    Nov 18, 2010
    Messages:
    411
    Likes Received:
    83
    Occupation:
    a student
    Location:
    israel

    ok got it .. it works but I want the domain to stay being my domain and not change to the product domain as it does
    plus how can I know if I am gonna get paid or not for this?
     
    Last edited: Jul 12, 2014
  9. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,062
    Likes Received:
    2,872
    Gender:
    Male
    That's possible using iframe / using curl. Look into it. If you don't get it, I will put the code for you when I have some free time :)
     
  10. henhen10

    henhen10 Regular Member

    Joined:
    Nov 18, 2010
    Messages:
    411
    Likes Received:
    83
    Occupation:
    a student
    Location:
    israel
    can't find something like this :(

    would be happy if u find those 5 minutes to post me the code ... thanks :)


    btw this way I will still get paid by CB right? is it legit anyway?
     
  11. mrblackjack

    mrblackjack Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 6, 2011
    Messages:
    959
    Likes Received:
    552
    Occupation:
    I live alone, I work alone, I make money alone
    Location:
    G00gle LaNd
    It's not that obvious you can use Iframe and/or cURL to load the contents of the CB hop link.
    1. Iframe - CB has a frame buster code, once you try iframing their url, it will break out of the window, and redirect you to the url itself.
    2. cURL - CB blocks cURL requests, so, to make it happen (which is a bit messy), you need to use cURL with several useragents and good proxies.

    besides, if you do get the cURL to work, the CB Hop link cookie wont get dropped in the user machine (browser) since you will be able to get the cookie using cURL as a variable, but you wont be able to store it in the user machine as cookies from CB domain (clickbank.net), but only as cookies from your domain - which is useless.
     
    • Thanks Thanks x 2
  12. GreyWolf

    GreyWolf Executive VIP Jr. VIP

    Joined:
    Aug 17, 2009
    Messages:
    1,930
    Likes Received:
    5,387
    Gender:
    Male
    Occupation:
    Artist / Craftsman
    Location:
    sitting at my PC
    Well you can use a standard redirect on mydomain.com/productname that will send the customer on to the CB sales page which will let you at least use mydomain.com/productname for links. That's pretty much the standard CB hoplink cloak, but the customer will still end up on a page with the hoplink address in the browser's address bar.

    If you wanted to have the customer land on a page that shows your mydomain.com/productname in the address bar you would need to create your own page that displays the sales page in a frame or iframe. That used to be a pretty common way to do what you want, unfortunately for you it was also a pretty common cookie stuffing technique so Clickbank now prohibits it in their TOS.

    You could also create you're own sales page which includes you're own "Buy It Now" button. That used to be fairly common too, but to do it you need to build the link correctly to get credit for the sales you send. There used to be instructions in the FAQs on CB for how to format the link to the order page so you'll still get credit for the sale. If I remember correctly there is also a problem with how cookies are handled if you do it that way, so you'll only get credit if the complete the sale at the time you send them to the order page. If they leave and come back later there won't be a cookie set so you won't get the sale.
     
    • Thanks Thanks x 1
  13. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,062
    Likes Received:
    2,872
    Gender:
    Male
    I had no idea about this. Thanks for the info dude :)
     
  14. henhen10

    henhen10 Regular Member

    Joined:
    Nov 18, 2010
    Messages:
    411
    Likes Received:
    83
    Occupation:
    a student
    Location:
    israel
    Wow OK I had no idea and never thought it would be so complicated lol
    I guess I will just do the normal cloak that gogol saidhttp://mydomain.com/myfile.php?go=my product
    Hope it will still count my hops and sales :)
    Thank you all!
     
    • Thanks Thanks x 1
  15. bhavik85

    bhavik85 Junior Member

    Joined:
    Dec 31, 2010
    Messages:
    146
    Likes Received:
    23
    Gender:
    Male
    Occupation:
    Bulk Email Service provider
    Location:
    India
    Home Page:
    as you are using Wordpress, you should use Pretty Link WordPress Plugin which is very good plugin... It will make your lik in yourdomain.com/anythingyouwant...
    Code:
    https://wordpress.org/plugins/pretty-link/
     
  16. fas66

    fas66 Junior Member

    Joined:
    May 3, 2013
    Messages:
    100
    Likes Received:
    8
    Occupation:
    Student..
    Location:
    Online
    yup, you took the right decision ,

    the normal cloak via the cpanel redirect is simple and efficient , rather than using Iframe or Curl ..

    Best of luck in your cloaking.. :)