We want to integrate our Cookie Banner with your Customer Privacy API. We use Shopifys Google Analytics and Facebook Pixel integration.
It seems, that both cookies are blocked, when enabling "Limit tracking for customers in Europe" (as expected). But now we need a way to only give consent to use Google Analytics OR Facebook Pixel, because the first is categorized as "Analytics" cookie by us and the second as "Marketing" cookie. And if our users only allow "Analytics" cookie we don't want to give Shopify the consent to enable Facebook Pixel.
But it turns out that when we call "setTrackingConsent" with "true" both Google Analytics and Facebook Pixel are activated.