Introducing New DOM Events for Shopify Pixels
Shopify now supports a range of additional DOM events for app and custom pixels, making it easier for store owners to track user interactions.
What Are the New Events?
We've added support for the following DOM events:
- Input_changed: Detect when users modify input fields.
- Input_blurred: Track when input fields lose focus.
- Input_focused: Monitor when input fields gain focus.
- Form_submitted: Record when forms are submitted by users.
- Clicked: Capture user clicks on specific elements.
How to Use These New Events
You can subscribe to these events by creating a custom pixel on the Customer Events page in your Shopify admin. This allows deeper insights into how visitors interact with your store, enabling you to optimize user experience and engagement.
Learn More
For more details and step-by-step instructions on managing custom pixels, visit the Shopify Help Center.