Analytics Academy
2.2K members online now
2.2K members online now
Guide Me
star_border
Reply

Issue with triggering event on drop down selection in chrome

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I need to trigger an event when the user selects an option in a drop down. I'm using the {{Click Element}} variable for this.

Selecting an element in a drop down involves 2 clicks - select the drop down arrow, and then select the option.

In Chrome, the value of {{Click Element}} is "HTMLSelect" for both these clicks, whereas in other browsers, it is "HTMLSelect" for the first click and "HTMLOption" for the 2nd click.

 

Has anyone done this before ? Is this a known bug ?

 

Thanks,

 

Anjali

 

Issue with triggering event on drop down selection in chrome

Participant ✭ ✭ ☆
# 2
Participant ✭ ✭ ☆

Hi Anijali,

 

It is better if you trigger your event on value change of the drop down.

 

Regards,

Güney