Automated Google Analytics reports with Google Spreadsheet

We have often commented that accurate benchmarking is the key starting point in the process of optimizing a website. We need to be in a position to measure any changes that are made to know what, if any, impact they have had. It’s also important to normalise and reach consensus regarding our data sources and the metrics that we plan on analysing, as it’s easy to reach the wrong conclusions if different members of the same team query different data sources in slightly different ways, or when analyzing metrics and indicators on Google Analytics, we compare apples with oranges. It’s also true that most of the time, the default Google Analytics reports are not as granular as we would like them to be, in order to facilitate more profound analysis.

Filed under: web, methodology

Install the vmod_header Varnish Module for Varnish 4.0 on Centos 7.1

If you are using Varnish and need to access headers which appear more than once (i.e. multiple set-cookie headers) then you'll have to install the vmod_header Varnish Module.

Filed under: web, tools

Javascript event delegation for a horizontal swipe effect

As front-end developers, there are times where we have to extend third party libraries or jQuery plugins in our applications. In this article I’ll show you a brief example of the javascript code that I used to extend the functionality of an image carousel in order to add a horizontal swipe effect using event delegation.

Filed under: languages, web

Utilities for Git and the Netdna CDN API in ruby

This is the ruby script that we use to obtain information on the account or the zones that we have configured in the Netdna CDN and, when necessary, to invalidate all objects in the CDN or a subset of them based on the difference between selected commits in the local git history for a particular project. As always the best way to see how this works is to read the code !

Filed under: tools

Heriots Rugby Club win Scottish cup final 2014

On the 19th of April, Gilmation sponsored the warmup jerseys for Heriot's Rugby Club when they played (and won !) the Scottish cup final at Broadwood Stadium, Cumbernauld. Thanks to everyone at the club we had a great day and this is our pick of the photos that we took to record the occasion.

Filed under: opinion

A simple ruby script to check the HTTP response / redirect for multiple urls

This is a simple script that we use as a resource and protocol check to make sure that the status codes and any redirects are as expected. If a redirect is returned then this URL is also checked to make sure that it exists (i.e. status = 200). As always the best way to see how this works is to read the code !

Filed under: tools

Three years, 6 new brands and over 15 million in online sales

The 3 years since our last post is a long time but has gone past very quickly indeed. So while we've been bad at posting we have been very productive in other areas (honestly !). We started another company Cave 66 and created it's first brand (Solamante), we developed 5 new brands as part of our ongoing relationship and shareholding in AFG Media (Morphsuits), our websites have turned over more than £15 million and we've also done some consulting when we've been able to find the time !

Filed under: opinion

Distributed source code management resources

A list of the resources for Mercurial, Git and Bazaar that I put together when researching my talk for the PHP Barcelona Conference.

Filed under: tools

SQL delete at scale with Oracle

If you are involved in a project based on a critical and extensively used database, or if you are involved in stress and load testing, data maintenance is an issue you'll come across sooner or later.

Filed under: languages, infrastructure

Install and test the PostgreSQL gem with Ruby Version Manager

How to go about installing and testing the PostgreSQL gem using Ruby Version Manager, Ruby 1.9.2., Mac OS X 10.5.8 and Xcode 3.1.1.

Filed under: languages, tools