From deb3cbeb48c214a0cd7ca912e98c3edd3dc310c9 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 27 Sep 2016 23:35:07 -0400 Subject: [PATCH] added version dimension to analytics tracking --- src/scripts/analytics.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scripts/analytics.js b/src/scripts/analytics.js index db04d45041..f711b2920f 100644 --- a/src/scripts/analytics.js +++ b/src/scripts/analytics.js @@ -18,6 +18,9 @@ if (gaTrackingId) { ga('create', gaTrackingId, 'auto'); } +// version dimension +ga('set', 'dimension1', chrome.runtime.getManifest().version); + // Removes failing protocol check. ref: http://stackoverflow.com/a/22152353/1958200 ga('set', 'checkProtocolTask', function () { });