Need to create an auto submit for several CPA offers...need help with logic.

jsmash

Registered Member
Joined
Feb 28, 2012
Messages
53
Reaction score
32
Hello,

I am looking to have my developer put together an auto submission (like in attached image) where when the user registers on our GPT survey site, the data is passed to a page similar to the image. We will already have the offers setup and they can simply check Yes or NO to take advantage of the offer. If they check Yes, then it will auto submit their info to the affiliate offer when they hit the submit button.

While my dev is very talented he is having a bit of an issue with this because he does not understand some of the constraints of the CPA offers tracking, IP tracking, etc.

Would anyone be willing to help with some logic on this to guide him in the right direction? We need this implemented to monetize our front end and ad costs.

Any advise is greatly appreciated!

Capture75.PNG
 
If I understood it correctly, when the user arrives at the point shown in the attached image, you already have some data from him (like name, age, sex etc.). This data is the exact data that's needed to complete those survey offers in the pic. You just need to pass that data on to one of the survey offer and submit. Am I correct?
 
This is correct...so any they click "Yes" on...it will take the data already collected and pass it to the offer. Just looking for the best logic to accomplish this with CPA offers. Mainly email/info submits (lead gen offers).
 
Well in that case what you need to do is you need to automatically fill up and submit a third party form (the offer/survey) with the info you already have. The cpa network only receives the info that says if the offer was completed or not. It does not receive the user's info. That is handled by the advertiser.So, ask your programmer to look for ways to automatically fill up and submit a form with already avilable info. Maybe ajax/javascript could help.
 
Right...

I got this logic from a thread on here but it's from like 2010...so I wanted to make sure it is still relevant to the evolving of tracking, etc. My programmer said he had some issues when implementing this logic...

From a thread in 2010:

..."this really isnt that hard. this is how I would do it: you have a signup page on your site that sends all the get data to a script. then it registers session variables for your session corresponding to the data the user entered. then the php script receiving the data loads a page with iframes containing pages that create forms with the values stored in the session variables and then uses javascript to autosubmit the form."
 
Yeah that sounds like that could work.

You are storing users' info one way or the other before coming to the page you attached. At that point you probably have inserted the info into the database. Of course, storing and reading it from the session variable would be quicker. You just need to quickly test if the session variables exist before proceeding because the user might close the browser or the pc might turn off or whatever.

The rest is just filling up the cpa offer with that info. That should not be too hard becuse javascript can fill the form up. You can use ajax to retrieve the info from the session or the databse and the pass it on to javascript so that it can use that info to fill up the form.

If your programmer is talented, like you say, he/she should not have problem understanding this. This has nothing to so with tracking or anything else. You are just immitating a human being.
 
Sounds good...

What about the iframe thing? Is this what makes it look as though the submit is coming from the actual user? Just trying to understand what each moving part does/why

Thanks hameem!
 
No worries mate.

The iframe is just to load the offer's landing page within the premise of your website. Since the javascript is acting from your site, you need something to integrate the form to your site; the iframing does that. The advertiser will know the offer was filled up from within your site which is okay, I think, since you have a gpt site.
 
Got it...thx! I'm going to see if there is something already developed that might be able to shortcut this process. Thanks again!
 
botnet meets cpa. not serious, keep this topic updated, please.
 
Hmm, I want to inform you, because of browser security policies, you can't actually edit and fill forms on a 3rd party site from your site. That's because of the same-origin policy of the web browsers to protect the users from clickjacking. You won't be able to do something like this, only very old browsers are vulnerable to such kind of things. You can find about this policy on wikipedia.
 
Last edited:
Back
Top