Menu
Feedback
Known issues
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

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 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