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

Is this possible?

Discussion in 'HTML & JavaScript' started by OTrap, Nov 11, 2010.

  1. OTrap

    OTrap Jr. VIP Jr. VIP

    Joined:
    Jul 12, 2008
    Messages:
    2,300
    Likes Received:
    1,055
    Gender:
    Male
    I work in Clickbank almost exclusively right now, and what I'm wanting to do is to find a way to add an exit pop to the checkout page to help curb the order form dropoff.

    The problem is, Clickbank doesn't have this feature enabled, so I was wondering.

    Is there a way to frame the order form such that there are no cookie/tracking problems, but also in such a way that I can include an exit pop?

    Thanks.
     
  2. GreyWolf

    GreyWolf Executive VIP

    Joined:
    Aug 17, 2009
    Messages:
    1,930
    Likes Received:
    5,468
    Gender:
    Male
    Occupation:
    Artist / Craftsman
    Location:
    sitting at my PC
    It sounds like you want to make sure that your affiliates will still get credit for sales even if it comes from second chance offers you want to send out. I think you can do it by getting the affiliate parameter sent to the resolved hop and then use that affid to form hoplinks in those offers.

    For example from your website hxxp://www.somegreatproduct.com/?hop=cbaffid, you would take the cbaffid to form the link hxxp://cbaffid.sgpvendor.hop.clickbank.net that you'll include in your offer.

    I did a google search using this search term
    use affiliate param from resolved hoplink to include in exit pop

    It returned a lot of results with scripts that might do what you're wanting. Maybe you can find something in one of those that you can use.
     
  3. OTrap

    OTrap Jr. VIP Jr. VIP

    Joined:
    Jul 12, 2008
    Messages:
    2,300
    Likes Received:
    1,055
    Gender:
    Male
    Maybe I'm not quite understanding, GW. You're a bit over my head. :)

    What I'm trying to do is have the call to action direct to the payment page ... except have that payment page have an exit pop.

    It appears that if you try to iframe or cloak, Clickbank forces a reload that kills the iframe/cloak, which leaves me where I started.

    I submitted a ticket to see what they would suggest.
     
  4. GreyWolf

    GreyWolf Executive VIP

    Joined:
    Aug 17, 2009
    Messages:
    1,930
    Likes Received:
    5,468
    Gender:
    Male
    Occupation:
    Artist / Craftsman
    Location:
    sitting at my PC
    Oh IC. You're not trying to get a second chance for the people leaving your sales page, you're trying to have an exit popup for after they make a purchase.

    Yeah, completely different thing.

    edit-
    This article doesn't solve your problem, but it does explain at least partly why clickbank makes it harder to use iframes. Knowing that might help you figure out a solution. http://ezinearticles.com/?Affiliates---Dont-Use-Link-Cloaking-Software&id=5046377
     
    Last edited: Nov 11, 2010
  5. OTrap

    OTrap Jr. VIP Jr. VIP

    Joined:
    Jul 12, 2008
    Messages:
    2,300
    Likes Received:
    1,055
    Gender:
    Male
    A second shot if they try to exit the payment page ... which I don't have access to.
     
  6. tacopalypse

    tacopalypse Executive VIP Jr. VIP Premium Member

    Joined:
    Nov 30, 2009
    Messages:
    983
    Likes Received:
    2,499
    Home Page:
    i was actually playing around with this a while back.

    you can use an anti-frame-breaker script on the cb order form and then insert your exit popup code from there.

    so you'd iframe the order page like so:

    Code:
    <script type="text/javascript">
        var prevent_bust = 0  
        window.onbeforeunload = function() { prevent_bust++ }  
        setInterval(function() {  
          if (prevent_bust > 0) {  
            prevent_bust -= 2  
            window.top.location = '204error.php'  
          }  
        }, 1)  
    </script>
    
    <iframe height=300 width=300 src="http://1.vendor.pay.clickbank.net"></iframe>
    
    204error.php
    Code:
    <?php
    header('HTTP/1.0 204 No Content');
    header('Content-Length: 0',true);
    header('Content-Type: text/html',true);
    flush();
    ?>
    
    and then you'd just add your popup script to the iframed page.

    however i haven't tested whether or not cookies track correctly with this method.
    let me know how it works out :)
     
  7. OTrap

    OTrap Jr. VIP Jr. VIP

    Joined:
    Jul 12, 2008
    Messages:
    2,300
    Likes Received:
    1,055
    Gender:
    Male
    Just tested it, and for me, it's still redirecting.