• 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

  • Kerala and leaving India

    Kerala was the highlight of India for me. Situated at the bottom of the country the region is made up of beautiful beaches, stunning backwaters and vibrant local towns. Fort Cochin is a small Portuguese colonial town with a few things to do and see. They have a fish market where you can buy freshly

    Read more…

  • ATW: Goa

    I’ve finally got round to setting up a category for travel stuff and have set a redirect at jamesbachini.com/atw Goa was a lot of fun, I’d love to go back between December and January because it gets pretty crazy apparently. In off season it’s quiet with not many western tourists. Beaches are beautiful, traffic is

    Read more…

  • Mumbai Reality

    Dharavi is the most populated slum in Asia with over a million people living in a square kilometer. It’s an incredibly eye opening place to visit because of the way the people there just get on with their daily business. With conditions such as running water limited to 3 hours a day you’d think the

    Read more…

  • Ideas for improving landing pages

    The following is a list of proven methods that can improve the ctr and cvr of a landing page. Big Bright Buttons – Have you split tested different buttons, button text etc? Copy and Text – Persuasive text is key and an art form in itself. Images – Every image on that landing page should

    Read more…

  • Facebook Social Graph, Start of the end for online dating?

    Today Facebook launched the social graph in the UK. You can see from the below screenshot how this can be used to search for friends and friends of friends who are single. Could this be the start of Facebook entering or getting more involved in the online dating world? With the introduction of #hashtags it

    Read more…

  • Using Google Fonts on Landing Pages

    This is how you can use Google web fonts on your landing pages, blog posts and web pages. The benefit of this is that the font is loaded from a remote server include on the Google APIs so it does not depend on the local storage of that font on the users computer. This makes

    Read more…

  • Email Bounce Handling

    Here’s some PHP code developed to handle bounced email responses. This will give each response a code to $resno and a category to $rescat. There are 4 categories: Unknown – Hard bounce user or email address isn’t valid Spam – Soft bounce, blocked by spam filters Full – Soft bounce, user is out of resources

    Read more…

  • Online Banner Design Tool

    Need to design/modify banners but don’t have Photoshop installed? Try this online image editor: http://pixlr.com/editor/ A great little tool for the affiliate that only does image editing once in a blue moon, you lucky souls. Pixlr – The online alternative to photoshop

    Read more…

  • Installing Prosper202 for Affiliate Marketing

    Things you’ll need to get setup with Prosper202 and affiliate marketing: > A webhost or VPS or Dedicated server (web host is cheapest, Dedi’s are most expensive, VPS is a good compromise) > A domain name, just use a .com in case you want to run international in the future. Godaddy are pretty good. >

    Read more…

  • Yousif Yalda Recognition

    Recognition for being a complete idiot. Don’t ever run traffic to Profit Kings Media (PKM) or you’ll end up with stupid Skype messages like this:

    Read more…

  • Facebook Funnies

    Read more…

  • Neverblue Out of Bounds Thailand 2013

    Thank you Neverblue for a great trip to Phuket Thailand, was good to see everyone in the Neverblue team and meet some new faces. Just when you think the out of bounds trips can’t get any better… The Westin Siray Hotel where we stayed Everything required for an OOB trip was supplied Boat trip to

    Read more…

  • Coding PHP for Affiliates | A Getting Started Guide
    Coding PHP for Affiliates | A Getting Started Guide

    Coding for me is one of the most important skills you can have as an affiliate marketer. I’ve met plenty of affiliates that are running huge volume, making millions and can’t write a single line of code. “I just outsource it all” but for me I couldn’t imagine coming up with a tweak to a

    Read more…

  • High CPU usage on mysqld but low memory usage

    Had a problem with a server that was running alot of traffic and doing a lot of logging and updating mysql tables. The CPU usage was through the roof and it’s an 8 core server with 30GB of RAM. The strange thing was that mysqld was using all the processing power but hardly any memory

    Read more…

  • 346 million clicks handled by Prosper202

    Credit where credit is due, for free open source software, Prosper202 is great. I’ve had a few issues along the way but this software can be scalled to huge volumes relatively easily. If you aren’t using it to track your campaigns get it setup today: Some tips on running prosper at volume: 1) Check your

    Read more…

  • Some info on popular traffic sources…

    I came across this summary from an old manual I wrote some time ago. Alot of it is still relevant today, I’ll get round to updating it at some point: Traffic Sources Summary SEO Little to no cost – Free Trafic Long term can take six months to rank Requires large volumes of content Massive

    Read more…

  • EWA Gone Under

    It’s not nice to see any company fail (especially when they owe so much to so many) but never in this industry have I seen it happen to a more deserving character. Goodbye Ryan Eagle and the joke/scam that was EWA.

    Read more…

  • Barcelona European Summit 2013

    Will be attending between the 1st and 4th March, staying in Sitges just outside of Barcelona where the show is. If you are going, see you there!! http://www.theeuropeansummit.com Spanish 101 Hello                    Hola Goodbye                 Adiós or Hasta luego Have a nice day             ¡Que pase un

    Read more…

  • Pretty icons in vector format

    Download Font Awesome Vectors and spruce up your sites, ads and landers. Preview below:

    Read more…

  • Las Vegas 2013, Affiliate Summit West, iDates etc.

    Four shows and countless parties in 8 days. Here are some pics from Las Vegas this January: Some takeaways I had from this trip: Don’t ever book meetings before midday and preferably later still. Even if you can party till 4am and get up and sober for a meeting at 10am the chances are the

    Read more…

  • Display Marketing Logo Challenge

    Wow I don’t mind admitting half of these companies I’ve never heard of before: Display marketing infographic (from http://www.lumapartners.com a good blog actually looking at the industry from an investment perspective) They also have ones for mobile, social and search: http://www.lumapartners.com/lumascapes/mobile-lumascape/ http://www.lumapartners.com/lumascapes/social-lumascape/ http://www.lumapartners.com/lumascapes/search-lumascape/ and my favourite, just in case anyones working on the next MyFace: http://www.lumapartners.com/lumascapes/digital-capital-lumascape/

    Read more…

  • Direct Linking and Retargeting

    Here is how to do it, you’ll still need a server and a domain. Point all your traffic towards a php file i.e. http://www.mydomain.com/trackandforward.php Then place all your retargeting pixels in to the trackandforward.php file and put a meta refresh at the the end. The page will load the retargeting cookies will be placed and

    Read more…

  • Out of Bounds Thailand March 2013

    Just had the email come through confirming a place! Looking forward to seeing everyone for Out of Bounds Thailand. The official dates are 13th – 18th March but I am thinking of going out on the 9th and staying till the 24th. Let me know if anyone else has plans outside of the OOB dates.

    Read more…

  • Firing a S2S tracking url from an image conversion pixel

    Use this on your landing page: setcookie(“cid”, $_GET[‘accid’], time()+7*24*60*60, ‘/’, ‘.mydomain.com’); This sets up a cookie so you can track a click id in www.mydomain.com?accid=123 You could also set this up track any other data you want, subid, affiliate id etc. Then setup your conversion image pixel as <img src=”http://www.mydomain.com/conversion.php” height=”1px” width=”1px” /> This code

    Read more…

  • Merry Xmas from jamesbachini.com

    Read more…

  • Maxbounty setting an example

    Credit where credit is due this is awsome from Maxbounty: Hello James, For the past 8 years, MaxBounty has made it a tradition to give back to our community during the holiday season. This year is no different, and once again we are inviting you to help us out. On Saturday, December 22nd, 2012, we

    Read more…

  • Automatic backup of MySQL database

    Would you like to have a backup of your critical MySQL database emailed to you automatically? The following script was moified from backup2mail and needs setting up as a cron job, instructions are in the code. Download it for free here This is what the code looks like: <?php /// Setup /// // Test it

    Read more…

  • HC Traffic – Campaign Setup Guide

    Most affiliates will know that pop under traffic provides a great way to scale campaigns to really high levels. A site which has 300×250 banners will usually charge $0.50~ cpm, the equivalent pop under ads will cost $5+. The reason sites can earn so much more with pop unders is because the user interacts much

    Read more…

  • Stupidly Simple AB or Multivariate Testing
    Stupidly Simple AB or Multivariate Testing

    Here’s a simple way you can setup a simple multivariate or A/B split test without any software just using the subid variables provided by an affiliate network and some really basic php. <?php $out = ‘http://www.myaffiliatelink.com/page1.php?affid=123&subid1=’; if (rand(0,1) == 0) { $out.=’g1′; $girlimg = ‘1.png’; } else { $out.=’g2′; $girlimg = ‘2.png’; } // this

    Read more…

  • Endorsement

    Read more…

  • Internet Marketers Web Browser of Choice

    Here are some stats from Google Analytics for this blog: I thought it was interesting to see how far behind Internet Explorer has fallen for people who know how to use a computer. It was only 5 years ago when they an 85%ish share in the market. In 5 years time I would expect it

    Read more…

  • First Steps in Automation
    First Steps in Automation

    One of the great things about this industry is the lifestyle flexibility it offers you. The dream is to setup a campaign or website, let it run itself and live off the money tree you’ve made. In reality it rarely works like this but automation can release hours off your daily routines and go some

    Read more…

  • Optimising Nginx in Linux

    I found one of the servers was throwing up a 500 error quite regularly. I checked the logs and in /var/log/nginx/error.log I found the following errors: socket() failed (24: Too many open files) while connecting to upstream, client socket() failed (23: Too many open files in system) while connecting to upstream, client Solution was to

    Read more…

  • Vegas Shows January 2013

    Have I missed anything? Anyone going anywhere else around this time? Any advise for surviving a couple of weeks in Vegas? The xBiz awards on Jan 11th are in LA I think so might miss them. Aff Summit West is booked, we are staying at Ceasers Palace between Saturday 12th and Sunday 20th. I hope

    Read more…

  • Redirection Methods and Referer Passing

    The following are some methods you can use to redirect users from one place to another. I generally use 301 redirects for anything where I want the referer passed through because this is the fastest. Double meta refresh for anything where blank referer is important and a custom script which incorporates the form submit redirect

    Read more…

  • Lessons learned from writing a bespoke tracking platform

    For a recent project I wanted to develop a tracking platform which was specifically designed to suit my needs. It needed to be simple to use, capable of handling seven figure audiences daily and built on technology I understand so it can be customised on the go. I decided to build it arround php /

    Read more…

  • Is Facebook Going Live with Mobile Traffic?

    Is Facebook getting ready to go live with mobile traffic? There are options for mobile operating systems and devices in broad categories now. I still haven’t seen any ads other than sponsered stories on m.facebook.com yet… This screenshot is from the power editor in Chrome, highly recommended if you are uploading lots of similar ads.

    Read more…

  • Combining Maxmind GeoIP with Google Maps iFrame

    This is a quick script which uses Maxminds geoip location db downloadable for free from here with Google Maps iFrame. I haven’t tested this enough to find out if Google restrict the number of requests by referrer but you could always put a meta refresh page in the iframe to blank the referrer if thats

    Read more…

  • Resizing images and adjusting landing pages based on screen resolution

    So many browsers so many different screen resolutions. Here’s a way to modify html code based on the screen resolution of the browser. In this example I have changed an image but there is no reason why you cant change text, font size or even use it to redirect users who have mobile sized screens.

    Read more…

  • Loading a conversion pixel on click through

    Mobile campaign optimisation throws up a number of issues in regard to tracking. One thing I’ve found really useful is to load a conversion pixel on click through from the landing page to the offer page. This can be a traffic source pixel which can then be used to give some indication of site/device/carrier quality

    Read more…

  • iframe to a specific div id on a landing page

    Below is the code to iframe an offer page but cut out all the stuff you don’t need. This is useful if you just want to iframe the form while using your own images etc. This is setup so you just enter the url and div id you want to jump to at the top

    Read more…

  • Mobile Multivariate Testing with SubID’s

    Due to slow page load speeds it is advised to keep tracking software to minimum when running mobile campaigns. This caused me a problem when trying to develop and optimise a mobile landing page. Because I wasn’t using prosper or any other tracking software I couldn’t plug in my custom multivariate testing scripts. I was

    Read more…

  • Neverblue Out of Bounds Whistler 2012

    Some photos from the Whistler trip with Neverblue. Top of Whistler Mountain Neverblue Party Crew Ice bar View from ATV ride Victoria home of the Neverblue offices It was a great opportunity to spend time with the Neverblue team, other affiliates and spammers alike. Alot of fun, left handed drinking, good food and all the

    Read more…

  • Simple HTML Cheat Sheet
    Simple HTML Cheat Sheet

    Rich’s Simple HTML Cheat Sheet   <h1>This is a heading</h1>      <b>This is bold</b>       <i>This is itallic</i> <br />     = New line       &nbsp;   = Extra Space <a href=”contacts.htm”>Contact Form</a>    = Link <img src=”images/picture.jpg” />       = image <font size=”3″>hello world</font>     = changes font size Lists <ul> <li>List item1</li> <li>List item2</li> </ul> Tables <table> <tr> <td>top left</td> <td>top

    Read more…

  • Prosper202 Mod – Set preferences before crashing server

    Had a bit of an issue with Prosper crashing once the database got too big. I would log out and leave the analysis preferences set to my biggest traffic source and when I logged back in the server would crash as it tries to pull a report before you can modify the search critieria. I

    Read more…

  • Romania Advertising Agency – Oops Media

    Read more…

  • Reasons to Love Neverblue in 2012/2013

    Looks like Neverblue are taking their affiliates to Phuket Thailand in March 2013! Wow!

    Read more…

  • What was that Country Code?

    Have problems remembering all the different country codes for geolocation scripts etc? Switzerland gets me everytime! Here’s a handy list you can use to check before you code. I use Maxmind but this will be accurate for any software that uses the ISO 3166 standard. AD = Andorra AE = United Arab Emirates AF =

    Read more…

  • Apache Logs – Disk Space Ubuntu Plesk

    One of my servers started groaning early last week and it turned out I had log files accumulating to nearly 1TB. Log rotation was switched on but it still wasn’t ideal. I solved this by ssh’ing into a root shell and running the following command: du -a /var | sort -n -r | head -n

    Read more…

  • Anyone planning on running $15,000,0000 to Clickbooth this Summer?

    I know there are other prizes further down the list but really… That works out at $166,666.66 USD a day in revenue. If Mark Zuckerberg is reading stick some 300×250’s on your site and you could keep the new shareholders happy and get yourself an island. For everyone else if you can get their offers

    Read more…

←Newer Posts Older Posts→

jamesbachini.com
  • Twitter
  • YouTube
  • GitHub