Documentation
Feedback
Guides
Storefront Development

Storefront Development
Store FrameworkDealing with events
Dealing with events

Learn how to manage user and system-generated events in your VTEX store.

Events are actions or notifications that trigger specific responses. They provide insights into customer behavior and allow you to create dynamic shopping experiences.

Events can be triggered by user actions in the storefront (e.g., adding an item to the cart) or automatically generated by a system. On VTEX, every event is broadcast to the cloud, where VTEX IO apps can capture and respond to them accordingly. Responses can range from behind-the-scenes actions, such as sending a confirmation email, to visible changes in the storefront, such as displaying a promotional popup or updating the cart.

Moreover, events integrate with analytics tools and third-party apps. Tracking events, such as page views, product impressions, or cart updates, provides metrics on customer behavior, helping businesses make data-driven decisions and optimize store performance. Learn more in the Analytics guide.

In this section, you will learn how to handle your store events.

Before you begin

Develop your Store Theme

Make sure your store has a Store Theme developed following the Getting Started tutorial.

Check the builders

Check if the builders are properly installed in your Store Theme. To use builders, your account must have at least version vtex.builder-hub@0.293.4 installed. Also, you need to specify them in the app's manifest.json file. Learn more in Builders.

Make sure the store builder is configured, as it enables the development of Store Framework storefronts.

Customize your storefront

Customize your store theme based on your business needs by following the guides within the Store Framework section, such as the guides Building pages and Using components.

Learn about VTEX IO apps

Familiarize yourself with VTEX IO apps, including how to build custom solutions, such as Pixel apps and Service.

Guides in this section

Collecting user session data
Track and configure session data to enhance user interactions.
Cleaning cart data on log out
Clear the cart when a user logs out of your VTEX store.
Improving filter navigation experience
Enhance the filter navigation in your VTEX store by implementing event-driven updates.
Using events to trigger side effects on store components
Explore how to use Pixel events to trigger automatic UI changes based on user actions.
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