E-commerce
October 30, 2026
Wondering which events to track to decode your customers' behavior? In a few lines, identify the actions that reveal your site's strengths and bottlenecks.
Essentials: five events, clicks on homepage promos, add-to-cart actions, add-to-cart errors, form failures, and searches with no results, provide a precise view of your purchase funnel.
These metrics are crucial for adjusting your campaigns, improving the user experience, and increasing your conversion rate without being overwhelmed by unnecessary data.
So, what are the 5 e-commerce events to track? Here is the agenda:
How to track clicks on homepage promotions?
How to measure add-to-cart actions from each page type?
How to detect unsuccessful add-to-cart attempts?
How to track errors during checkout, registration, or login?
How to analyze internal searches that yielded no results?
Let's go.
By following these metrics, you can not only identify friction points but also test new optimization hypotheses in real time, thanks to Qstomy's dynamic dashboards. This gives you a solid foundation to prioritize actions, measure the ROI of each improvement, and maximize customer lifetime value.
These metrics allow you to adjust your marketing strategies in real time and optimize every step of the customer journey.
Summary
How to track clicks on homepage promotions?
The homepage attracts most visitors, making it the best place to measure the effectiveness of your banners and special offers. By adding a custom 'Home Page' event with the action 'Main Promo Clickthrough', every click becomes trackable. You can then compare the number of clicks, revenue generated, and conversion rate for each promotion directly from the 'Content > Events > Top Events' report. This visibility helps you prioritize visuals that truly convert.
Qstomy Tip: associate each promotion with a product tag in your catalog so that tracking feeds real-time upsell recommendations.
Additionally, configure a trigger that captures the campaign UTM parameter to link each click to its acquisition channel. This gives you a clear view of the ROI for each promotion and helps you reallocate budget toward the highest-performing banners.
By following these tips, you maximize the return on every promotional banner.

Convert over 2,000 customers on average per month with Qstomy.
The world’s 1st Shopify AI dedicated to customer conversion



Empowering 200+ e-commerce merchants
How to measure add-to-cart actions from each page type?
Add-to-cart buttons are not always automatically recorded. By creating an event of the type '[Page Type]' with the action 'Add to Cart' and product label, you get a complete overview of add-to-cart actions by page (product page, quick view, category). The standard report shows usage frequency, top-selling items, and the associated conversion rate. You can even turn this event into a conversion goal to measure the share of traffic that actually moves to the next step.
For more details, consult our Google Analytics Guide: tracking, conversions, and e-commerce insights.
To further refine the analysis, add the 'product_category' parameter as a secondary dimension. You can then compare add-to-cart rates between seasonal categories and best-sellers, and adjust product placements on the homepage or collection pages.
Thus, you quickly identify the pages that generate the most add-to-cart actions.
How to detect unsuccessful add-to-cart attempts?
When a customer must choose a size, color, or quantity, they may click 'Add to Cart' before finalizing their selection. Capture this scenario with a 'Product Page' event, action 'Unsuccessful Add to Cart', and error label (e.g., 'Select a size'). The report shows which errors appear most frequently and on which pages, indicating friction points. A high ratio of unique events signals that multiple visitors encounter the same obstacle, justifying an interface improvement.
Integrate this data into Qstomy alerts to automatically adjust product recommendations.
Once these data points are collected, create an automated alert that notifies the product team as soon as the failure rate exceeds 5% on the same variant. This responsiveness allows for immediate correction of stock or size options.
This approach reduces abandonment and improves the product experience.
How to track errors during checkout, registration, or login?
Checkout, registration, and login forms are crucial. Every failed validation must be tagged with an event: 'Order Funnel', action 'Unsuccessful Place Order', error label; 'Registration Form', action 'Unsuccessful Registration'; 'Login Form', action 'Unsuccessful Login'. These events allow you to identify the most problematic fields (postal code, password, etc.) and measure their impact on conversion rates. By cross-referencing this data with traffic segments, you can decide where to invest in UX optimization.
Consultez How to improve the conversion rate of e-commerce sales? for best practices in form design.
Additionally, sync these events with your ticketing platform to create a ticket as soon as a recurring issue appears, thereby facilitating the prioritization of UX improvements.
Proactive monitoring prevents sales losses related to forms.
How to analyze internal searches that returned no results?
Search queries with no results are often a signal of an incomplete catalog or poorly chosen labels. By triggering an event 'Site Search', action 'No Results', label containing the query, you obtain a list of searched terms that were not satisfied. By adding a 'Conversion Follow-up' parameter, you can track whether the user subsequently finds a product via another path (navigation, promotion, etc.). This helps you enrich your offer or adjust search filters.
Utilisez Promo code not working: reduce tickets with visible conditions to turn these frictions into marketing opportunities.
Then analyze the no-result queries by device to see if the issue is more frequent on mobile, which may indicate an ergonomic or touch input problem.
Correcting these queries strengthens catalog relevance.
How to configure custom events in Google Analytics 4?
GA4 relies on the 'event_name' + parameters event model. Create a tag in Google Tag Manager, select 'Custom Event', enter the name (e.g., home_promo_click), and add parameters like 'promo_name', 'value'. Link the trigger to the button's onClick attribute. Verify in the 'Events' report that each event appears and that parameters are correctly populated. Once validated, enable Enhanced Ecommerce to link events to transactions.
The complete guide is found in Google Analytics Guide: tracking, conversions, and e-commerce insights.
Remember to validate data in the GA4 DebugView before going live; you will see each transmitted parameter in real-time, thus avoiding data loss.
A rigorous implementation ensures reliable data from launch.
How to transform event data into conversion goals?
In GA4, create a 'Conversion' from an existing event (e.g., add_to_cart). Go to the 'Conversions' tab, click 'New Event', and enter the exact event name. You can then segment conversions by source, device, or audience. This gives you an overview of the percentage of visitors who complete each key step and allows you to adjust your advertising campaigns based on progression points.
To link these conversions to your campaigns, use the link AI Chatbot for QR code journeys to automate retargeting of visitors who did not convert.
You can also assign a monetary value weight to each conversion to calculate the average revenue generated by each event type, refining your attribution models.
These conversions provide a clear view of advertising ROI.
How to segment visitors based on their interactions with events?
Custom audiences allow you to create segments based on events. For example, create a "Promo Clickers" audience that triggered the home_promo_click event at least twice, or "Cart Abandoners" who generated an "add_to_cart" without a "purchase". These segments are actionable in Google Ads, Facebook, and directly in Qstomy to offer targeted recommendations, promo codes, or email follow-ups.
Discover how to combine these segments with your CRM in e-commerce CRM and customer support.
These audiences can be exported via the BigQuery API to enrich your churn prediction models, or used in Qstomy's automated email campaigns.
These created audiences improve campaign personalization.
How to integrate event data into Qstomy to optimize recommendations?
Qstomy consumes GA4 events via the reporting API. Every click on a promotion, every cart addition, or every error feeds the recommendation engine. Thus, if a customer attempts to add an out-of-stock size, Qstomy can automatically suggest a similar in-stock product or offer a discount code. Similarly, search queries with no results trigger suggestions for complementary products, increasing conversion chances.
To enable this synchronization, go to the Qstomy dashboard > Integrations > Google Analytics and check the desired events.
The recommendation engine uses a similarity algorithm based on product attributes and the error context, ensuring suggestions remain relevant even in cases of unavailability.
The engine adjusts suggestions based on detected errors.
How to avoid common pitfalls in event tracking?
Do not duplicate events: a single click should not generate multiple records, or the conversion rate will be skewed. Also ensure the event label does not change from page to page (standardize names). Finally, test each tag in preview mode before publishing, and ensure sensitive parameters (SKU, price) are properly masked to comply with GDPR.
Regular audits with the "Event Validation" report prevent inconsistencies and maintain data quality.
Finally, document each event in a shared tracking table with marketing and dev teams to ensure clear governance and avoid future redundancies.
Following these rules ensures consistent and actionable analysis.
How does Qstomy use these metrics to improve package tracking and customer service?
Error events (add_to_cart, checkout funnel) are cross-referenced with order statuses in Qstomy. If a customer encountered an error before receiving their tracking number, the system automatically triggers a proactive tracking message and offers targeted assistance via chat. Additionally, clicks on promotions allow Qstomy to personalize post-purchase notifications (cross-sell, accessories) based on the customer's actual journey.
This approach reduces the customer service ticket rate and improves customer satisfaction.
Thanks to this integration, the first-contact resolution rate increases by 20% and post-purchase NPS improves, demonstrating the direct impact of granular event tracking on customer satisfaction.
The integration enhances satisfaction through proactive tracking.
What checklist before publishing your custom events?
In short
Verify the name and parameters of each event.
Test in preview mode (Tag Manager) on all relevant pages.
Ensure labels are consistent and translated.
Configure corresponding conversion goals in GA4.
Enable synchronization with Qstomy.
FAQ
Should I track every "Add to Cart" button? Yes, every page type (PDP, quick view, category) deserves its own event to compare performance.
Are search errors really useful? Absolutely: they reveal catalog gaps and opportunities for creating new products.
How to avoid over-tracking? Limit events to interactions that influence conversion or customer satisfaction.
To go further: E-commerce conversion rate in Google Analytics - Qstomy.
By strictly following this checklist, you ensure that every data point collected is actionable, reliable, and compliant with legal requirements, thereby maximizing the return on investment of your analytics stack.
Follow this checklist to ensure the quality of every event.

Enzo
October 30, 2026


