Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

Track a modal when it is closed without ant event interaction

Avatar

Level 4

I have been tasked with tracking when a modal is closed without interacting with any of the two events. The modal has a login and registration buttons. The product manager wants to know how many visitors open the modal and then close it without clicking on either button. What is the best solution track that scenario?

Thank you,

Bill

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi Bill,

Is there an "X" to close the modal or do they simply click outside of it to exit (or are both options available)?  Without some sort of an action to capture (i.e., a click), it will may be difficult to measure.  You could enable pathing on the preceding action (i.e., capture the click that opens the modal and store in a s.prop), then capture any subsequent action such as a page view to tell you where they're navigating to after opening the modal.  That way even if you can't measure the specific action taken to close (or exit) the modal, you could at least see where they are (or are NOT) going next.

Hope this helps...

Randy

View solution in original post

2 Replies

Avatar

Correct answer by
Level 3

Hi Bill,

Is there an "X" to close the modal or do they simply click outside of it to exit (or are both options available)?  Without some sort of an action to capture (i.e., a click), it will may be difficult to measure.  You could enable pathing on the preceding action (i.e., capture the click that opens the modal and store in a s.prop), then capture any subsequent action such as a page view to tell you where they're navigating to after opening the modal.  That way even if you can't measure the specific action taken to close (or exit) the modal, you could at least see where they are (or are NOT) going next.

Hope this helps...

Randy

Avatar

Level 4

The "x" will work for the modal we want to track non usage.

Thanks,

Bill