What's your biggest current challenge? Have your say in Community Polls along the right column.

Checkout Extensibility Cookie Access + Consent Banner

Checkout Extensibility Cookie Access + Consent Banner

Analytics7
Visitor
1 0 1

Hello,

We are currently installing the OneTrust app in the Shopify website and have encountered an issue with the Checkout Extensibility pixel. The GTM container is unable to access the _tracking_consent cookie value in real-time. So when a consent preference is updated via the consent banner by user and the browser cookie is updated accordingly, GTM continues to read the previous (outdated) cookie value.

This delay appears to be caused by the sandboxed nature of the Checkout Extensibility environment. Could you advise on any workarounds or solutions to address this issue?
Please note that the GTM logs the cookie value in the Custom Pixel context in the dev tool so when switching to the Top context I see the cookie is captured as expected.

OT test.png

Thank you in advance.

Replies 0 (0)