Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of Shopify analytics #1317

Open
oybek-daniyarov opened this issue Apr 1, 2024 · 1 comment
Open

Implementation of Shopify analytics #1317

oybek-daniyarov opened this issue Apr 1, 2024 · 1 comment

Comments

@oybek-daniyarov
Copy link

oybek-daniyarov commented Apr 1, 2024

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.

@leerob
Copy link
Member

leerob commented Apr 1, 2024

This is awesome! Yeah, we'd love this contribution. Could you also share photos of the Shopify analytics in the dashboard working after this change? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants