Add Google Analytics

This commit is contained in:
Sky Young 2018-05-22 16:03:44 -07:00
parent 3435f825d9
commit 5d768d868a
2 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{
"name": "flosight-ui",
"description": "An open-source frontend for the Flosight API. The Flosight API provides you with a convenient, powerful and simple way to query and broadcast data on the florincoin network and build your own services with it.",
"version": "5.0.0-beta.71",
"version": "5.0.0-beta.72",
"repository": "git://github.com/bitpay/flosight-ui.git",
"bugs": {
"url": "https://github.com/bitpay/flosight-ui/issues"

View File

@ -71,6 +71,15 @@
<script src="js/angularjs-all.min.js"></script>
<script src="js/clipboard.min.js"></script>
<script src="js/main.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-119772748-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-119772748-2');
</script>
<script>
var observer = new window.MutationObserver(function(mutations, observer) {
var clipboard = new ClipboardJS('.btn-copy');