“FunnelFlux Voluum
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

Questions about preland

Discussion in 'Programming and Scripts' started by Nikolay_B, Mar 21, 2018.

  1. Nikolay_B

    Nikolay_B Affiliate affiliate

    4
    0
    1
    Hi everyone!

    I have never made pre-lands. I watch the code of some of them, but some tthings I don't understand.
    1. I see simple and clear way to send parameters from preland to landing page
    How to transfer all the parameters through a landing or prelanding page?
    Solution on PHP:
    <a href="LINK/?id=123&<?= http_build_query($_GET) ?>">URL</a>
    Solution on JS:
    <script>document.write('<a href="LINK/?affid=123&' + window.location.search.replace('?', '') + '">URL</a>'</script>
    BUT I've seen some of pre-lands before and code was much much difficult.
    Should I avoid JS to send the parameters? If yes, could you give me good example of the code.
    2. I want to use JS instead PHP or another server side language to reduce load for the server. Does it make sense? Or the load will be rather the same

    I'll be appreciated for any bit of information regarding the questions below.
     
  2. AdCombo
  3. Certified
    tyoussef

    tyoussef Moderator moderator Certified Vendor Service Manager affiliate

    4,512
    4,297
    113
    Cool this is true, if you willing to send too much traffic it will be better to use js.
    so what's the problem with you ?.
    you don't know how to print the parameters using js or what ?.
     
  4. Nikolay_B

    Nikolay_B Affiliate affiliate

    4
    0
    1
    I will have around 250 clicks per minute.
    I'm worried that this solution may be to much easy and I don't see hidden details.
    Thank you! For the example of code.I will try with it
     
  5. Nikolay_B

    Nikolay_B Affiliate affiliate

    4
    0
    1
    Also what do you think? should I use dedicated server or VPS for 250 clicks per minute?
     
  6. Nikolay_B

    Nikolay_B Affiliate affiliate

    4
    0
    1
    Great idea, i don't think of it in such way :)
    What for number 30 is? Some safety factor?
     
banners