summaryrefslogtreecommitdiffstats
path: root/extensions/GoogleAnalytics/web/js/analytics.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/GoogleAnalytics/web/js/analytics.js')
-rw-r--r--extensions/GoogleAnalytics/web/js/analytics.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/GoogleAnalytics/web/js/analytics.js b/extensions/GoogleAnalytics/web/js/analytics.js
index 25f7d7527..86f1f2592 100644
--- a/extensions/GoogleAnalytics/web/js/analytics.js
+++ b/extensions/GoogleAnalytics/web/js/analytics.js
@@ -15,6 +15,7 @@ $(function() {
ga('set', 'anonymizeIp', true);
ga('set', 'location', meta.data('location'));
ga('set', 'title', meta.data('title'));
+ ga('set', 'transport', 'beacon');
// Track page view
ga('send', 'pageview');
}