Skip to content

default consent on page rendering after cookie banner accepted #78

@sachatrauwaen

Description

@sachatrauwaen

Hi,
After a work session with a Ads specialist and reading the google tag manager documention, there is a issue with the setDefaultConsentState in the template.

The setDefaultConsentState need to be called with values respecting regional laws.
So for EU most of permissions need to be denied.

And the user accepted permissions need to be set with updateConsentState.

And in gtm_template.tpl the setDefaultConsentState is called with the values comming from the cookies with are not the defaults respecting the region law.

This happen on the page rendering after the cookie banner is accepted and the banner is not shown enymore.

If you agree with this, i can make a pull request for it.

Regards,
Sacha

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