From 18fd3625a4fcb91b4e05a4600465c00db1d830a2 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 16 Nov 2014 00:34:46 +0100 Subject: Update GA tracking --- _includes/footer.html | 4 ++-- _includes/header.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index f11b3e4..27d6d45 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -33,8 +33,8 @@ ga('create', 'UA-954596-3', 'auto'); ga('send', 'pageview'); - function trackDownload(name) { - ga('send', 'event', 'download', 'click', name); + function trackLink(type, name) { + ga('send', 'event', type, name); } diff --git a/_includes/header.html b/_includes/header.html index 267cf95..71871d8 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -27,17 +27,17 @@ Downloads: Documentation: -- cgit v1.2.3