File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ additional-js = [
2323 " theme/sponsor.js" ,
2424 " theme/ai.js"
2525]
26- google-analytics = " G-8QHENNPT4B"
2726no-section-label = true
2827preferred-dark-theme = " hacktricks-dark"
2928default-theme = " hacktricks-light"
Original file line number Diff line number Diff line change 343343 </script >
344344 {{ /if }}
345345
346- {{ #if google_analytics }}
347346 <!-- Google Analytics Tag (GA4) -->
348347 <script >
349348 window .dataLayer = window .dataLayer || [];
350349 function gtag (){dataLayer .push (arguments );}
351350 gtag (' js' , new Date ());
352- gtag (' config' , ' {{google_analytics}} ' );
351+ gtag (' config' , ' G-8QHENNPT4B ' );
353352
354353 var gtagScript = document .createElement (' script' );
355354 gtagScript .async = true ;
356- gtagScript .src = ' https://www.googletagmanager.com/gtag/js?id={{google_analytics}} ' ;
355+ gtagScript .src = ' https://www.googletagmanager.com/gtag/js?id=G-8QHENNPT4B ' ;
357356 document .head .appendChild (gtagScript);
358357 </script >
359- {{ /if }}
360358
361359 {{ #if playground_line_numbers }}
362360 <script >
You can’t perform that action at this time.
0 commit comments