Menu
Feedback
Start here


Known issues
view_cart event is intermittently triggered twice when adding items to the minicart
ID: 1265581
Backlog
Published on 8/8/2025
Last update on 8/8/2025

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
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 support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback