added version dimension to analytics tracking

This commit is contained in:
Kyle Spearrin 2016-09-27 23:35:07 -04:00
parent 96c8a99173
commit deb3cbeb48
1 changed files with 3 additions and 0 deletions

View File

@ -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 () { });