I received a request to implement tracking on a series of modals that will be launched on the search results and content pages of our main site. I need to capture the name of each modal window in the step-by-step process. The first modal is the login or registration. I also need to know how many visitors opened the login/registration modal, but did not take any action.
I will be able to capture the modal windows names using the h2 id. I know how to implement the interactions within the modal windows, but I don't know how to capture the modal name when the modal is activated.
The main site where the modals will be added was implemented using DTM. I use a data layer to capture the page names on the site. I don't think that I want to do the same for the modal names.
I need advice on how to tag the modal windows so that I can report access to each of the windows.
Thank you,
Bill