Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 31 lines (29 sloc) 1.02 KB
<script type="text/javascript">
var _gas = _gas || [];
_gas.push(['_setDebug', true]);
_gas.push(['_setAccount', 'UA-YYYYYY-Y']);
_gas.push(['_trackPageview', '/test']);
_gas.push(['_addHook', '_trackEvent', function(c,a,l,v,i){
alert(c+', '+a+', '+l+', '+v+', '+i);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = '../dist/gas.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
<div id="images"><p>Large Images</p>
<img src="" />
<img src="" />
<img src="" />
Something went wrong with that request. Please try again.