Fire A event Based Rule When a element Exists on the Dom. | Community
Skip to main content
March 22, 2016
Solved

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

  • March 22, 2016
  • 1 reply
  • 1331 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ParitMittal

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

1 reply

ParitMittal
ParitMittalAccepted solution
Level 10
March 23, 2016

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