Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Can ActivityMap track the drop down links?

Avatar

Level 1

Will the ActivityMap track the drop down links displayed within a field on a page.

For example: Language change options on the website, displayed on the right hand corner of the web page? Can ActivityMap track the links, within the list - like to see which option is clicked on most.,

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

just try it - it depends how the html looks like.

basically the "activity map" is looking for defined tags when the user clicks. if the dropdown is not matching one of the defined sitations, it will not record the data.

but you can overwrite the default function which is used by the activity map. basically you can add code to look for other DOM elements and capture the desired information.

Link tracking methodology

or you could create your own s.tl() calls on the "onclick" to trigger the activity map on the desired elements:

Use the s.tl() function

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

just try it - it depends how the html looks like.

basically the "activity map" is looking for defined tags when the user clicks. if the dropdown is not matching one of the defined sitations, it will not record the data.

but you can overwrite the default function which is used by the activity map. basically you can add code to look for other DOM elements and capture the desired information.

Link tracking methodology

or you could create your own s.tl() calls on the "onclick" to trigger the activity map on the desired elements:

Use the s.tl() function

Avatar

Level 1

What if few of the links have click overlays, while other links do not have overlays?

Angular js is used to display these links, what would be the reason for few appearing and few not?

Avatar

Community Advisor

either the link can't be registered (activity map can't track the link) or 2 links have the same region/linkId

try to inspect the missing links by clicking and watching activity map data. if data appears, it's a ID problem