Is it possible show consent again when have some new cookies are added ?

Rookie Contributor

When a new cookie is added and doesn't fall under any existing category, then the player will be asked to provide consent again.

 

1 REPLY 1

Is it possible show consent again when have some new cookies are added ?

Tealium Expert
Tealium Expert

Hi @leonlee 

If i understood you correctly the use case is

Given a user has already granted consent
and the cookie is set

When a new tag tech is deployed
and does not belong to an existing category

Then the user should be shown the consent manager to allow them to opt-in to the new category and review their consent preferences. 

In order to acheive this you can use a custom js extension to check if the consent for the new category has been given. If it has not been granted you can use the following method to call the consent manager. 

utag.gdpr.showConsentPreferences()

You will also need to alter the behaviour of the consent manager save button to drop an additional cookie or local storage to flag that the user has responsded, so that it does not show up each time if the user opted out. 

i would also run this for a short period of time only, depending on your traffic stats. 

Hope that helps

Research your Experience | Improve and Evolve | Leave no one behind
- Don't forget to mark a solution as accepted if it hits the mark -