fix: gtag
This commit is contained in:
parent
174287f5bf
commit
262870548a
@ -97,6 +97,7 @@
|
|||||||
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
|
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
|
||||||
</script>
|
</script>
|
||||||
*@
|
*@
|
||||||
|
|
||||||
<!-- Structured Data Schema.org -->
|
<!-- Structured Data Schema.org -->
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
@ -133,20 +134,13 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Google Analytics 4 - Optimized with defer -->
|
<!-- Google Analytics 4 - Optimized with defer -->
|
||||||
<script defer src="https://www.googletagmanager.com/gtag/js?id=G-64FCDJGT44"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-64FCDJGT44"></script>
|
||||||
<script defer>
|
<script defer>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
|
||||||
// Initialize with denied consent for GDPR compliance
|
|
||||||
gtag('consent', 'default', {
|
|
||||||
'analytics_storage': 'denied'
|
|
||||||
});
|
|
||||||
|
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
gtag('config', 'G-64FCDJGT44', {
|
|
||||||
send_page_view: false
|
gtag('config', 'G-64FCDJGT44');
|
||||||
});
|
|
||||||
|
|
||||||
// Custom events for QR Rapido
|
// Custom events for QR Rapido
|
||||||
window.trackQRGeneration = function(type, time, isPremium) {
|
window.trackQRGeneration = function(type, time, isPremium) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user