Consent in Shopify checkout?

Hi, We are using cookiebot for consent, but i am not sure if it works in Shopify’s checkout enviroment because of the sandbox?

I noticed the x-ga-gcs parameter in the event data is not even there on events happening in the sandbox.

Am i missing something? or anyone can explain it perhaps.

This works fine if Cookiebot is installed from GTM. This way consent will be loaded in sandbox on the checkout pages and its state will also be known.

ahh i see. The client has hardcoded it.. thats why then - that makes sense.

So bascially i should just do it throught GTM then