Advert consent

Overview

The advertConsent parameter in the BeyondWords Player allows you to reflect the level of consent provided by the users of your website concerning personalized ads.

These guidelines describe how to use this parameter and ensure that user consent aligns with the type of ads shown when serving programmatic ads.

The advertConsent parameter applies only to adverts of the type vast.

personalized

Personalized ads, tailored based on user data, will be served. This adds npa=0 to the VAST tag URL.

non-personalized

Personalized ads are switched off, and generic ads will be served. This adds npa=1 to the VAST tag URL.

under-the-age-of-consent

Disables many forms of tracking, ensuring compliance with regulations like COPPA and GDPR where stricter data processing rules apply for users below the age of consent. This adds tfua=1 to the VAST tag URL.

Example

This is an example of the player embed script with personazlied ads enabled.

<script async defer src="https://proxy.beyondwords.io/npm/@beyondwords/player@latest/dist/umd.js"
    onload="new BeyondWords.Player({
        target: this,
        projectId: <ID>,
        contentId: '<ID>',
        advertConsent: 'personalized'
    })">
</script>

For WordPress you can update the consent using the beyondwords_player_sdk_paramsfilter.

Last updated