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

SOLVED

Tracking drop-down using DTM

rituk49412512
Level 1
Level 1

How we can track drop downs using DTM. I have been searching for it, but not able to find.Please suggest

1 Accepted Solution
Kaushalendra
Correct answer by
Employee
Employee

Hi @rituk49412512,

As per my understanding either you want to track when the users click on a dropdown or just the values present in the dropdown.

In case you want to track click on dropdown you can create an Event Based rule which will trigger on click event for the dropdown.

In case you want to track items in the dropdown you need to populate a ListVar by populating the values in dropdown to a Data Element and then using that Data Element to populate the list var with a statement as follows:

s.listVar1 = _satellite.getVar("Name of Data Element");

View solution in original post

1 Reply
Kaushalendra
Correct answer by
Employee
Employee

Hi @rituk49412512,

As per my understanding either you want to track when the users click on a dropdown or just the values present in the dropdown.

In case you want to track click on dropdown you can create an Event Based rule which will trigger on click event for the dropdown.

In case you want to track items in the dropdown you need to populate a ListVar by populating the values in dropdown to a Data Element and then using that Data Element to populate the list var with a statement as follows:

s.listVar1 = _satellite.getVar("Name of Data Element");

View solution in original post