@viu/emporix-sdk-react 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @viu/emporix-sdk-react
2
2
 
3
+ ## 2.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#90](https://github.com/viuteam/emporix-sdk/pull/90) [`3db7978`](https://github.com/viuteam/emporix-sdk/commit/3db79789f90ed8e5134fde809fe689375f03cfa4) Thanks [@amnael1](https://github.com/amnael1)! - Document analytics integration (Google Tag Manager / GA4 ecommerce) via the
8
+ telemetry channel. Adds `docs/analytics.md` — the `dataLayer` bridge, the GA4
9
+ ecommerce event mapping, a `useTrackedCart` wrapper, and SSR + consent notes —
10
+ plus an "Analytics & tracking" pointer in the package README. Docs-only; no API
11
+ changes.
12
+
3
13
  ## 2.5.0
4
14
 
5
15
  ### Minor Changes
package/README.md CHANGED
@@ -82,6 +82,13 @@ call (default: `customer` if a token is stored, else `anonymous`).
82
82
  `prefetchProduct` / `prefetchCart` for server-side hydration. See
83
83
  [`../../docs/react.md`](../../docs/react.md).
84
84
 
85
+ ## Analytics & tracking
86
+
87
+ A typed, no-op-by-default telemetry channel (`onTelemetry` + `useEmporixTelemetry`)
88
+ feeds any analytics sink. For Google Tag Manager / GA4 ecommerce — the `dataLayer`
89
+ bridge, GA4 event mapping, a `useTrackedCart` wrapper, SSR + consent — see
90
+ [`../../docs/analytics.md`](../../docs/analytics.md).
91
+
85
92
  ## Subpath exports
86
93
 
87
94
  `.`, `./provider`, `./hooks`, `./storage`, `./ssr`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viu/emporix-sdk-react",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "React bindings for the Emporix SDK",
5
5
  "license": "MIT",
6
6
  "author": {