Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Drop Down Tracking Rule in DTM

nikhils52878023
Level 1
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
jcase16
Correct answer by
Level 2
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
mridulgupta
Level 2
Level 2

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

jcase16
Correct answer by
Level 2
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