Widgetbucks RPC Improvements, US and Canadian Traffic Only!

I just received an email coming from widgetbucks saying that they are no longer charging merchants for international traffic. Visitor coming from outside of the U.S. and Canada will be redirected to non-paid pages, specifically www.mpire.com . Therefore no publisher credit will be given for those clicks, starting mid-November.

So what I did, instead of removing the widgetbucks ads on site, I download ip2nation database and installed it to filter the US & Canadian traffic for widgetbucks. Though I have a code that alternate both google and widgetbucks ads.

PHP function (modefied version of ip2nation script):

Then used if else condition:

One Response

  1. Jehzeel Laurente 12 years ago

Add Comment