Skip to content

Commit

Permalink
Add configurable google analytics script.
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledalam committed Aug 14, 2018
1 parent 1008836 commit 0f0a326
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,5 @@
"newrelicEnabled": false,
"newrelicName": "MyEtherProxy",
"newrelicKey": "SECRET_KEY",
"newrelicVerbose": false,
"analytics-code": "UA-1111111-00"
"newrelicVerbose": false
}
2 changes: 1 addition & 1 deletion www/app/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{content-for "head"}}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand All @@ -9,7 +10,6 @@
<meta name="description" content="High profitability Webchain mining pool"/>
<meta name="keywords" content="ethereum, pool, mining, cryptocurrency"/>
<script src="https://cdn.polyfill.io/v1/polyfill.min.js?features=Intl.~locale.en"></script>
{{content-for "head"}}
<link rel="stylesheet" href="assets/vendor.css">
<link rel="stylesheet" href="assets/pool.css">
{{content-for "head-footer"}}
Expand Down
5 changes: 4 additions & 1 deletion www/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ module.exports = function(environment) {
PayoutThreshold: '5 WEB',

// For network hashrate (change for your favourite fork)
BlockTime: 12.0
BlockTime: 12.0,

// For Google Analytics
AnalyticsCode: "UA-1111111-00"
}
};

Expand Down

0 comments on commit 0f0a326

Please sign in to comment.