hydrogen icon indicating copy to clipboard operation
hydrogen copied to clipboard

[BUG] Analytics client aggregating previous event's payloads

Open lordofthecactus opened this issue 3 years ago • 1 comments

Describe the bug Analytics event on the client seem to be aggregating previous event's payloads. For example:

  1. After adding a cart line
  2. Updating a cart line
  3. Removing a cart line

The next analytics event (remove cart line event) have all three payloads image

Expected behaviour Only payload for that specific event should be received.

  • Hydrogen version: 1.3.2

lordofthecactus avatar Sep 16 '22 10:09 lordofthecactus

cc @wizardlyhel

lordofthecactus avatar Sep 30 '22 09:09 lordofthecactus

We detected some changes in packages/*/package.json or packages/*/src, and there are no updates in the .changeset. If the changes are user-facing and should cause a version bump, run npm run changeset add to track your changes and include them in the next release CHANGELOG. If you are making simple updates to examples or documentation, you do not need to add a changeset.

github-actions[bot] avatar May 24 '24 05:05 github-actions[bot]

Oxygen deployed a preview of your fd-remove-cli-plugin-dep-starter branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
vite ✅ Successful (Logs) Preview deployment Inspect deployment June 6, 2024 5:07 AM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment June 6, 2024 5:07 AM
subscriptions ✅ Successful (Logs) Preview deployment Inspect deployment June 6, 2024 5:07 AM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment June 6, 2024 5:07 AM
optimistic-cart-ui ✅ Successful (Logs) Preview deployment Inspect deployment June 6, 2024 5:07 AM
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment June 6, 2024 5:07 AM

Learn more about Hydrogen's GitHub integration.

shopify[bot] avatar May 24 '24 05:05 shopify[bot]