((plugin) ->
if typeof define is "function" and define.amd
define ["jslib", "header"], plugin
else
plugin @$
).call this, analytics = ($) ->
"use strict"
((i, s, o, g, r, a, m) ->
i["GoogleAnalyticsObject"] = r
i[r] = i[r] or ->
(i[r].q = i[r].q or []).push arguments
return
i[r].l = 1 * new Date()
a = s.createElement(o)
m = s.getElementsByTagName(o)[0]
a.async = 1
a.src = g
m.parentNode.insertBefore a, m
return
) window, document, "script", "//www.google-analytics.com/analytics.js", "ga"
$ ->
EPFL analytics plugin
Handle Google analytics registration
requires: jQuery or Zepto DOM library author: Julien Ramboz version: 1.0