• Newsletter
    • Analysis
    • DeFi
    • CryptocurrencyInformation about cryptocurrency
    • InvestingInvestment and portfolio management. Not a financial advisor, not financial advice.
    • TradingDocumenting my trading and investment journey
    • CodeA place for code php, ruby, javascript, jquery, html, css etc.
    • GitHub
    • Smart ContractsInformation and development tutorials about smart contracts
    • Web3Web3 has many definitions but to me it is the migration of data held on corporate private server to public blockchains. From a developer perspective we use web3 libraries such as ethers.js to connect traditional websites and dApps to EVM compatible blockchain networks such as Ethereum.
    • Tools
    • Newsletter
    • Twitter
    • Youtube
    • Bio
    • Work
    • Contact

  • Vibrate Phone with Javascript
    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.

    Read more…

  • Ben Horowitz Hard things about hard things review
    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…

    Read more…

  • Node.js client for Moz API (MozScape)
    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…

    Read more…

  • 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…

    Read more…

  • All the Facebook ads targeting options [infographic]
    All the Facebook ads targeting options [infographic]

    Read more…

  • Book Review: Delivering Happiness – Tony Hsieh
    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…

    Read more…

  • A simple floating feedback/support button
    A simple floating feedback/support button

    Updated for 2020 with a cleaner design. This uses the mail command in PHP to send the email but if this is disabled on your server you can connect it to Sendgrid/Mailchimp/AWS etc for the sending of email queries. There is a working example at: https://jamesbachini.com/misc/feedbackexample.html The code for this is really easy to implement…

    Read more…

  • New Page Level Ads – Adsense
    New Page Level Ads – Adsense

    These new ads are now available in the Adsense platform: They can be added to your adsense site and will only pop on mobile when Google thinks it’s a good time to launch an overlay. I’m not sure how they calculate this but it is described as displaying at “optimal times”. Most importantly you can…

    Read more…

  • Book Review: Will it fly – Pat Flynn
    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…

    Read more…

  • CTA Conf 2016 Notes (PDF Download )
    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

    Read more…

  • Setting Up Facebook & Google Adwords Conversion & Retargeting Pixels
    Setting Up Facebook & Google Adwords Conversion & Retargeting Pixels

    Conversion tracking is important because it will show you how much each lead or purchase is costing you in advertising costs. For most marketers this is their key performance indicator as it has a direct influence on their profits. Retargeting (or remarketing) tracking is important because by building an audience we can launch cost-effective marketing…

    Read more…

  • Jim.am has moved to JamesBachini.com
    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…

    Read more…

  • Microsoft to buy Linkedin
    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…

    Read more…

  • New: Facebook interest targeting brainstorm tool
    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

    Read more…

  • Facebook changes ad text guidelines
    Facebook changes ad text guidelines

    Facebook has changed it’s policy on disallowing ads with more than 20% text. There are now 4 bands in which your ad will be placed. OK, Low Text, Medium Text, High Text. The higher band your ad comes in the lower your quality score and less traffic you will get or higher you will have…

    Read more…

  • Alert box on click through to offer
    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…

    Read more…

  • A simple iOS / Android traffic splitter in PHP
    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…

    Read more…

  • No More Forced Tablet Traffic On Adwords
    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…

    Read more…

  • 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.…

    Read more…

  • RAM & CPU Usage PHP Script | Server Health Check
    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…

    Read more…

  • Basic exit intent pop up script
    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…

    Read more…

  • Resize youtube/vimeo iframe to maximum available height and width
    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;…

    Read more…

  • Book Review Finch Premium Posts 2016
    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…

    Read more…

  • Calculate distance between two geocooridnates
    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) *…

    Read more…

  • Building Basic Websites
    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…

    Read more…

  • Option to Disable Adsense Ads
    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…

    Read more…

  • What is required to dominate an online niche?
    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…

    Read more…

  • Download: Basic Email Newsletter Template
    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…

    Read more…

  • Leading Ad Networks
    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…

    Read more…

  • 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…

    Read more…

  • Tuesday Morning Funny
    Tuesday Morning Funny

    What’s not smart? Not testing your dynamic tokens when email marketing: Like a pro!

    Read more…

  • 7 easy ways to make money with affiliate marketing
    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…

    Read more…

  • How to choose offers from an affiliate network
    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…

    Read more…

  • 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…

    Read more…

  • 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…

    Read more…

  • Dynamic Tracking Tokens For Major Ad Networks
    Dynamic Tracking Tokens For Major Ad Networks

    Google Adwords Search term insertion {keyword=”leather couches”} {Keyword=”Leather couches”} {KeyWord=”Leather Couches”} {KEYWORD= “LEATHER COUCHES”} {device} {devicemodel} {placement} {creative} {adposition} {target} {network} {matchtype} Facebook No tokens 🙁 Plenty of Fish pof.com {age:} {state:} {gender:} TrafficVance %KEYWORD% MSN Adcenter {KeyWord} = Order Fresh Fruit today {keyword} = Order fresh fruit today {Keyword} = Order Fresh fruit today…

    Read more…

  • Problems with running traffic to CPA affiliate networks
    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…

    Read more…

  • Checking landing page load times
    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…

    Read more…

  • Setting Up Retargeting Pixels for Adwords and Facebook
    Setting Up Retargeting Pixels for Adwords and Facebook

    Retargeting works by placing a image pixel or code snippet on your website. You can then launch advertising campaigns targeted at those specific users that have visited the page and “seen” the hidden pixel. This is how to set it up… Facebook Go to Ads Manager > Audiences > Create Audience > Custom Audience >…

    Read more…

  • 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…

    Read more…

  • 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 =…

    Read more…

  • 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…

    Read more…

  • 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…

    Read more…

  • 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.

    Read more…

  • SEO for Fun and Profit
    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…

    Read more…

  • 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…

    Read more…

  • Tool to generate a guest blog post request
    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…

    Read more…

  • 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…

    Read more…

  • Stack That Money Meetup STM London 2015
    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…

    Read more…

  • 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 –…

    Read more…

←Newer Posts Older Posts→

jamesbachini.com
  • Twitter
  • YouTube
  • GitHub