Shopify Pixel Changes

Shopify has been changing the way to implement pixel tracking. The new way runs in a sandbox iframe environment which means the domain_userid is not the same one as when Snowplow is loaded in the theme code.

Shopify has a user id cookie called _shopify_y that they track for up to year and is consistent inside and outside the iframe. Would it be better to use setUserId or setDomainUserId with their cookie? We don’t currently make use of setUserId because we don’t require log in.

My thinking is overriding the domain_userid would have the short term drawbacks of resetting all IDs but would allow us to use setUserId if we ever start requiring emails. Their cookie is not permanent so doesn’t sound ideal for user_id. I don’t really want to reset all IDs unless there is a good reason. Anyone have experience with this Shopify change yet?

Thank you!