diff options
author | hahnmichaelf <hahn.michael.f@gmail.com> | 2018-08-14 00:47:18 +0800 |
---|---|---|
committer | hahnmichaelf <hahn.michael.f@gmail.com> | 2018-08-14 00:47:18 +0800 |
commit | 8fb2dfe3d7c09b013c3e6a3458bf1d9608e48e9a (patch) | |
tree | 0602fc94be31fcbb0ff7f6a1380e0c08cfdef7f6 | |
parent | 7d2d71bcbc9779b7a25f56a67264cac876356869 (diff) | |
download | tangerine-wallet-browser-8fb2dfe3d7c09b013c3e6a3458bf1d9608e48e9a.tar tangerine-wallet-browser-8fb2dfe3d7c09b013c3e6a3458bf1d9608e48e9a.tar.gz tangerine-wallet-browser-8fb2dfe3d7c09b013c3e6a3458bf1d9608e48e9a.tar.bz2 tangerine-wallet-browser-8fb2dfe3d7c09b013c3e6a3458bf1d9608e48e9a.tar.lz tangerine-wallet-browser-8fb2dfe3d7c09b013c3e6a3458bf1d9608e48e9a.tar.xz tangerine-wallet-browser-8fb2dfe3d7c09b013c3e6a3458bf1d9608e48e9a.tar.zst tangerine-wallet-browser-8fb2dfe3d7c09b013c3e6a3458bf1d9608e48e9a.zip |
Re-added GA script
-rw-r--r-- | app/phishing.html | 19 | ||||
-rw-r--r-- | gulpfile.js | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/app/phishing.html b/app/phishing.html index 36a95b656..e67dfd5f3 100644 --- a/app/phishing.html +++ b/app/phishing.html @@ -26,6 +26,25 @@ color: white; } </style> + + + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); + ga('create', 'UA-37075177-6', 'auto'); + ga('send', 'pageview'); + //Send referral data to EAL + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); + ga('create', 'UA-68598031-1', 'auto' {'allowLinker':true}); + ga('send', 'pageview'); + ga('require', 'linker'); + ga('linker:autoLink', ['harrydenley.com', 'metamask.io'], false, true); + </script> <script src="phishingdetect.js"></script> </head> diff --git a/gulpfile.js b/gulpfile.js index 6dca2c1c9..6b335e0ac 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -267,7 +267,7 @@ const buildJsFiles = [ 'contentscript', 'background', 'ui', - 'esdb-replace' + 'phishingdetect' ] // bundle tasks |