[BUG] Analytics client aggregating previous event's payloads
Describe the bug Analytics event on the client seem to be aggregating previous event's payloads. For example:
- After adding a cart line
- Updating a cart line
- Removing a cart line
The next analytics event (remove cart line event) have all three payloads

Expected behaviour Only payload for that specific event should be received.
- Hydrogen version: 1.3.2
cc @wizardlyhel
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.
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.