James
-
Prevent Mobile Browsers From Turning Off
The following code has been published to prevent mobile browsers from turning off and going into sleep mode. This was affecting setTimeout functions as the javascript code in the browser is effectively paused preventing the event loop from processing once sleep mode is activated. I originally looked at nosleep.js but ended up simplifying the code…
-
Search For Satoshi
In 2008 an anonymous user with the alias Satoshi Nakamoto posted the original Bitcoin whitepaper to the Cryptography mailing list. Satoshi mined a lot of the early Bitcoin blocks and the rewards that are held in bitcoin wallets associated are estimated to be around 1 million BTC or 10 Billion USD. If Bitcoin eventually reaches…
-
Setting up HTTPS (SSL) with Cloudflare and WordPress
If you are just running a wordpress blog or simple website you can setup Cloudflare to manage SSL for you. Cloudflare acts as a proxy between your website and the user. I recently setup Cloudflare which provides a SSL certificate with their free account plan. Step 1. Setup Cloudflare Register for an account. Then select…
-
Cryptocurrency During The Next Recession
I learnt the hard (and expensive way) not to try and predict stock market timings so I wont guess when the next recession will occur. Like a knock on the door from someone wanting to talk about Jehovah, you know it’s going to happen but it’s normally at the most inopportune time when you don’t…
-
Book Review: It doesn’t have to be crazy at work – Jason Fried and David Hansson
Amazon Link: It doesn’t have to be crazy at work This is a short book about efficiency and calm in the workplace. I read it six months or so ago and some of the concepts are really useful if you are used to working in high pressure environments. Chapter Breakdown Curb your ambition – don’t…
-
Progressive Optimisation
When looking at conversion rate statistics for a new traffic source it is important to use progressive optimisation to block non-converting sources as early and efficiently as possible. The first step is to work out what conversion rate is required and then put a progressive funnel in place to build up to it. So if…
-
Book: Zen and the art of motorcycle maintenance review
Amazon Link: Zen and the art of motorcycle maintenance This is a modern classic. To be honest I only found out it was written 40 odd years ago when I got to the end. It is a brilliantly written piece by Robert Pirsig that tells the story of a father and son on a journey…
-
Example Media Buy Letter
Here is an example media buy proposal letter that can be used as a cold email, contact form or social media message. Response rates for media buy proposals are low so anything you can do to connect with the person responsible for monetising a website first is going to be beneficial. Check the whois information,…
-
Book: How to Be an Imperfectionist Review
Link: How to be an imperfectionist review I think there must be quite a few affiliates, digital marketers and high performers who are on the OCD scale. This book is about perfectionism which is very closely related or part of that scale. OCD is obsessive compulsive disorder. I’m terrible for it. I can’t sit at…
-
Capitalisation of Links (www.MySite.com) CRO Test
I thought an interesting split test would be to test if text links on a landing page that are capitalised get more clicks than ones that don’t. For example: https://www.jamesbachini.com/ – standard (control) https://www.JamesBachini.com/ – Capitalised This was for a site that wasn’t a personal name and contained a full directory and page like http://www.MyGreatWebSite.com/example/page.htm…
-
How to Sell Anything
I found this “How to Sell Anything” infographic and thought it was a really good example to show what happens on the other side of the sales marketing divide. For most online marketers the thought of having to make a phone call or actually talk to someone probably seems a bit alien. We just buy…
-
PHP Redirect with Parameters | Passing GET variables in a Redirect
Update March 2023 To do a 301 PHP redirect with parameters to another page we can use the following code: The entire query parameter string is stored in the following variable. Everything after the question mark. So for the URL: server.com/index.php?test=123&hi=hellothe $_SERVER[‘QUERY_STRING’] will contain this string “test=123&hi=hello” We can then pass this out when redirecting…
-
Wasabi AB Testing Platform
Update July 2020 – Wasabi is no longer maintained or supported. Check this article for more information on conversion rate optimisation. Wasabi AB Testing Platform Intuit have opensourced a enterprise grade A/B testing platform called Wasabi. This runs as an API on a separate server from your site/landers. It isn’t the easiest thing to setup…
-
Book Review: How To Get Rich – Felix Dennis
Amazon Link: How To Get Rich This book was recommended on someones most life changing books list. Despite the guru title “How To Get Rich” it’s actually quite a bit different to the standard Tony Robbins spin-offs. The writer Felix Dennis isn’t selling anything, there’s no upsells or hidden agenda. He’s an older guy that…
-
Online Marketing Predictions For 2017
Here are my online marketing predictions for 2017. I reviewed this in 2020 (ticks/crosses) to see what I got right. 1. Native will go mainstream and start attracting big brand spenders Native advertising has been affiliate marketers little secret for a couple of years now. The volume is now at a stage where brand advertisers…
-
robots.txt Disallow All | Block Bots
In this article we are going to look at how to block bot traffic using the robots.txt disallow all feature, then some of the more advanced uses of the robots.txt file. How To Disallow All in robots.txt Custom robots.txt for Specific Bots and Directories Complete List of Bots – robots.txt How To Disallow All in…
-
Vibrate Phone with Javascript
The following javascript uses the Vibrate API to make a phone vibrate when a page is loaded. You can time it with setTimeouts or onclick/onscroll if required. There’s more information available at: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate This can be used to draw a users attention to the landing page or to create message effects etc.
-
Ben Horowitz Hard things about hard things review
Andreeson Horowitz is Silicon Valleys leading venture capital firm. Their portfolio itself is worth a flick through at: http://a16z.com/portfolio/ It’s incredible how many of the tech startup success stories they have been involved in. Ben Horowitz is one of the cofounders and in his book the Hard things about hard things he talks about his…
-
Node.js client for Moz API (MozScape)
Update 2020: This is outdated now and not maintained. I’d recommend using one of these packages: https://www.npmjs.com/package/moz-api https://www.npmjs.com/package/moz-api-wrapper Original Post: I was doing some work with SEO domains and realised there wasn’t a node.js client for the MozScape API… so after Googling and not finding what I was looking for I built one. What this…
-
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…
-
Book Review: Delivering Happiness – Tony Hsieh
To get through this you are going to need to read a hundred or so pages of why Zappos is such an amazing company how how they are changing the world. That said Tony does make some interesting points throughout the book. His story of how he got started in the tech industry first with…
-
Book Review: Will it fly – Pat Flynn
This book is about testing an idea before you go all out and build a business around it. Pat goes through some interesting thought experiments based on what you want personally and how your business idea will fit in to that. There is some good information about market research in there. I particularly like the…
-
CTA Conf 2016 Notes (PDF Download )
The CTA Conference was put on by Unbounce in June and they also produced this really good notes PDF which is worth reading for anyone in the digital marketing space. You can download it here: http://calltoactionconference.unbounce.com/docs/CTAConf%202016%20Notes.pdf
-
Jim.am has moved to JamesBachini.com
Welcome to the new blog. I have updated the design with a new theme and some pretty pictures. I changed the domain name too as I wasn’t doing anything with the last one and wanted to keep a personal blog anyway so this will suit me more. I still plan to talk, rant and go…
-
Microsoft to buy Linkedin
News this morning is that Microsoft is going to buy Linkedin for $26 Billion USD. Now I’m not saying we are in a new .com tech bubble but… Linkedin has 433 million users. That would give a cost per user of $60usd. Now my first thought is that if Microsoft spent that money on advertising…
-
New: Facebook interest targeting brainstorm tool
This is more for my use but others might find it helpful when trying to come up with targeting ideas for interests on Facebook Ads. Facebook Ads Targeting Tool
-
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 your offers value proposition, sign-up requirements (double-opt in?) or just to increase conversion rate on the offer end. A working demo is available…
-
A simple iOS / Android traffic splitter in PHP
The following basic PHP code will split traffic by device with iOS traffic going to the first out link, Android to the second and leftovers to the third. TIP: This uses a 301 redirect however you can do any type of programmatic variation based on the user agent. You can copy and paste this into…
-
No More Forced Tablet Traffic On Adwords
At last Google has put an end to the way it was allowing bid adjustments for mobile and desktop but not tablets. For years this has meant that Adwords advertisers were forced into getting unwanted tablet traffic and paying the same rate for it as desktop. Here is the blog announcement from Google: http://adwords.blogspot.co.uk/2016/05/ads-and-analytics-innovations-for-a-mobile-first-world.html If…
-
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.…
-
RAM & CPU Usage PHP Script | Server Health Check
This single file server health check script works on Windows, Linux and possibly others. It is written in PHP to show CPU usage, RAM usage, Incoming Connections and Hard disk usage. Update September 2020 Server Check PHP was getting a lot of downloads so I’ve updated the code and open sourced it on Github. If…
-
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…
-
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;…
-
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…
-
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) *…
-
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…
-
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…
-
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…
-
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…
-
Tuesday Morning Funny
What’s not smart? Not testing your dynamic tokens when email marketing: Like a pro!
-
7 easy ways to make money with affiliate marketing
Build a blog and setup adsense banners This is where most affiliates start, all you need is a domain name and a wordpress installation with some hosting. Build your blog, do some guest posts, read about SEO and hope Google sends you some traffic. Monetisation is usually done with Google Adsense which means selling advertising…
-
How to choose offers from an affiliate network
The most useful bit of information you can get from your affiliate manager is what offers are running the most volume. This is the only data I ever ask AM’s for because it tells me in no uncertain terms what is competitive on the network at the moment. AM’s are notorious for bombarding us with…
-
11 Proven Headline Formulas For Affiliate Marketing
Here is a list of headlines, most you’ll probably recognise. They are all over the web because they work. Use the formulas and adapt it to your product/service. ONE SIMPLE TRICK TO A …[BENEFIT] EXPERTS HATE HIM FOR …[BENEFIT] WARNING: [BENEFIT] 1268 LONDONERS [BENEFIT] IS [PRODUCT] A SCAM? CAN [PRODUCT] HELP YOU [BENEFIT]? HOW TO…
-
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…
-
Problems with running traffic to CPA affiliate networks
OK this might be a bit of an eye opener for anyone running traffic to CPA networks. This is obviously a negative post about some pet hates but there is a place for networks in the industry and they have their uses for sure which I’ll go through at the end. CPA networks have “internal…
-
Checking landing page load times
Landing page load times can make a big difference to the conversion rate of an affiliate campaign. Here’s a great free site for checking load times and getting suggestions on how to improve the page load speed. http://gtmetrix.com As you can see I could do with tweeking wordpress to display the images a bit better…
-
Fastlane Millionaire – BoM May
The Fastlane Millionaire is a self-help style book aimed at aspiring entrepreneurs. It does contain a lot of egotistical bull sh*t that you normally find in these style of books but there is also some gems of information. It is a bit like the 4 hour work week where if you can cut through the…
-
Setting up Maxmind GEOIP2 Legacy Database with PHP or Javascript
This is the php code I use to access geoip data from Maxmind’s geoip database: <?php $gpath = getcwd() . “/GeoIPCity.dat”; if (isset($_SERVER[‘HTTP_X_FORWARDED_FOR’])) { $myip = $_SERVER[‘HTTP_X_FORWARDED_FOR’]; } if (isset($_SERVER[‘REMOTE_ADDR’])) { $myip = $_SERVER[‘REMOTE_ADDR’]; } include(“./geoipcity.inc”); $gi = geoip_open($gpath,GEOIP_STANDARD); $record = geoip_record_by_addr($gi,$myip); $city = $record->city; $countrycode = $record->country_code; geoip_close($gi); echo ‘countrycode = “‘.$countrycode.’”; city =…
-
Golden Gems in Copywriting
Copywriting is an essential skill in affiliate marketing. Being able to persuade a user to complete an action comes down to communication and a lot of the communication on a website or landing page is written text. When I write copy I follow a build > breakdown > rebuild workflow. What this means is I’ll…
-
WhatsApp being used for spam
This is the first time I’ve seen spam on WhatsApp in the UK. I got two messages from different numbers advertising the same site. I’d imagine they are utilising free sims along with an android bot of some sort to register an account and then target known mobile numbers from a list.
-
SEO for Fun and Profit
SEO Summary Search engine optimisation can be broken down into onsite and offsite factors. Onsite Factors Domain age Domain relevance (Topics throughout site) Domain name relevance (keyword.com) Domain registration factors such as renewal date and private whois Site speed, page load times Site freshness, new daily content Title relevancy Keywords in meta description H1 tag…
-
The intelligent investor – April’s Book of the Month
The intelligent investor is to fund managers what cashvertising is to marketers. First published in the mid twentieth century it now comes with an updated commentary which is as good as the book itself. Graham inspired a host of famous investors including Warren Buffett and this book mirrors my own opinions about going against the…
-
Tool to generate a guest blog post request
This tool can be used to generate a guest blog post request for SEO purposes. This is a great way to not only build SEO juice but it also gets your name out there and helps interact with the community surrounding your niche. http://www.jamesbachini.com/misc/guestpostrequest.php Simply enter your name,site,niche and theirs and it will generate a…
-
The balance of an online marketers skillset
Effective online marketing requires a balance of skills. A good campaign requires creativity, great design, effective programming and meticulous optimisation. Leonardo Da Vinci would have made a great affiliate. If he was around in today he’d find this easy because he had a great balance of artistic creativity and scientific inquisition. Good design is intertwined…
-
Stack That Money Meetup STM London 2015
Stack that money has been a great meetup. I was surprised at the turnout which topped over 700 members. The talks were good, particularly some of the ones on the second day. Highlights included: Tim Tetra’s tricky little presentation where he sold a magic bullet to a crowd that should know better. Lars Kroijer one…
-
The 4 hour work week – March’s Book of the Month
The 4 hour work week – Timothy Ferris This was a tough one to include or not. I really can’t stand the guy or his writing style but a lot of what he says is good advice. I’ve read this and the 4 hour body and am taking a break before reading the 4 hour…
-
Funniest video I’ve seen in years
Damn those spammers!
-
Healthy body healthy mind – Fitness for the self-employed
I see a lot of fitness and health related post on affiliate marketing blogs, everything from how I got ripped abs in 3 weeks to why I gave up coffee for a month. These sound more like our landing page headlines than blog posts but there does seem to be a strong focus in the…
-
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…
-
The Innovators – February’s Book of the Month
The Innovators is a historical portrayal of the digital revolution. It starts at Ada Lovelace the daughter of Lord Byron who is credited with the first concept of a computer programme and goes all the way up to 2014. The book details the first computers including the one at Bletchley Park which is significant to…
-
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…
-
How to fill out a W8-BEN form
Updated March 2020 What is a W8BEN form? Officially a W8-BEN or W8-BEN-E form is a “Certificate of Foreign Status of Beneficial Owner for United States Tax Withholding and Reporting” This essentially means if you are not a US resident but are working with US companies then you need to sign this form to declare…
-
Pics From Affiliate Summit West 2015
Some snapshots from ASW15 Meet market, people doing the rounds. The Charles Ngo Seminar Benjamin Yong doing his thing While I’m all for using public transport I’m pretty sure this isn’t how Ryan Eagle does it. Arriving into the strip on the Deuce with a blazer attached to a backpack. You walk a lot in…
-
How To Optimise Online Affiliate Marketing Campaigns
This is going to be another long post about a seemingly boring topic of optimisation. If you ask a hundred affiliates how they optimise a campaign 90% of them will tell you they just get a feel for it. Very few affiliates actually have a set process or mathematical formula they use when optimising. Whether…
-
Daily Calcs Profit And Loss Spreadsheet Download For Affiliate Marketers
Here is the spreadsheet I use to monitor my profit and loss accounts on a daily basis. It’s provided here as a downloadable spreadsheet but I would recommend setting it up how you want and then uploading to Google Docs so it can be worked on from anywhere by anyone. This document works by inputting…
-
Cashvertising Summary | My Notes On Ca$hvertising
Cashvertising is a classic and would be my first choice for anybody new to digital marketing that wanted to learn about copywriting. I’ve published my personal notes here so people can get a summary of the book or use it as a reference if they have read it previously. It was first published a hundred…
-
How Groupon’s landing page has evolved in two years
In 2012 Groupon was at the cutting edge of performance marketing. They had big budgets and were doing big business with affiliates. I thought it would be interesting to analyse a landing page from back then and then one they use today. The lander actually reminds me a bit of some of the dating landing…
-
Forgetting to spin spun text in comment spam
This made me laugh today:
-
How To Make Money Online
Historians will look back at this period of time as an information revolution in the same way we look back at the industrial revolution. In the space of 30 years we have gone from basic communications to having a small portable device connected to a network capable of delivering answers to any question, maps, shopping…
-
Disproportionate Tablet Traffc On Google Adwords
Have you checked your Adwords campaigns by device recently? If not you should definitely take a look because there is a huge amount of tablet traffic and no way to block it for desktop campaigns. You can set bid adjustments at -100% to block mobile traffic but Google have disabled this feature for tablets. This…
-
Boost Software (PC Cleaner) Shutdown
The FTC has taken another swipe at the darker side of the affiliate industry by closing down Boost Software. Assets frozen and business practices suspended! There CPI offers were pretty big but the business model was scammy at best. The FTC paid particular attention to the telemarketing “scare tactics” used on the backend of the…
-
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…
-
Upgrading to WordPress 4.0 a breeze
I always get the fear when doing major upgrades on any platform. Something is bound to be non-compatible and get messed up. In this instance upgrading to WordPress 4.0 took about 5 minutes, didn’t mess up the themes and everything is still where it should be… right? WordPress is, in my opinion, the best platform…
-
My Office
My office at home. Dell XPS14 Laptop, Dell UHD monitor, Madkatz strike7 gaming keyboard (never played a game on it in my life) and a Madkatz mouse. The Bakerlite phone in the background is a genuine one from the 1940’s. I’d love to rig this up to a bluetooth handset but don’t have the heart…
-
Matomy Media Group
So you think you’ve made it in the performance marketing space? Check out the figures in Matomy’s interim report for a humbling come back down to earth: http://otp.investis.com/clients/uk/matomy/rns/regulatory-story.aspx?cid=813&newsid=441656 Overview of results ($ millions) H1 2014 GAAP H1 2013 GAAP Change GAAP Revenue 107.6 97.3 11% Gross profit 28.8 25.6 13% Operating profit 6.5 4.6 42%…
-
Affiliate Summit West 2015
I missed it last year so am really looking forward to getting back to Vegas for some blackjack, craps and roulette. No meetings before midday this time, live and learn! I first went to affiliate summit in 2012 and in my opinion it’s the best show of the year. The location, the parties, the sheer…
-
Why postback pixels aren’t good enough
What is it with the increase in use with global postbacks? This is where you send the network an id and they send it back to you if it converts. It seems that some affiliates are actually using this type of tracking and optimising on a single tracking system. For the love of god can…
-
Passing Through Landing Page Variables
This was inspired by another post which is well worth a read at: http://affplaybook.com/blog/affiliate-marketing/the-ultimate-guide-to-landing-page-tricks/ So many traffic sources provide you with tags such as {keyword} {countrycode} {device} etc. You can add these variables to your url so it would look something like: http://www.myserver.com/landingpage.htm?kw={keyword}&device={device} Then in the code to your landing page you can access these…
-
Scalling Prosper202
An excellent article from prosper202 on how to scale out to multiple servers efficiently: http://prosper.tracking202.com/blog/tutorial-how-your-current-server-setup-is-costing-you-big-time?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+prosper202+%28Prosper202+Development+Blog%29
-
Refactoring for ROI in affiliate marketing
The importance of refactoring is well documented in the programming world. But I haven’t seen it mentioned in an affiliate marketing context. So what is refactoring? Basically starting again from scratch. So instead adding variations to your banners or landing pages, start again and use everything you’ve learned to produce a better campaign. If you…