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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit is happening now. Discover what's next in customer experience.
SOLVED

Fire Event Based rule when I select the options on the dropdown

Avatar

Level 2

Hi All,

I want to create an event based rule on selecting the dropdown option. Here is my dropdown code..

<select id="select_dropdown"><option value="tab-0">

<a class="list-item-link" style="color:#707070">First</a>

</option><option value="tab-1">

<a class="list-item-link" style="color:#707070">Second</a>

</option><option value="tab-2">

<a class="list-item-link" style="color:#707070">Third</a>

</option><option value="tab-3">

<a class="list-item-link" style="color:#707070">Four</a>

</option><option value="tab-4">

<a class="list-item-link" style="color:#707070">Five</a>

</option><option value="tab-5">

<a class="list-item-link" style="color:#707070">Six</a>

</option></select>

I want to fire each event for each selection

for example

I want to fire event 1 for First option, event 2 for Second Option, event 3 for Third Option, event 4 for Fourth option , event 5 for Fifth Option and event 6 for sixth option.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello,

Please check below links that might be help in your case.

Tracking drop-down using DTM

javascript - Adobe DTM Capturing Change of Select - Stack Overflow

Hope this helps.

Thanks,

Gokul

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hello,

Please check below links that might be help in your case.

Tracking drop-down using DTM

javascript - Adobe DTM Capturing Change of Select - Stack Overflow

Hope this helps.

Thanks,

Gokul