JamesBachini.com

Alert box on click through to offer 5

Alert box on click through to offer

The following example will allow you to create an alert box when the user clicks through from your landing page to the offer page. This can be useful to remind users of...

RAM & CPU usage PHP script 9

RAM & CPU usage PHP script

Update April 2020 This single file, server health check, written in PHP. It was getting a lot of downloads so I’ve updated the code and open sourced it on Github. You can...

Basic exit intent pop up script 11

Basic exit intent pop up script

The following script will launch a pop up and redirect if the user moves the mouse off the page. You can add this to your landing page targeted at desktop users, on...

Book Review Finch Premium Posts 2016 13

Book Review Finch Premium Posts 2016

It’s really hard to find any kind of information from experienced performance marketers. You generally have to wade through all the gurus who have no real idea or sign up to a...

Calculate distance between two geocooridnates 14

Calculate distance between two geocooridnates

Here is a javascript function to calculate the distance between two latitude and longitude coordinates. function deg2rad(deg) { return deg * (Math.PI/180) } function calcDistance(lat1,lon1,lat2,lon2) {   var R = 6371; //...