James Bachini


  • How to display different banners for mobile

    How to display different banners for mobile

    I had a situation where I wanted to use different ad banners depending on the screen size of the visitor. To display different banners for mobile and desktop traffic. What I wanted was a dynamic ad block that displayed different ads depending on the width of the browser window so it wouldn’t mess up the […]

  • REGEX | A Complete Guide With Examples

    REGEX | A Complete Guide With Examples

    Regexes are a powerful way to do search queries on a text string. They can be used to replace text, sanitize user inputs and much more. Contents Introduction to REGEX REGEX Cheatsheet REGEX Examples REGEX Javascript Code An Introduction to REGEX A REGEX or regular expression is used to match text strings in many programming […]

  • Splitting traffic to different offers on mobile

    Splitting traffic to different offers on mobile

    If you are buying bulk traffic to a mobile offer the chances are that you can split some of your traffic off to different offers. For example if  you have a pin submit that only accepts android but has a much higher payout then you can separate your android traffic and increase your bottom line. […]

  • Automatic Redirect for Mobile Landing Page

    Want a mobile lander with a 90%+ “CTR”? Simply add the following javasript: <script> function go() { location.href = ‘http://www.jamesbachini.com’; } function init() { setTimeout(function() { confirm(‘You have two friends who recommended this app’); },3000); setTimeout(function() { go(); },5000); } </script> Then run the init function on body load like so: <body onload=”init();”> This does […]

  • Dealing With Googles Mobile Friendly Algorithm

    From the 21st April Google will be penalising sites for mobile search which don’t appear mobile friendly. You can test your site here: https://www.google.com/webmasters/tools/mobile-friendly/ If you haven’t done any mobile design you’ll probably get some warnings like this: Text too small to read Links too close together Mobile viewport not set Content wider than screen […]

  • Big list of mobile carriers by country

    Here’s a big list of the leading carriers in each country along with the number of users. This should be useful for anyone running mobile marketing campaigns that require network traffic. Europe Turkey Population: 74m Kyivstar – 25.16m MTS – 19.496m Life – 7.72m Intertelecom – 0.931m TriMob – 0.916m PEOPLEnet – 0.821m ITC – […]

  • Google Friendly Mobile Pages Test

    Google have provided a tool which checks to see if a site renders clearly in a mobile browser. The tool looks like it is setup at 320px and if your site works at this you’ll get a “mobile-friendly” tag in your organic search listings. Here’s the link to check your sites: https://www.google.com/webmasters/tools/mobile-friendly/ Some other good […]

  • A Simple Mobile Landing Page Template

    A Simple Mobile Landing Page Template

    Here’s a quick design template which is very flexible for mobile app / pin submit type offers. You can view the page at: http://jamesbachini.com/misc/simplemobile.htm And download it from: http://jamesbachini.com/misc/simplemobile.zip Obviously be careful that your button is above the fold on old and new phones. Big image + long headers can push it below which wouldn’t […]

  • Mobile eCPM’s still not competing with desktop

    Here’s some stats I ran off today from a Google Adsense account I have for some old seo based domains with various sites and “general” mainstream traffic. It’s interesting to see that the eCPM’s for desktop traffic are still way above that of high end mobile devices: Platform Page views Clicks Page CTR CPC Page […]

  • Big list of Cordova/Phonegap Plugins

    I needed a big list of Cordova plugins to search through: android.support.v4 This is a Cordova plugin that adds the Android Support v4 client library. It is meant to be depended on by other plugins. android.support.v7-appcompat This is a Cordova plugin that adds the Android Support v7 AppCompat client library. It is meant to be […]