Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consent settings being reverted when setting multiple regions (default command) #2

Open
agohorel opened this issue May 19, 2023 · 0 comments

Comments

@agohorel
Copy link

Hello, I'm seeing some unexpected behavior when using this template with multiple regions configured under the default command. What I'm trying to do is establish a default setting for the US region, and a global default anywhere else. To test this, I've configured the US rule to default everything to granted, and the region-less default to denied across the board.

Screenshot 2023-05-19 at 11 53 24 AM

My understanding is that the more specific region should override the less specific one. What I'm seeing in the consent tab of the GTM tag assistant is the values being overridden initially, but then they seem to revert back.

Initial consent call:
Screenshot 2023-05-19 at 11 55 25 AM

Second call:
Screenshot 2023-05-19 at 11 56 03 AM

At this point I would expect the newer (and more region-specific) consent settings to persist, however every subsequent event (until updates triggered by user interaction via the CMP) takes the values from the initial consent call:
Screenshot 2023-05-19 at 11 57 44 AM

For context, I am physically based in the US. I have also tried sanity checking by setting the non-US region to Australia, but I get the same undesired behavior.

Is there something about the way GTM preview mode works, with respect to regions, that would prevent consent mode from picking up the US value over the region-less one?

Any advice is greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant