diff --git a/templates/bibitemtpl.html b/templates/bibitemtpl.html index f8b6ea1..905fb7d 100644 --- a/templates/bibitemtpl.html +++ b/templates/bibitemtpl.html @@ -15,13 +15,13 @@ $month$ $year$.
$endif$ $if(url)$ - [Paper] + [Paper] $endif$ $if(slides)$ - [Slides] + [Slides] $endif$ $if(poster)$ - [Poster] + [Poster] $endif$
$if(note)$ diff --git a/templates/main.html b/templates/main.html index 41f6b2f..cb7b05c 100644 --- a/templates/main.html +++ b/templates/main.html @@ -15,8 +15,17 @@ type='text/css'> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments)}; gtag('js', new Date()); - gtag('config', 'UA-33267683-1'); + +var trackLink = function(label,url) { + gtag('event', 'click', { + 'event_category': 'link', + 'event_label': label, + 'event_action': url, + 'transport_type': 'beacon', + 'event_callback': function(){document.location = url;} + }); +}