Created
September 10, 2014 08:31
-
-
Save mjlassila/26ff9529825a404795ff to your computer and use it in GitHub Desktop.
E-kirjojen ja muiden kokotekstien kokotekstilinkkien klikkausten Google Analytics -seuranta Finnassa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- START of customized: general-post-body.tpl --> | |
<script type="text/javascript"> | |
{literal} | |
$(document).ready(function(){ | |
$('a.fulltext').click(function() { | |
var url = $(this).attr('href'); | |
ga('send', 'event', 'outbound', 'fulltext', url); | |
}); | |
}); | |
{/literal} | |
</script> | |
<!-- END of customized: general-post-body.tpl --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment