Yes; We use the Shopify Privacy Consent API (aka cookie banner) to see whether or not we assign a userToken. If a customer has consented to using cookies, their userToken will persist during their session.
If users deny the cookie consent, then an anonymous userToken is assigned and will change with every refresh or page change. So we do still send events but they cannot be traced back to a specific user.