JamesBachini.com

0

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 mobile it wont work obviously. This is just a basic version but you can change the popUp() function to load an email capture box, redirect to the offer page, load a different lander/angle, play a sound or video,...

0

Resize youtube/vimeo iframe to maximum available height and width

Here is the code to make a flexible youtube.com or vimeo.com video fit both the height and width of the containing div. Like a flexible adsense unit it will take up the maximum available space on the page or be constrained within a containing object such as a div. CSS: .vcontainer { position:relative; padding-bottom:56.25%; padding-top:30px; height:0; overflow:hidden; } .vcontainer iframe, .vcontainer object, .vcontainer embed { position:absolute; top:0; left:0; width:100%; height:100%;...

0

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 paid forum full of newbies. Finch is an English guy I believe who now lives in Thailand, has been doing affiliate marketing for ever and now runs a smallish team. The guy obviously knows his stuff and there...

0

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; // Radius of the earth in km   var dLat = deg2rad(lat2-lat1);   var dLon = deg2rad(lon2-lon1);   var a =     Math.sin(dLat/2) * Math.sin(dLat/2) +     Math.cos(deg2rad(lat1)) * Math.cos(deg2rad(lat2)) *     Math.sin(dLon/2) * Math.sin(dLon/2)     ;   var...

2

Building Basic Websites

Every now and again you just need a basic site setup to have an internet presence. Normally this occurs for me when a friend or family member tells people I “do websites” and I get roped in to helping them out. So what options are there for a basic, modern website template. The obvious answer is WordPress. It’s a great content management system which anyone can use. Once it’s setup...

0

Option to Disable Adsense Ads

In some cases it is beneficial to provide a link or option for visitors to a site not to see the adsense ads the first time they visit a page. Ads can sometimes be viewed negatively and for the first visit or under certain circumstances it is best to temporarily disable them. Here is the code so that you can just add ?noads=1 to the end of your url and...

0

What is required to dominate an online niche?

Here is a checklist of factors that need to be taken into account when building an online business. Money Site (main website) High Converting Optimised Landing Page Effective Sales Funnel Lead Magnet / Lead capture methods Designed for user The money site is where prospects will be converted to leads. An effective sales funnel is usually a lead magnet i.e. “enter your email to download this free ebook”, followed by...

0

Download: Basic Email Newsletter Template

Here is a template for a basic email newsletter: http://www.jamesbachini.com/misc/emailnewsletter.zip http://www.jamesbachini.com/misc/emailnewsletter.html Some important things to note when creating email newsletters: Inline CSS Only, no style sheets or <style> tags as they will be stripped by most clients. Make it responsive, a lot of email is read on mobile, it should collapse and expand beautifully. Add utm_source=email&utm_campaign=email newsletter to links to track it in Google Analytics External JS/CSS/Fonts/API’s are all a...

1

Leading Ad Networks

Here is a list of the leading ad networks @ Dec 2015: Search PPC Google Adwords MSN Adcenter Social Networks Facebook Twitter Plenty of Fish Reddit LinkedIn In-text Ad Networks 50onRed Infolinks Clicksor Pay per view PPV Traffic Vance Lead Impact Media Traffic Clicksor Pop Unders Wiget Media Adcash AdsTerra Banner Display Networks / Exchanges Sitescout Google Adwords Display / Doubleclick Media.net Advertising.com Engage BDR (First Impression) BuySellAds Adroll OpenX...

The truth about online advertising agencies and consultants 0

The truth about online advertising agencies and consultants

I see a lot of companies promoting online marketing services to small and medium sized businesses. The engineering company I am involved with gets emails every day from companies offering adwords optimisation or SEO (search engine optimisation) services. How many of these companies actually know what they are doing though? I would hazard a guess at next to none of them. Why would they? If a guy can actually rank...