shopkit-analytics 1.0.14 → 1.0.15

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.
@@ -2264,7 +2264,7 @@ var ShopifyAdapter = class extends BaseAdapter {
2264
2264
  return {
2265
2265
  ...(0, import_hydrogen_react.getClientBrowserParameters)(),
2266
2266
  ...consent,
2267
- storefrontId: this.domain,
2267
+ storefrontId: this.shopId,
2268
2268
  shopifySalesChannel: import_hydrogen_react.ShopifySalesChannel.headless,
2269
2269
  shopId: `gid://shopify/Shop/${this.shopId}`,
2270
2270
  currency: this.currency,
@@ -2294,6 +2294,7 @@ var ShopifyAdapter = class extends BaseAdapter {
2294
2294
  const enhancedEvent = this.enhanceWithExperimentParams(affiliateParams);
2295
2295
  try {
2296
2296
  switch (event.type) {
2297
+ case "shopify_page_view" /* SHOPIFY_PAGE_VIEW */:
2297
2298
  case "page_view" /* PAGE_VIEW */:
2298
2299
  const pageViewPayload = this.mergeEventData(enhancedEvent, params);
2299
2300
  this.sendPageView(import_hydrogen_react.AnalyticsEventName.PAGE_VIEW, pageViewPayload);