view_cart event is triggered more than once on Faststore
FastStore
•
ID: 1163447
Fixed
Published on10/16/2025
•
Last updated on10/16/2025
1 min read
Summary
When you open the mini cart on Faststore the view_cart event is triggered more than once.
The problem is probably related to this code line.
Simulation
- Use the parameter
gtm_debug=true - Try opening the minicart
- See the event view_cart being triggered more than once on dataLayer
You can test it on our default store https://starter.vtex.app/
Workaround
N/A