Missing items in session storage

Hey all, we are seeing some strange issues with our web pixel.

We have a separate tag that we have clients add to their store through their theme, and we also have a Shopify web pixel using the extension API.

Our tag will save some values to session storage using the native browser API, and the web pixel will read those same session storage values using the extensions API.

The problem we’re seeing is around 30% of users don’t have the values saved to session storage. As in, it’s missing from session storage altogether. We don’t think this is a consent issue because every user we’re seeing encounter this problem has consented.

There isn’t really any good indication what could be happening here. Reaching out here if anyone has experienced a similar issue or if anyone has any ideas. Your help would be amazing!