1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00

add google analytics to example site

This commit is contained in:
Bowden
2018-03-19 10:49:54 -07:00
parent 42a8183f79
commit 2e5dcf9b21

View File

@@ -28,5 +28,5 @@ html(lang='')
//- Google Analytics: change UA-XXXXX-X to be your site's ID
script.
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
ga('create','UA-38177297-2','auto');ga('send','pageview')
script(src='https://www.google-analytics.com/analytics.js' async defer)