Content Locking Script

7 replies
Hello warriors,

I'm working on a website where I want to run an incentive CPA offer. I will be giving a download for every user that signs up to the CPA offer.

What I want to do is automate everything so that when a user visits my website and clicks on the download, the user will be promoted to the CPA offer page and after successful submission the download page will be granted.

If I can't automate the process, how can I ensure that I will be granting the download to the users that submitted the CPA offer form successfully?

Anyone have any experience with this stuff? I am okay with using PHP and javascript.
#content #locking #script
  • Profile picture of the author TurnRush
    Just make a form that redirects to a different page after submitting where you present the download. People could share the second page of course. You can also use a script that uses a cookie to remember if the user did submit the form.
    {{ DiscussionBoard.errors[8972265].message }}
  • Profile picture of the author r0dvan
    Simple as doing a form with method post to verify.php
    On the verify php check if the email is correct with filter_var() function and its FILTER_SANITIZE_EMAIL
    Ifnyour $_POST variables isset then redirect to your download page.
    Simple as pie.
    Signature
    LeadGen.tools - Lead Generation Search Engine from any Network and many useful tools. FREE trial.
    {{ DiscussionBoard.errors[8972327].message }}
    • Profile picture of the author iamjosan
      Originally Posted by r0dvan View Post

      Simple as doing a form with method post to verify.php
      On the verify php check if the email is correct with filter_var() function and its FILTER_SANITIZE_EMAIL
      Ifnyour Array variables isset then redirect to your download page.
      Simple as pie.
      All that will be doing is checking to see if the email is valid. I need to know if the user actually entered an email address in the CPA offer form and it submitted successfully.

      Since I can't add my own code to the CPA offer page, how can I verify if a user actually completed the offer?
      {{ DiscussionBoard.errors[8972386].message }}
      • Profile picture of the author r0dvan
        Originally Posted by iamjosan View Post

        All that will be doing is checking to see if the email is valid. I need to know if the user actually entered an email address in the CPA offer form and it submitted successfully.

        Since I can't add my own code to the CPA offer page, how can I verify if a user actually completed the offer?
        The verify.php will do all the work.
        It will redirect to CPA if the email field isset, if not isset, or isset is false then it will redirect to a page where it says that they need to introduce their email.
        You dont have t add code on the CPA.
        Signature
        LeadGen.tools - Lead Generation Search Engine from any Network and many useful tools. FREE trial.
        {{ DiscussionBoard.errors[8973766].message }}
        • Profile picture of the author iamjosan
          Originally Posted by r0dvan View Post

          The verify.php will do all the work.
          It will redirect to CPA if the email field isset, if not isset, or isset is false then it will redirect to a page where it says that they need to introduce their email.
          You dont have t add code on the CPA.
          Yes that makes sense, but how can i actually verify that the user completed the CPA offer?
          {{ DiscussionBoard.errors[8974589].message }}
          • Profile picture of the author SteveJohnson
            Originally Posted by iamjosan View Post

            Yes that makes sense, but how can i actually verify that the user completed the CPA offer?
            #1, I don't know of any CPA network that will redirect a user after a submission, so I hope you're not planning on that.

            There is some relatively difficult programming involved here, it's not really for a beginner.

            You will need a system to register users and store their details. You will also need to program a 'listener' that the CPA network can send notifications to.

            Here is the basic chain of events:

            • the user registers and logs in to your site
            • you present the CPA offer link, with a unique tracking code embedded
            • the user clicks the link
            • you record the click, storing the user's ID and the tracking ID.
            • the user completes the CPA offer
            • the CPA network sends completion information to your 'listener'
            • you record that information to the proper user account
            • the user returns to your site and logs in
            • your system checks to see if the user has completed the offer
            • if so, offer the download.

            As you can see, there are a lot of components involved in making something like this work.
            Signature

            The 2nd Amendment, 1789 - The Original Homeland Security.

            Gun control means never having to say, "I missed you."

            {{ DiscussionBoard.errors[8977903].message }}
  • Profile picture of the author iamjosan
    You're right that's way too much work. I'm better off with a CPA network that provides content locking.
    {{ DiscussionBoard.errors[8978860].message }}

Trending Topics