1.1.0 • Published 2 years ago

react-shopify-analytics v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-shopify-analytics

License npm Contributors

Shopify Analytics for headless e-commerce sites. Built for Candy by Sweden with ❤️.

Why use react-shopify-analytics?

  • Stupidly simple (Pretty much just toLocaleString).
  • Written in TypeScript.
  • Actively maintained.
  • Open Source with an actually free license (MIT).
  • 0/ZERO/NADA/NOLL dependencies.

Getting started

It's as simple as 1-2-3!

1. Install

npm i react-shopify-analytics

2. Import

import { ShopifyAnalyticsProvider } from 'react-shopify-analytics';

3. Use

<ShopifyAnalyticsProvider
    shopId={123456789} // Required
    sessionId="session_token" // Required
    userId="user_token" // Required
    route="/products/hello-world" // Required
/>
1.1.0

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago