mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 15:08:15 -07:00
adding google analytics tracking code
This commit is contained in:
parent
1b2123933b
commit
76f6e1d1fa
1 changed files with 10 additions and 0 deletions
|
|
@ -9,6 +9,16 @@
|
|||
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
|
||||
= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Roboto:300,700'
|
||||
= javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
|
||||
|
||||
/ Global site tag (gtag.js) - Google Analytics
|
||||
%script{:async => "", :src => "https://www.googletagmanager.com/gtag/js?id=UA-132936999-1"}
|
||||
:javascript
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-132936999-1');
|
||||
|
||||
%body
|
||||
.container
|
||||
.row
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue