Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 31 lines (29 sloc) 1.002 kb
<script type="text/javascript">
var _gas = _gas || [];
_gas.push(['_setDebug', true]);
_gas.push(['_setAccount', 'UA-YYYYYY-Y']);
_gas.push(['_trackPageview', '/test']);
_gas.push(['_gasTrackDownloads', 'torrent,gz']);
(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);
<li><a href="/test.mp3">MP3</a></li>
<li><a href="/test.mp3?cb=1">MP3 with CB</a></li>
<li><a href="/test.mp7">Dont track</a></li>
<li><a href="/test.torrent">Torrent (custom added)</a></li>
<li><a href="/test.gz">Gz (custom added)</a></li>
<li><a href="/test_img.mp3"><img src="" /></a></li>
Jump to Line
Something went wrong with that request. Please try again.