Adding google anayltics tracking

This commit is contained in:
Colin McLeod
2015-05-04 22:14:01 -07:00
parent bf04a2cc19
commit 748e1261fe
3 changed files with 19 additions and 2 deletions

View File

@@ -108,7 +108,8 @@ gulp.task('generateIndexHTML', function() {
return gulp.src('app/index.html')
.pipe(template({
version: pkg.version,
date : (new Date()).toLocaleDateString()
date : (new Date()).toLocaleDateString(),
uaTracking: process.env.CORIOLIS_UA_TRACKING
}))
.pipe(htmlmin({
'collapseBooleanAttributes': true,