Craft theme checkout active but active carts stays at 0 due to cart token mismatch

My Craft theme is facing a serious tracking issue where the Shopify Live view shows visitors reaching the checkout page, but the active carts count remains at 0. Shopify support’s technical summary confirmed that the tracking pixels are working, but there is a cart token mismatch, meaning the data handshake between the cart and checkout is being interrupted.

I discovered a clear-site-data header in the browser console during cart/add that forces the cache to clear. This happens even though I have disabled the cookie banner and third-party apps. Support suggested this could be related to recent Chrome 131 privacy updates or changes to the privacy API for the Japan market. Does anyone know if this is a bug in the Craft theme’s JavaScript or how to fix this token handover so my Google Ads can receive proper learning data?

Thanks for the insight, Ralph2! I’m mainly looking for a theme-level adjustment to preserve the token. Since I’m about to launch my Google Ads, having a solid data foundation is my priority. Could you guide me on which part of the Craft theme’s JS I should check or modify to prevent the token from being cleared?