File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11var remark_config = { highlightStyle : 'default' } ;
22var slideshow = remark . create ( remark_config ) ;
33
4- var _gaq = _gaq || [ ] ;
5- if ( window . location . hostname . substring ( 'coderdojo.si' ) != - 1 ) {
6- _gaq . push ( [ '_setAccount' , 'UA-39132001-4' ] ) ;
7- _gaq . push ( [ '_trackPageview' ] ) ;
8- ( function ( ) {
9- var ga = document . createElement ( 'script' ) ; ga . type = 'text/javascript' ; ga . async = true ;
10- ga . src = ( 'https:' == document . location . protocol ? 'https://ssl' : 'http://www' ) + '.google-analytics.com/ga.js' ;
11- var s = document . getElementsByTagName ( 'script' ) [ 0 ] ; s . parentNode . insertBefore ( ga , s ) ;
12- } ) ( ) ;
13- }
4+ window . dataLayer = window . dataLayer || [ ] ;
5+ function gtag ( ) { dataLayer . push ( arguments ) ; }
6+ gtag ( 'set' , 'url_passthrough' , true ) ;
7+ gtag ( 'js' , new Date ( ) ) ;
8+ gtag ( 'config' , 'G-Q0DM27783G' ) ;
9+
10+ var ga = document . createElement ( 'script' ) ;
11+ ga . async = true ;
12+ ga . src = "https://www.googletagmanager.com/gtag/js?id=G-Q0DM27783G" ;
13+ document . head . appendChild ( ga ) ;
You can’t perform that action at this time.
0 commit comments