Skip to content

Commit

Permalink
Tone down the analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Jan 30, 2018
1 parent 7fb1e82 commit 6064940
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ app.setAppUserModelId('com.marshallofsound.gpmdp.core');
// This is for user reporting
Settings.set('uuid', Settings.get('uuid', uuid.v4()));
const user = ua('UA-44220619-5', Settings.get('uuid'));
setInterval((function sendPageView() {
user.pageview('/').send();
return sendPageView;
}()), 60000 * 5);
user.pageview(`/${app.getVersion()}`).send();

// Replace the logger's levels with those from settings.
Logger.transports.console.level = Settings.get('consoleLogLevel', defaultConsoleLogLevel);
Expand Down

0 comments on commit 6064940

Please sign in to comment.