-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Hello,
I've been working on integrating Shopify analytics into Next.js applications and have developed a solution that might benefit the community.
I noticed there isn't currently a robust solution for this, and many developers seem to be looking for guidance in this area. This gap often makes us choose Remix over Next.js for integrating with Shopify.
To help address this gap, I've prepared a step-by-step guide https://karvedigital.com/insights/integrating-shopify-analytics-into-your-next-js-custom-storefront and a working example, which is currently hosted in my fork of the repository. https://github.com/oybek-daniyarov/vercel-commerce-with-shopify-analytics
Live example https://vercel-commerce-with-shopify-analytics.vercel.app/
Loom video https://www.loom.com/share/0e4d68c038ee4d989ea00ecf381a2a67?sid=e05a18a9-729f-4414-8a32-74cf95010356
I'm reaching out to ask if you would be interested in this contribution. If so, would it be acceptable for me to create a new branch and open a pull request for this implementation? I understand the example depends on @shopify/hydrogen-react
, and I'm open to any adjustments or discussions on how to best integrate this solution into the main repository.