Add Modal Close Tracking Support
Problem Statement
Currently, there is no reliable way to track when users close a Pelcro modal, making it difficult to measure user interactions and modal abandonment.
User Story
As an integrator, I want a reliable way to detect when a Pelcro modal is closed so that I can accurately track user behavior and trigger custom analytics.
Definition of Done (DoD)
Add a unique ID to the modal close button to support client-side tracking.
Emit a
pelcroModalClosedSDK event whenever a Pelcro modal is closed.Ensure the event is fired regardless of whether the modal is closed via the close button, Escape key, or clicking outside the modal (where applicable).
Document the new ID and SDK event for developers.
Verify the event is emitted consistently across all Pelcro modals.
Status: Available
Log in to comment and vote
No comments yet
Be the first to share your thoughts.