This has now been resolved first by me reverse engineering the analytics API (pre-hydrogen) with the package https://github.com/sweet-side-of-sweden/react-shopify-analytics for https://www.sweetsideofsweden.com and then finally by Shopify themselves with hydrogen-react, see https://shopify.dev/docs/api/hydrogen-react/2023-04/unstable/utilities/sendshopifyanalytics
I’d recommend going with hydrogen-react unless you really want to avoid the additional utilities and components that hydrogen-react comes with ![]()