Skip to content

Commit

Permalink
analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
santisiri committed May 24, 2018
1 parent e562da9 commit bd9b6ca
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions .meteor/packages
Expand Up @@ -93,3 +93,4 @@ konecty:nrr
flowkey:raven
kadira:dochead
server-render
okgrow:analytics
1 change: 1 addition & 0 deletions .meteor/versions
Expand Up @@ -103,6 +103,7 @@ oauth@1.2.3
oauth1@1.2.0
oauth2@1.2.0
observe-sequence@1.0.16
okgrow:analytics@3.0.5
ordered-dict@1.1.0
practicalmeteor:chai@2.1.0_1
practicalmeteor:loglevel@1.2.0_2
Expand Down
13 changes: 12 additions & 1 deletion config/development/settings.json
Expand Up @@ -44,6 +44,12 @@

"sentryPublicDSN": "",

"analyticsSettings": {
"Google Analytics": {
"trackingId": ""
}
},

"app": {
"url": "https://vote.democracy.earth",
"name": "Sovereign",
Expand Down Expand Up @@ -77,7 +83,12 @@
"bio": "Borderless governance.",
"twitter": "@DemocracyEarth",
"blockchain": {
"address": "0"
"Bitcoin": {
"address": ""
},
"Ethereum": {
"address": ""
}
},
"logo": "images/earth.png",
"jurisdiction": {
Expand Down
5 changes: 3 additions & 2 deletions server/main.js
Expand Up @@ -102,6 +102,7 @@ onPageLoad(function (sink) {
hostname = result;
});
}

log(`{ server: 'onPageLoad', path: '${url}', httpHeader: '${JSON.stringify(hostname)}' }`);
if (path) {
log(`{ server: 'onPageLoad', path: '${url}', httpHeader: '${JSON.stringify(hostname)}' }`);
}
});

0 comments on commit bd9b6ca

Please sign in to comment.