Tom Fuertes

home

gaab - Universal Analytics AB Testing

03 Mar 2014

gaab - Dead Simple Universal Analytics AB Testing

gaab is a microlib I started for @FUWeekend. Attending Howard Abrams talk at jQueryCon Portland was eye opening. I followed along only to look around and see others eyes glaze over when he started talking about GUIDs, hashing keys, bucketing, etc... AB Testing can and should be much more simple. gaab's code is < 45 lines as of 0.2.0 and abstracts AB Testing into what I hope is a super approachable api.

gaab('jumbotron', 1, [
  { variation: 'control' },
  { variation: 'spiffy', 'h1': 'Spiffy :)' },
  { variation: 'boring', 'h1': 'Boring :(' }
]);

screenshot of gaab

screenshot of reporting example

Go forth and test