Redirecting Customers From Your HopLink Target Page

Follow

Comments

10 comments

  • Avatar
    Bradley Woods

    Can you give an example url for how to pass the parameter to redirect script? This is the only part I do not understand about this guide.

  • Avatar
    Owen Allen

    Bradley,

    The affiliate part - actually passing the parameter - is covered in the related affiliate article.

  • Avatar
    Maria judelena Cua

    Hi Owen!

    Do you have any video to show how to do this? I am a vendor in ClickBank and I have several products listed with ClickBank, My product 1 is the only one showing in the marketplace. 

    I am not a technical person, but I want to do this myself because I want to show this to my students and I hope you can help me.

    What I want is to provide my students their affiliate link for my product #11 (this product is discounted product that I only want to distribute to my students), so how to create an affiliate hoplink directing them to this product. 

    Please advise. hope to hear from you soon. 

  • Avatar
    Owen Allen

    Maria,

    There isn't currently a video for this process, although I can let my coworkers know that you'd be interested in one.

    If you or your students have experience with scripts, they can modify the example script in this article to work on your account. If you replace the product SKUs and the URLs, you should be able to make this work.

    Once you've done that, your students can use the related affiliate procedure to make HopLinks that work with your redirection system.

    I hope that's helpful. Let me know if you have further questions.

  • Avatar
    Maria judelena Cua

    Hi Owen!

    Thanks for your prompt reply. 

    I have current affiliates already selling my product#1.

    Here are my concerns and please let me know if I understand this correctly.

    1.  URL Structure: You mean I need to create a new URL for each of my Pitch pages and I just need to add the word "product1" & "product2" or "product3" to the URL's of those pitch pages?

    2.  Script: On the above script all I need is just copy the whole script and I will just replace the line that says  "www.yoursite.com" & "www.product2url.com"?

    $url1="http://www.yoursite.com/product1";
    $url2="http://www.product2url.com/";

    And I will just simply copy the whole script all the way down to:
     return "?" . $_SERVER['QUERY_STRING'];
    }

    ?>

    Now, I am a bit confused about the URL structure for product 2.

    Do I need to create something like http://www.mysite.com/product2 ?

    Also, where to place this script?

    3. Setting the Hoplink target URL: This target hoplink url should indicate my main product that is listed in the marketplace right? and not the secondary or other products. Is this correct?

    Please advise and looking forward to hearing from you soon.

    Sincerely,

    Maria

     

  • Avatar
    Owen Allen

    Maria,

    I'll do my best.

    For the URL structure, to make a redirection system work, each product has to have a separate pitch page. You don't need to change those URLs, but each product needs to have its own.

    The redirection script goes on your hoplink target page. That way, it fires when a potential customer comes there via a hoplink.

    The only place you'd need to put your product pitch pages is at the top of the script.

    If you've set up this sort of system, your hoplink target page wouldn't need to be one of your pitch pages - it could be a separate page that redirects to your pitch pages using the script.

    I hope that's helpful. Let me know if you have further questions.

  • Avatar
    Maria judelena Cua

    Hi Owen!

    Yes,  I have 2 separate pitch pages for these 2 SKU's.

    Here's what I did...

    Here's my URL Structures:

    SKU1: http://www.mybizbreakthroughs.com/breakthroughs-mastery-course/
    SKU 11: http://www.mybizbreakthroughs.com/online-business-career-special-price/

    I inserted the below scripts to my  (PRODUCT1) Main Product Page That is listed  With ClickBank Market Place.  Please kindly check if I do this correctly.

    <?php

    //define url for product #1 or version 1 of your Landing Page
    $url1="http://www.mybizbreakthroughs.com/breakthroughs-mastery-course/";

    //define url for product #11 or version 11 of your Landing Page
    $url11="http://www.mybizbreakthroughs.com/online-business-career-special-price/";

    if ($_GET['pid'] == "sku1")
    {
    if($_ser)
    header("Location: $url1".preserve_qs());
    }
    elseif ($_GET['pid'] == "sku11")
    {
    header("Location: $url11".preserve_qs());
    }

     

    //if there is no product variable, go to the first product
    //URL, since there are affiliates who started promoting
    //the first product before this script was set up and
    //we don't want them to lose sales.
    //if you have no prior affiliates, you might want to
    //send people elsewhere if they arrive on a hoplink
    //without a variable.

    else
    {
    header("Location: $url1".preserve_qs());
    }

     

    function preserve_qs() {
    if (empty($_SERVER['QUERY_STRING']) && strpos($_SERVER['REQUEST_URI'], "?") === false) {
    return "";
    }
    return "?" . $_SERVER['QUERY_STRING'];
    }

    ?>

    Now, after doing all the above, how come when I tested and visit the below URL's it directs ONLY to PRODUCT 1 & NOT TO PRODUCT 11?

    http://jengclick.jengclick.hop.clickbank.net/?pid=sku1

    http://jengclick.jengclick.hop.clickbank.net/?pid=sku11

    Please advise why it doesn't work for SKU11?

     

    Sincerely,

    Jeng

  • Avatar
    Owen Allen

    Jeng,

    I'm not sure that the script is active - I can see it in the code of your HopLink target page, but I can't tell if it's active or not. You can test this by putting in a different URL in every part of the script and seeing if it redirects. If not, then you'll have to correct the issue that's preventing the script from being active

    If it's not working, I'm not sure that I can help. If you file a support ticket, they may be able to help further.

  • Avatar
    Richard Stith

    HopLink That got redirected did show my Affiliate Link ID labronze20 it flashed for a split second then vanished. I not feeling as if I'm getting credit for these links. Hayden's World Of War Craft Gold.

  • Avatar
    Owen Allen

    Richard,

    To make sure that your HopLinks are working correctly, follow them, then click the vendor's payment link. When the order form is displayed, your account nickname is displayed at the bottom of the order form.

Please sign in to leave a comment.