Anyone making their own content lockers?

joel122

Regular Member
Joined
Sep 25, 2015
Messages
304
Reaction score
64
Does anyone here make their own content lockers rather than using cpa networks own lockers? If so how exactly do you guys do it? Always wondered this.
 
Not yet but I will. I needed to download a PDF tonight and came across a few obviously custom lockers that looked top notch.
 
If I were to code a content locker I'd use Javascript and PHP. With Javascript you can activate the content locker based on time on the webpage (like 4 seconds) or based on how far down the reader has scrolled. You definitely want to give them a teaser view of the content.

The locker itself could be as simple as an initially hidden div that covers 90% of the page with your offer or whatever. You can use negative CSS values to raise the hidden div so that it will sit on top of the other content. You uncover the hidden div by using the Javascript locks mentioned above. Set the z-index of the hidden div to be greater than that of the normal page content when doing this.

There are some little getcha's here and there to deal with but that's up to the coder to resolve. This is the short and sweet version. There can be a lot more to content lockers than this.
 
I've toyed with the idea and ultimately decided against it. While the premise is alluring, the practice does not lend well to real life situations due to the inability to optimize on the fly. I have heard that there are some highly customized lockers out there that can fulfill the task of optimizing for you but this tends to be problematic with how networks post back.

Given the level of customization that so many networks provide, I can hardly see reason for investing time into creating a locker of my own. It makes for a fun pet project but takes away from time spent earning.
 
Back
Top