Menu
Feedback
Start here

Known issues

Known issues
view_cart event is intermittently triggered twice when adding items to the minicart
Store Framework
ID: 1265581
Backlog
Published on8/8/2025
Last updated on8/8/2025
1 min read

Summary

When adding items to the cart, the view_cart analytics event is intermittently triggered twice. This unexpected behavior leads to duplicate event entries, which can cause inaccuracies in data analysis and reporting.

Simulation

  1. Add a product to the minicart;
  2. Check your dataLayer, sometimes you will see two events of view_cart after the add_to_cart

Workaround

N/A

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback