-
Task
-
Resolution: Unresolved
-
Should have
-
None
-
Analytics
Summary
When the dataLayer is first pushed and the consent defaults are set, the url_passthrough currently defaults to "true". The NROs have no way to change this (they are able to set the defaults for default consent for ad storage, analytics storage, etc, but not the url_passthrough). This is causing issues due to added query parameters in the url for NROs that do not rely on the url_passthrough function.
window.dataLayer = window.dataLayer || []; function gtag() { window.dataLayer.push(arguments); } gtag('consent', 'default', { analytics_storage: 'denied', ad_storage: 'denied', ad_user_data: 'denied', ad_personalization: 'denied' }); gtag('set', 'url_passthrough', true); gtag('set', 'ads_data_redaction', true);
Requirements
- Create setting under Planet 4 > Cookies for NROs to choose to set the url_passthrough default to true or false
- The default setting for this should be true unless the NRO changes it to false