Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi there,
We operate Shopify Plus shops with the setting "Limit tracking for customers in Europe" activated, various cookies are set as session cookies (_y, _shopify_y, _shopify_s, _shopify_sa_p, _shopify_sa_t, _landing_page, _orig_referer, _s).
We implemented our own consent layer via Google Tag Manager which triggers the Shopify Consent Tracking API in case of an opt-in so that we benefit from better metrics for all users who made an opt-in (same behavior as "Limit tracking for customers in Europe" would be inactive for them).
We already see that the next page view converts the mentioned cookies into persistent cookies.
The issue is that this only happens with the next page view; instead we are looking for a way that immediately converts these cookies after the opt-in happened (on the same page), ideally with the response of that respective Shopify Consent Tracking API. How can this be achieved? We could update the cookies via JavaScript but this doesn't feel right and volatile as Shopify might change cookie names, expiration times, etc.
Best
André
The Shopify API actually behaves as desired - it updates the respective cookies instantly.
User | RANK |
---|---|
6 | |
4 | |
4 | |
4 | |
3 |