Skip to content

Commit 286c091

Browse files
committed
Small cleanups
1 parent 5b188fa commit 286c091

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/js/gsAnalytics.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ var gsAnalytics = (function() {
2828
dimension3: gsStorage.getOption(gsStorage.SUSPEND_TIME) + '',
2929
dimension4: gsStorage.getOption(gsStorage.NO_NAG) + '',
3030
});
31-
ga('send', 'pageview');
31+
ga('send', 'pageview', {
32+
dimension1: chrome.runtime.getManifest().version + '',
33+
dimension2: gsStorage.getOption(gsStorage.SCREEN_CAPTURE) + '',
34+
dimension3: gsStorage.getOption(gsStorage.SUSPEND_TIME) + '',
35+
dimension4: gsStorage.getOption(gsStorage.NO_NAG) + '',
36+
});
3237
}
3338

3439
return {

src/js/suspended.js

-4
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,6 @@
358358
};
359359
}
360360

361-
function hideNag() {
362-
chrome.extension.getBackgroundPage().gsStorage.setOption('gsNoNag', true);
363-
}
364-
365361
function loadDonationPopupTemplate() {
366362
showingNag = true;
367363

0 commit comments

Comments
 (0)