diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-11 19:59:33 +0100 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-11 19:59:33 +0100 |
commit | f4110cb83acdc2ab09b379ca57207e52b06efa63 (patch) | |
tree | 7965e9e744b3f9197456496eae9441f35da929ca /_includes/footer.html | |
parent | bcdd458a348bb889878e56d6bdb82b1a67c4bcd4 (diff) |
Add GA tracking for downloads
Diffstat (limited to '_includes/footer.html')
-rw-r--r-- | _includes/footer.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/_includes/footer.html b/_includes/footer.html index ecffab0..f11b3e4 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -32,6 +32,10 @@ ga('create', 'UA-954596-3', 'auto'); ga('send', 'pageview'); + + function trackDownload(name) { + ga('send', 'event', 'download', 'click', name); + } </script> </body> </html> |