Development discussions around Shopify APIs
How to set the tracking consent on the subdomain, not on the domain itself.
Example:
Let's say we have the following 4 subdomains, If we give the consent on it.domain.com, the cookies are correctly released on that subdomain. However, the cookies are released on the en.domain.com subdomain. So my question is: is it possible to limit the tracking consent on the subdomain not on the entire domain (domain.com)?
Subdomain:
it.domain.com
en.domain.com
fr.domain.com
de.domain.com
JS command:
window.Shopify.customerPrivacy.setTrackingConsent(true, function () {})
Hey @MoustafaG
Thanks for raising this! I don't see a way that the Customer Privacy API can be configurable in this way natively for specific sub domains on Shopify at present.
It will definitely be something I've made our internal teams aware of though!
User | RANK |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023