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

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