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

Dynamic Element won't work for Element Tag or Selector

Avatar

Avatar
Validate 10
Level 2
Bsmith320
Level 2

Likes

11 likes

Total Posts

47 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 2
Bsmith320
Level 2

Likes

11 likes

Total Posts

47 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
Bsmith320
Level 2

01-06-2016

I am implementing event tracking in DTM for a new feature on our site. One of the features allows visitors to create list to add items to. The element I want to use to track the event is dynamic.  One element could look like "input#87234.mylists-single-option" and another one could like like "input#0235.mylists-single-option". How do I implement a dynamic element? I assume I will need custom code. What does the custom code look like?

 

Thank you,

Bill