mirror of
https://github.com/bitwarden/web
synced 2025-12-14 07:13:23 +00:00
Added angulartics for google analytics tracking. Reformated json and xml files for new VS default (2 space indenting)
This commit is contained in:
@@ -158,6 +158,13 @@ gulp.task('lib', ['clean:lib'], function () {
|
|||||||
{
|
{
|
||||||
src: paths.npmDir + 'clipboard/dist/clipboard*.js',
|
src: paths.npmDir + 'clipboard/dist/clipboard*.js',
|
||||||
dest: paths.libDir + 'clipboard'
|
dest: paths.libDir + 'clipboard'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: [
|
||||||
|
paths.npmDir + 'angulartics-google-analytics/lib/angulartics*.js',
|
||||||
|
paths.npmDir + 'angulartics/src/angulartics.js'
|
||||||
|
],
|
||||||
|
dest: paths.libDir + 'angulartics'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,8 @@
|
|||||||
"papaparse": "4.1.2",
|
"papaparse": "4.1.2",
|
||||||
"toastr": "2.1.2",
|
"toastr": "2.1.2",
|
||||||
"clipboard": "1.5.12",
|
"clipboard": "1.5.12",
|
||||||
"ngclipboard": "1.1.1"
|
"ngclipboard": "1.1.1",
|
||||||
|
"angulartics": "1.1.2",
|
||||||
|
"angulartics-google-analytics": "0.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
'angular-md5',
|
'angular-md5',
|
||||||
'ui.bootstrap.showErrors',
|
'ui.bootstrap.showErrors',
|
||||||
'toastr',
|
'toastr',
|
||||||
|
'angulartics',
|
||||||
|
'angulartics.google.analytics',
|
||||||
|
|
||||||
'bit.directives',
|
'bit.directives',
|
||||||
'bit.services',
|
'bit.services',
|
||||||
|
|||||||
@@ -48,7 +48,6 @@
|
|||||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
ga('create', 'UA-81915606-4', 'auto');
|
ga('create', 'UA-81915606-4', 'auto');
|
||||||
ga('send', 'pageview');
|
|
||||||
</script>
|
</script>
|
||||||
<!-- @endif -->
|
<!-- @endif -->
|
||||||
<!-- @exclude -->
|
<!-- @exclude -->
|
||||||
@@ -75,6 +74,8 @@
|
|||||||
<script src="lib/angular-bootstrap-show-errors/showErrors.js"></script>
|
<script src="lib/angular-bootstrap-show-errors/showErrors.js"></script>
|
||||||
<script src="lib/ngstorage/ngStorage.js"></script>
|
<script src="lib/ngstorage/ngStorage.js"></script>
|
||||||
<script src="lib/ngclipboard/ngclipboard.js"></script>
|
<script src="lib/ngclipboard/ngclipboard.js"></script>
|
||||||
|
<script src="lib/angulartics/angulartics.js"></script>
|
||||||
|
<script src="lib/angulartics/angulartics-ga.js"></script>
|
||||||
|
|
||||||
<script src="app/app.js"></script>
|
<script src="app/app.js"></script>
|
||||||
<script src="app/settings.js"></script>
|
<script src="app/settings.js"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user