Skip to content

Bing UET consent mode #709

Description

@joachimhviid

🆒 Your use case

Bing UET supports advanced consent mode (similar to Google Analytics) where default consent can be set before the script is loaded. If consent is denied, it will only send anonymous data. Documentation can be found here: https://help.ads.microsoft.com/?FromAdsEmail=1#apex/ads/en/60119/1-500

🆕 The solution you'd like

The Google Analytics script has a onBeforeGtagStart option where default consent can be set. Perhaps something similar can be implemented for Bing UET.
Additionally, the type for uetq.push(...) does not support the syntax for setting consent as it only has 1 argument, while the consent event requires 3.

script.proxy.uetq.push('consent','default',{ad_storage: 'denied',})

🔍 Alternatives you've considered

Alternative solution would be to use useScript and implement it manually.

ℹ️ Additional info

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions