Shopify Consent API?

I noticed the app has been update with consent API from Shopify?

I was wondering if this state needs to be true, or if a null state is acceptable? does it get the actual values of window.Shopify.customerPrivacy.currentVisitorConsent(); or does it use each of these?

window.Shopify.customerPrivacy.preferencesProcessingAllowed();
window.Shopify.customerPrivacy.analyticsProcessingAllowed();
window.Shopify.customerPrivacy.marketingAllowed();
window.Shopify.customerPrivacy.saleOfDataAllowed();

Also was wondering if enabled then sends across the consent state to data-client/GA4, and how are these mapped to in consent v2?

    "analytics":    true | false, // mapped to analytics_storage
    "marketing":    true | false, // mapped to ad_storage & ad_user_data & ad_personalization
    "preferences":  true | false // mapped to functionality_storage & personalization_storage

or do we need to map these ourselves? and if so how do we do that with the standard shopify stape integration?

This function simply blocks the container from loading until all three consent categories have been Granted.
As it says in the checkbox description - this is not a recommended configuration option, as no consent state is passed, it just blocks the container from loading.
This is only necessary if full consent configuration is impossible or often too complicated for some users.

I see, we are also triggering the customer privacy api and then also sendi by consent from Shopify privacy api to google pixel.

So this looks like ti would be workable.