summaryrefslogtreecommitdiffstats
path: root/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html
diff options
context:
space:
mode:
Diffstat (limited to '_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html')
-rw-r--r--_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html
index c78926503..2cedc384a 100644
--- a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html
+++ b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/gtag.html
@@ -17,10 +17,9 @@ var trackOutboundLink = function(id, url) {
gtag('event', 'click', {
'event_category': 'outbound',
'event_label': id,
- 'transport_type': 'beacon',
- 'event_callback': function(){document.location = url;}
+ 'transport_type': 'beacon'
});
}
</script>
-{{ end }} \ No newline at end of file
+{{ end }}