You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Enable Google Ads conversion tracking with consent mode
This fixes two critical issues preventing Google Ads conversions from being tracked:
1. Removed wait_for_update parameter that was blocking all conversion pings
- Previously, gtag waited 500ms for consent updates then dropped all events
- Now sends cookieless conversion pings immediately when consent is denied
2. Re-initialize gtag config after consent is granted
- When users accept cookies, gtag('config') is now called to flush queued events
- This enables full conversion tracking with user data after consent
With these changes:
- WITHOUT consent: Anonymized conversion pings are sent for Google's conversion modeling
- WITH consent: Full conversion tracking with user data is enabled
Fixes the issue where window.gtag() executed but sent no network requests.
0 commit comments