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

Adscendmedia Download Button?

Discussion in 'CPA' started by ◄iRock►, Feb 17, 2013.

  1. ◄iRock►

    ◄iRock► Newbie

    Joined:
    Feb 17, 2013
    Messages:
    20
    Likes Received:
    0
    I have a file that I want people to be able to download from my website by first completing an offer. I want it so when they visit the page, they first have to click the download button (which is a picture of a download button) then a content gateway comes up and they have to complete an offer then their download starts. I tried figuring out how to do it myself but just got confused, was hoping you could help me? The file is uploaded on my website and I have a URL to a direct link download, but I would like for the user not to be able to see the direct link ever so they can't skip the content gateway.
     
  2. rickydzine

    rickydzine Regular Member

    Joined:
    Jun 6, 2011
    Messages:
    384
    Likes Received:
    193
    In your content locker set up you should see "Redirect to link after completion: " or something similar to that
     
  3. ◄iRock►

    ◄iRock► Newbie

    Joined:
    Feb 17, 2013
    Messages:
    20
    Likes Received:
    0
    This is what I get if I click get code:
    Code:
    <script type="text/javascript">var gwloaded = false;</script>
      <script src="adscendmediaDOTcom/gwjs.php?aff=17579&prf=17159&sid=" type="text/javascript"></script>
      <script type="text/javascript">if (gwloaded==false){window.location = "adscendmediaDOTcom/gateway_adblock.php?p=17579";}</script>
      <noscript><meta http-equiv="refresh" content="0;url=adscendmediaDOTcom/gateway_nojs.php?p=17579" /></noscript>
    Also just found this on the website:
    Kind of a noob at this, so if someone could tell me exactly how to set this up with a download button (image) that would be awesome.
     
    Last edited: Feb 17, 2013
  4. Jeremy_AM

    Jeremy_AM Regular Member

    Joined:
    Sep 30, 2009
    Messages:
    259
    Likes Received:
    190
    <a href="#" onClick="javascript:initGateway(); return false;"><img src="downloadbutton.gif"></a>

    Be sure to set Start Delay to -1 from the Edit Gateway page.
     
    • Thanks Thanks x 1
  5. ◄iRock►

    ◄iRock► Newbie

    Joined:
    Feb 17, 2013
    Messages:
    20
    Likes Received:
    0
    I'm using Wordpress and I need to be able to place download buttons in all my post. Where exactly do I put this code?
     
  6. umerjutt00

    umerjutt00 Jr. VIP Jr. VIP

    Joined:
    Oct 28, 2011
    Messages:
    3,791
    Likes Received:
    2,022
    Occupation:
    Ninja
    The code provided by Jeremy is in HTML. So you can easily put the code in your post.

    <a href="Here goes your download link" onClick="javascript:initGateway(); return false;"><img src="Link of download button"></a>
     
  7. ◄iRock►

    ◄iRock► Newbie

    Joined:
    Feb 17, 2013
    Messages:
    20
    Likes Received:
    0
    Do I just paste this in the post as well?
    Code:
    <script type="text/javascript">var gwloaded = false;</script>
      <script src="adscendmediaDOTcom/gwjs.php?aff=17579&prf=17159&sid=" type="text/javascript"></script>
      <script type="text/javascript">if (gwloaded==false){window.location = "adscendmediaDOTcom/gateway_adblock.php?p=17579";}</script>
      <noscript><meta http-equiv="refresh" content="0;url=adscendmediaDOTcom/gateway_nojs.php?p=17579" /></noscript>
     
  8. ◄iRock►

    ◄iRock► Newbie

    Joined:
    Feb 17, 2013
    Messages:
    20
    Likes Received:
    0
    Still need help with this, not sure where to post what and how to insert HTML in a post without Wordpress formatting it.
     
  9. umerjutt00

    umerjutt00 Jr. VIP Jr. VIP

    Joined:
    Oct 28, 2011
    Messages:
    3,791
    Likes Received:
    2,022
    Occupation:
    Ninja
    You can add this code in the <head> section of your site. I don't know so much about wordpress. I think there will be an option to add script in your site.
     
  10. ◄iRock►

    ◄iRock► Newbie

    Joined:
    Feb 17, 2013
    Messages:
    20
    Likes Received:
    0
    Anybody got any insight how to implement this in Wordpress?