Skip to content

Instantly share code, notes, and snippets.

View kiranchitturi's full-sized avatar

Kiran Chitturi kiranchitturi

  • Apple
  • Seattle, WA
View GitHub Profile
/*! * Snowplow - The world's most powerful web analytics platform
*
* @description JavaScript tracker for Snowplow
* @version 2.1.2
* @author Alex Dean, Simon Andersson, Anthon Pang, Fred Blundun
* @copyright Anthon Pang, Snowplow Analytics Ltd
* @license Simplified BSD
*/
(function e(b,g,d){function c(l,i){if(!g[l]){if(!b[l]){var h=typeof require=="function"&&require;if(!i&&h){return h(l,!0)}if(a){return a(l,!0)}throw new Error("Cannot find module '"+l+"'")}var j=g[l]={exports:{}};b[l][0].call(j.exports,function(m){var o=b[l][1][m];return c(o?o:m)},j,j.exports,e,b,g,d)}return g[l].exports}var a=typeof require=="function"&&require;for(var f=0;f<d.length;f++){c(d[f])}return c})({1:[function(require,module,exports){var JSON;if(!JSON){JSON={}}(function(){var global=Function("return this")(),JSON=global.JSON;if(!JSON){JSON={}}function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear(