Expand my Community achievements bar.

SOLVED

Fire A event Based Rule When a element Exists on the Dom.

Avatar

Level 1

Hi,

I am Adding a Div with a class dynamically,  I want to fire a Event Based Rule when this div Exists On the Dom is it possible to do it?

Regards

Chinmay Hegde

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Chinmay, 

It is definitely possible in DTM to fire the event based rule when an element exits i.e. div or any other Html element. 

To use this functionality, while creating event based rule under the conditions tab ,  For Event Type  - Select Element exists from the dropdown and then you can proceed forward to specify the tag selector.  

Please see the following link for more information on Event based rule conditions.

https://marketing.adobe.com/resources/help/en_US/dtm/event_types.html

Thanks & Regards

Parit Mittal

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi Chinmay, 

It is definitely possible in DTM to fire the event based rule when an element exits i.e. div or any other Html element. 

To use this functionality, while creating event based rule under the conditions tab ,  For Event Type  - Select Element exists from the dropdown and then you can proceed forward to specify the tag selector.  

Please see the following link for more information on Event based rule conditions.

https://marketing.adobe.com/resources/help/en_US/dtm/event_types.html

Thanks & Regards

Parit Mittal