Home > General > Affiliate Marketing Forum

Activate Parts of LP Once Conversions are made? (22)


02-04-2013 03:36 PM #1 vidivo (Member)
Activate Parts of LP Once Conversions are made?

Lets say i have an LP, how would i go about showing a new buttion once the user completes like 2-3 offers or whatever on the offer wall? I'd like it to show a button once that users pixel fires with my p202, and only once for example any 3 offers are completed.

How would I go about doing this, anyone know a coder or has done something like this before and can point me in the right direction?

Thanks!


02-04-2013 03:37 PM #2 vidivo (Member)

And maybe even having a counter, saying 3 offers remaining, and then having it go down to 2, then 1 offer remaining as they complete offers? anyone know how to integrate all of this or someone that does? i dont mind paying a bit for it


02-04-2013 03:53 PM #3 paradise (Member)

Your offers inside iframe? or each offer redirects back to your LP ?


02-04-2013 04:10 PM #4 vidivo (Member)

Multiple offers on landing page, just by links or buttons.


02-04-2013 04:25 PM #5 paradise (Member)

So when the user click on offer link, opens new window, and the offer is not your own right?
If so, you can not do anything..

The only thing you can do is to show the button after X time


02-04-2013 04:28 PM #6 caurmen (Administrator)

Hmm, this one's an interesting query.

The easiest thing to do might be to customise your postback URL to set a cookie on their browser once they've converted. Now, I'll be honest, I've never done that. There's no obvious code reason it's not possible, but I don't know whether your network (s) might be less than thrilled with you doing that (particularly if they're based in the EU and so covered by EU cookie law).

If you can do that, you can then check for the presence of that cookie on your multiple offer page in Javascript or PHP, and it's pretty simple from there.


02-04-2013 04:34 PM #7 matthewk (Member)

We do this with one of our pages.

What you're trying to do is fairly simple, think about all those facebook games that a user has to complete offers on to get points of unlock in game items.

You need to hire yourself a coder but this is the basics of it.

Use jquery / ajax to poll a php file.

Code:
<script src="//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script>
<script type="text/javascript">
new Ajax.PeriodicalUpdater('prototype', 'conversionchecker.php?id=<<UserIdHere>>', { method: 'get', frequency: 4, decay: 0});
</script>
That code will load conversionchecker every 4 seconds.

On your offer wall page put something like.
Code:
<div id="hiddenOffer" style="display:none;">
Your HIDDEN HTML here
</div>
the conversionchecker script should run the logic, e.g count the number of conversion pixels that have fired for this user.

IF count > X {
set the style of div id "hiddenOffer" to show
}

This is just a high level overview of what we do, but if you take it to a coder he will understand it and it shouldn't take too long to build.


02-04-2013 04:42 PM #8 matthewk (Member)

I would also like to say what you're doing is very smart, there are a million different possibilities with this.

How about once the user has completed all the offers on the page we popup a modal box with an email submit form, we could then follow up with the user with an email such as

"Hi Name

Thank you for purchasing Offer1, your product should be with you shortly.

We also recommend taking offer2 with offer1, our tests have shown that these 2 offers compliment each other well

Click here to get offer2 for just $2 shipping.
"

Or how about redirecting the user to a 2nd landing page once all the possible conversions have been done on landing page 1.

The possibilities are endless, there is no reason why you shouldn't further monetize a converted user, once they have completed all the offers on your landing page, if you dont upsell them on something else you're basicly letting a hot prospect with cash in there hand walk out of the door.


02-04-2013 04:46 PM #9 vidivo (Member)

Quote Originally Posted by matthewk View Post
We do this with one of our pages.

What you're trying to do is fairly simple, think about all those facebook games that a user has to complete offers on to get points of unlock in game items.

You need to hire yourself a coder but this is the basics of it.

Use jquery / ajax to poll a php file.

Code:
<script src="//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script>
<script type="text/javascript">
new Ajax.PeriodicalUpdater('prototype', 'conversionchecker.php?id=<<UserIdHere>>', { method: 'get', frequency: 4, decay: 0});
</script>
That code will load conversionchecker every 4 seconds.

On your offer wall page put something like.
Code:
<div id="hiddenOffer" style="display:none;">
Your HIDDEN HTML here
</div>
the conversionchecker script should run the logic, e.g count the number of convesions that have fired for this user.

Once count > 3 then set the style of div id "hiddenOffer" to show.

This is just a high level overview of what we do, but if you take it to a coder he will understand it and it shouldn't take too long to build.
Thanks so much, would that work with prosper202? Since each visitor would come via a unique click ID and pretty sure every offer they click would result in a different click ID, so not sure how to make sure that each visitor gets shown the last offer except with cookies? As im making a separate tracking link per offer and not using prosper202's mutli landing page script as it doesnt work very well..


02-04-2013 04:46 PM #10 machoman77 (Member)

To make it simplest without using any server call-out, i would use java script setTimeout function to load certain site after desired seconds.
EX -

Code:
 setTimeout("window.location='http://desiredlocation.com';",13500);


02-04-2013 04:46 PM #11 caurmen (Administrator)

@matthewk - That's interesting. So are you using the current subid for the user as already set on your LP, and checking that against your tracking database?


Note that I'm in the realms of theory here whereas matthewk has actually done this, but I do wonder if a cookie is the better way to go.

I suggested setting a cookie to minimise the load on your tracking server and the loading time of your page. Particularly given that you're polling the server before you draw the page, that might be a speed-affecting issue - you're talking about adding at least one SELECT statement per landing page load depending on the architecture of your LP.

On the other hand, matthewk's solution actually exists and works, so it may be a better one to copy!

Regardless, seems like there are several ways to do this! Really interesting stuff.

(Another thought - you could simply set the cookie using a Javascript OnClick event when the user clicks through to each offer. That won't track conversions, of course, but it does at least alter the page after the user has clicked through to the offer - and it's a much more coding-light solution.)


02-04-2013 04:52 PM #12 caurmen (Administrator)

Thanks so much, would that work with prosper202? Since each visitor would come via a unique click ID and pretty sure every offer they click would result in a different click ID, so not sure how to make sure that each visitor gets shown the last offer except with cookies?
You could potentially give each visitor a consistent click ID by setting one of Prosper's other tracking variables - C1 to C4 - on the landing page.


02-04-2013 04:57 PM #13 vidivo (Member)

Quote Originally Posted by caurmen View Post
You could potentially give each visitor a consistent click ID by setting one of Prosper's other tracking variables - C1 to C4 - on the landing page.
Yeah thats a great idea, forgot about that.. but how would i make that dynamic or be different for each user? I could set a c1 as something, but then every visitor would have the unique click ID and the same c1 variable? I would have to auto generate a c1 variable and pass it along and append it to each offer via php, and doing that per unique user / session ID i believe its called?


02-04-2013 05:03 PM #14 matthewk (Member)

Quote Originally Posted by caurmen View Post
That's interesting. So are you using the current subid for the user as already set on your LP, and checking that against your tracking database?
I dont personally know how prosper works as we use our own proprietary tracking system.

Every user that hits our landing page is assigned a unique userID

every offer that the user see's has a unique ID called servedOfferId

When a user clicks out to a offer and converts on it we have a pixel fire from the network that fires back the CPA and the servedOfferId.

All served offerIds map in a relational database back to a userID

The pseudocode of the poll script "conversionchecker.php" would look like this.
Code:
SELECT COUNT(*) AS conversionCount FROM transactions
WHERE transaction_userId = {userId}
That query would execute every 4 seconds (or however long you set the frequency in the jquery method above.

There is little to no cost in running a query like this, simple count queries cost next to nothing on an optimized DB.

Quote Originally Posted by caurmen View Post
I suggested setting a cookie to minimise the load on your tracking server and the loading time of your page. Particularly given that you're polling the server before you draw the page, that might be a speed-affecting issue - you're talking about adding at least one SELECT statement per landing page load depending on the architecture of your LP.
The javascript I posted above is non blocking and should be put at the end of your landing page before the body tag.

This will only run once everything else on the landing page has been rendered, I have ran the above code on millions of visitors now and there is no speed issues with it, I also use the code to time how long a user is on the landing page for, every 4 seconds I update my user table with the current_timestamp.

With regards to the cookie, I'm not sure how you would go about implementing that? The only way to read a cookie from the user would be to reload the page as cookies can only be read/write in the http response headers.


02-04-2013 05:06 PM #15 matthewk (Member)

Quote Originally Posted by vidivo View Post
Thanks so much, would that work with prosper202? Since each visitor would come via a unique click ID and pretty sure every offer they click would result in a different click ID, so not sure how to make sure that each visitor gets shown the last offer except with cookies? As im making a separate tracking link per offer and not using prosper202's mutli landing page script as it doesnt work very well..
I don't know the tech behind prosper but it would be possible to do this outside of prosper in a very simple way, all the affiliate networks let you send multiple subids to them.

you could use 1 subid for prosper and another subid for your own userId, then have a simple table that is collecting conversions by userid outside of prosper, you could do this with 1 pixel as you would just add a little code to prospers pixel code to include() your own code at the end.


02-04-2013 05:09 PM #16 matthewk (Member)

This is all very possible and if you're talking about hiring a coder to this I wouldn't get yourself too deep into the minutia of how it all works, just understand that what you want to do is possible and with minimum speed/load time issues.

I wouldn't expect something like this to cost more than $200 to implement, its very possible that if you hire a developer who has worked with prosper before they could integrate it all into prosper so you dont have multiple systems running.


02-04-2013 05:13 PM #17 caurmen (Administrator)

This is all very possible and if you're talking about hiring a coder to this I wouldn't get yourself too deep into the minutia of how it all works, just understand that what you want to do is possible and with minimum speed/load time issues.
Very true.

The only way to read a cookie from the user would be to reload the page as cookies can only be read/write in the http response headers
Yeah, I was thinking of doing either a meta refresh or polling the data using AJAX - the latter's probably preferable.

This will only run once everything else on the landing page has been rendered, I have ran the above code on millions of visitors now and there is no speed issues with it, I also use the code to time how long a user is on the landing page for, every 4 seconds I update my user table with the current_timestamp.
Interesting! (And very cool, btw.)

I suspect that a bit more SQL voodoo might be required to get this to work using Prosper - perhaps Mr Baffoe can weigh in here - so I'm not sure if there would be speed implications there. I'd be very interested to know, though! Alternatively, if you're doing this with Prosper, you could simply run a seperate postback/pixel purely to track user conversion for this script, which would allow you to use a much simpler DB.


02-04-2013 05:16 PM #18 matthewk (Member)

Quote Originally Posted by caurmen View Post
Very true.
Yeah, I was thinking of doing either a meta refresh or polling the data using AJAX - the latter's probably preferable.
A meta refresh would have to run every x seconds and would interrupt the user.

Using Ajax is what I have described above, adding a cookie is just another way of doing what I have described above. You're still polling an external script, not much point using a cookie.


02-04-2013 05:17 PM #19 vidivo (Member)

Anyone know of a place where good coders familiar with p202 can be found? I just did a quick scan through elance.com and didnt look like much p202 questions there that got good responses / help.. thanks in advance


02-04-2013 05:20 PM #20 matthewk (Member)

Quote Originally Posted by vidivo View Post
Anyone know of a place where good coders familiar with p202 can be found? I just did a quick scan through elance.com and didnt look like much p202 questions there that got good responses / help.. thanks in advance
This forum might be the best place to hire someone, there is a buy/sell section, I'm sure there are many coders here and they probably all work with prosper if they're doing AM.


02-04-2013 05:26 PM #21 paradise (Member)

You made me interested, so I dug a bit in prosper and found a solution.

1. When a user comes to your landing page, prosper set a cookie, in this cookie you can find the click id - $_COOKIE[''tracking202subid]
2. In your Prosper database you will find table "202_clicks", the "click_id" column is the click id of the user, each user have unique click id
3. In the same table you will find column "click_lead", 0 = no lead, 1 = lead
4. Write AJAX code (easy with jQuery) that query every X seconds this table with user's click id and checking "click_lead" column if there is any lead, of course if you have a global pixel or specific offer pixel shooting when lead generated.

This solution is for 1 offer, you can take the concept and change it to multiple offers conversion tracking ..
Hope it will help you


02-04-2013 05:41 PM #22 matthewk (Member)

Thanks Kenz thats very good.


There you go vidivo you have all of the information you need to get this coded, any halfway decent coder should be able to build this for you.


Home > General > Affiliate Marketing Forum