Fire a tag when div class is active

Avatar

Avatar
Validate 1
Level 2
yabagna_segreda
Level 2

Likes

3 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
yabagna_segreda
Level 2

Likes

3 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
yabagna_segreda
Level 2

08-12-2015

Hello I am trying to fire individual tags per section when the div class is equal to" active" . What I did was to create an event based rule that fires when it enter the view port, however the tag does fire, but it only fires once, I need the tag to fire every time the specific div has the active class, not only one time but all of the times.
Is there any way to do this on DTM ?

The page is not on production yet, so I can not share the link, but the page behaves exactly like this one : http://melanie-f.com/en/

 

I will really appreciate if someone can help on this one 🙂

regards,

Yabagna

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

08-12-2015

Hi Yabagna,

The problem you are facing from DTM is that you want to trigger events *not* by what the user does (clicks, hovers, etc), but rather by what your site is showing the user i.e  fire tags when particular div class is active.Hence, In the above scenario  Direct call based rule would be ideal to use instead of Event based rule.

Your Javascript / Jquery making the div class "Active" should make a call: something like _satellite.track('div_active_call ') and then In DTM, create a direct rule and for the condition put div_active_call in the String field and fill out the adobe analytics portion of the screen like you would with any other rule. Please refer the following link for more information on direct call based rules. https://marketing.adobe.com/resources/help/en_US/dtm/t_rules_direct_conditions.html.

Thanks & Regards

Parit Mittal

Answers (0)