Skip to content

Commit

Permalink
Small cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
deanoemcke committed Aug 25, 2018
1 parent 5b188fa commit 286c091
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/js/gsAnalytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ var gsAnalytics = (function() {
dimension3: gsStorage.getOption(gsStorage.SUSPEND_TIME) + '',
dimension4: gsStorage.getOption(gsStorage.NO_NAG) + '',
});
ga('send', 'pageview');
ga('send', 'pageview', {
dimension1: chrome.runtime.getManifest().version + '',
dimension2: gsStorage.getOption(gsStorage.SCREEN_CAPTURE) + '',
dimension3: gsStorage.getOption(gsStorage.SUSPEND_TIME) + '',
dimension4: gsStorage.getOption(gsStorage.NO_NAG) + '',
});
}

return {
Expand Down
4 changes: 0 additions & 4 deletions src/js/suspended.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,6 @@
};
}

function hideNag() {
chrome.extension.getBackgroundPage().gsStorage.setOption('gsNoNag', true);
}

function loadDonationPopupTemplate() {
showingNag = true;

Expand Down

0 comments on commit 286c091

Please sign in to comment.