Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export function GoogleAnalyticsProvider({ children }: { children: React.ReactNod
functionality_storage: "denied",
personalization_storage: "denied",
security_storage: "granted", // Always granted for security
wait_for_update: 500, // Wait 500ms for consent before sending data
})

// Enable cookieless pings for Google Ads
Expand All @@ -76,6 +75,9 @@ export function GoogleAnalyticsProvider({ children }: { children: React.ReactNod
functionality_storage: "granted",
personalization_storage: "granted",
})

// Re-initialize config to flush queued events and enable tracking
window.gtag("config", GTM_ID)
}
}

Expand Down