Expand my Community achievements bar.

SOLVED

Drop Down Tracking Rule in DTM

Avatar

Level 1

I want to track the clicks on list item appearing in the drop down as well as want to populate the option that is being clicked

1.    I am picking the class through TAG selector but its not working.

1494631_pastedImage_0.png

Please suggest !

1 Accepted Solution

Avatar

Correct answer by
Level 2

Drop downs are harder to track than other elements. I have run into issues with different browsers and such when wanting to do anything beyond the very basic.  I think you will either have to post the code snippet for your drop down or will need to link to it here and show us what drop down you want tracked and maybe we can offer support that way.

View solution in original post

3 Replies

Avatar

Level 3

I guess you need to write custom code using if/else or switch/case statement in code editor.

Avatar

Correct answer by
Level 2

Drop downs are harder to track than other elements. I have run into issues with different browsers and such when wanting to do anything beyond the very basic.  I think you will either have to post the code snippet for your drop down or will need to link to it here and show us what drop down you want tracked and maybe we can offer support that way.