@nuskin/product-components 3.20.0-mdigi-7127.1 → 3.20.0-mdigi-7127.2

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.
@@ -46,7 +46,7 @@
46
46
 
47
47
  <script>
48
48
  import { NsExpressiveLink, NsIcon, NsSpinner } from "@nuskin/design-components";
49
- import { StringService, RunConfigService } from "@nuskin/ns-util";
49
+ import { StringService, RunConfigService, events } from "@nuskin/ns-util";
50
50
  import { fromJsonString } from "@nuskin/ns-common-lib";
51
51
  import { CurrencyService } from "@nuskin/ns-shop";
52
52
 
@@ -175,13 +175,11 @@ export default {
175
175
  await this.setCommonStrings();
176
176
  const runConfig = RunConfigService.getRunConfig();
177
177
  this.currencyCode = CurrencyService.getCurrency(runConfig.country).currencyCode;
178
- if (window.dataLayer) {
179
- window.dataLayer.push({
180
- event: 'pageView',
181
- pageType: 'Listing',
182
- currency: this.currencyCode
183
- });
184
- }
178
+ events.publish(events.shop.PAGE_VIEW, {
179
+ event: 'pageView',
180
+ pageType: 'category',
181
+ currency: this.currencyCode
182
+ });
185
183
  },
186
184
  methods: {
187
185
  handleProductUpdate(product) {
package/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- # [3.20.0-mdigi-7127.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.19.1...v3.20.0-mdigi-7127.1) (2025-12-30)
1
+ # [3.20.0-mdigi-7127.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.20.0-mdigi-7127.1...v3.20.0-mdigi-7127.2) (2026-01-02)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.20.0-mdigi-7127.1",
3
+ "version": "3.20.0-mdigi-7127.2",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {