Recently we have noticed that default cookies for Shopify Analytics are being set on every page load from the request call with the CartJS AJAX API. For more information as to which cookies are set exactly, you can check the screenshot below:
Particularly here, in our case, this is an issue since we are developing an app for GDPR compliance, which is blocking the cookies that are for Shopify Analytics if the customer has refused them. However with these cookies being set on every page load, it is an issue since we are blocking the cookies once, and after this, they are being set again via the request headers of the cart.js.
Does anyone have more information in regard to this and why these cookies are set on every XHR request? Also, is there any way to configure or stop the cookies from being set?