Example – banner click reward

Wouldn’t it be nice to be able to motivate your visitors to click on the banners by giving then some satoshi reward? 😉 Well, now you can…
ATT! Some ad networks explicitly prohibit to provoke banners clicks by any means, so we strongly recommend to check the user agreements first!

So, let’s get to it. Firstly, go create a Remote Faucet (or several ones). If you are not sure how to do it – check this example. Grab the Faucet ID – it will be handy soon.
Now, let’s wrap your banner code into a DIV, somthing like that:

Let’s look a bit close at the arguments of faucet_on_click(banner_wrapper_id,faucet_id,faucet_wrapper_id).

banner_wrapper_id – the id of the element wrapped around your banner ad.faucet_id – the Faucet ID of thhe faucet you are going to show when bannr is clicked.faucet_wrapper_id – the id of the element where the faucet is going to appear. If ommited, the banner_wrapper_id will be used, so the faucet replaces the banner. It works well for the horizontal ads, but for the vertical banners (like one to the right) you probably want to create separate place to show, like:

<div id='faucet_wrap_2' style='padding:10px; width:750px;border:1px dotted blue;'>
faucet for the right banner will be shown here
</div>

It will result in:

faucet for the right banner will be shown here

Than call:

faucet_on_click('banner_wrap_2',123695,'faucet_wrap_2');

Optional: It would be nice to highlight faucet-powered butter to give visitor a hint where to look.