mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-03-12 21:22:57 -07:00
f
This commit is contained in:
@@ -23,7 +23,6 @@ additional-js = [
|
|||||||
"theme/sponsor.js",
|
"theme/sponsor.js",
|
||||||
"theme/ai.js"
|
"theme/ai.js"
|
||||||
]
|
]
|
||||||
google-analytics = "G-DSTYJWERH0"
|
|
||||||
no-section-label = true
|
no-section-label = true
|
||||||
preferred-dark-theme = "hacktricks-dark"
|
preferred-dark-theme = "hacktricks-dark"
|
||||||
default-theme = "hacktricks-light"
|
default-theme = "hacktricks-light"
|
||||||
|
|||||||
@@ -342,20 +342,18 @@
|
|||||||
</script>
|
</script>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if google_analytics}}
|
|
||||||
<!-- Google Analytics Tag (GA4) -->
|
<!-- Google Analytics Tag (GA4) -->
|
||||||
<script>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
gtag('config', '{{google_analytics}}');
|
gtag('config', 'G-DSTYJWERH0');
|
||||||
|
|
||||||
var gtagScript = document.createElement('script');
|
var gtagScript = document.createElement('script');
|
||||||
gtagScript.async = true;
|
gtagScript.async = true;
|
||||||
gtagScript.src = 'https://www.googletagmanager.com/gtag/js?id={{google_analytics}}';
|
gtagScript.src = 'https://www.googletagmanager.com/gtag/js?id=G-DSTYJWERH0';
|
||||||
document.head.appendChild(gtagScript);
|
document.head.appendChild(gtagScript);
|
||||||
</script>
|
</script>
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{#if playground_line_numbers}}
|
{{#if playground_line_numbers}}
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user