Rules do not fire

Avatar

Avatar
Validate 100
Employee
Community_Admin
Employee

Likes

47 likes

Total Posts

269 posts

Correct reply

118 solutions
Top badges earned
Validate 100
Validate 50
Validate 25
Validate 10
Validate 1
View profile

Avatar
Validate 100
Employee
Community_Admin
Employee

Likes

47 likes

Total Posts

269 posts

Correct reply

118 solutions
Top badges earned
Validate 100
Validate 50
Validate 25
Validate 10
Validate 1
View profile
Community_Admin
Employee

15-10-2015

My rules in DTM are currently not firing. What are some things that I can check?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 100
Employee
Community_Admin
Employee

Likes

47 likes

Total Posts

269 posts

Correct reply

118 solutions
Top badges earned
Validate 100
Validate 50
Validate 25
Validate 10
Validate 1
View profile

Avatar
Validate 100
Employee
Community_Admin
Employee

Likes

47 likes

Total Posts

269 posts

Correct reply

118 solutions
Top badges earned
Validate 100
Validate 50
Validate 25
Validate 10
Validate 1
View profile
Community_Admin
Employee

15-10-2015

If your event-based rule does not fire, then there is likely an issue with the selector / condition of the rule. Locate the element on your site where the desired event action occurs, right click and select Inspect element. Inspect the highlighted script in the box that opens and ensure you are targeting the correct element. Example:

Target element: <div class=’pauseButton’ style=’opacity: 1’>

Selector Syntax:

  • CSS Selector Syntax: div.pauseButton OR div[class=’pauseButton’]
  • Manually assign attributes:
    • Element Tag: div
    • Property: class
    • Value: pauseButton

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
andrewgats
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
andrewgats
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
andrewgats
Level 2

15-10-2015

If you are comfortable with using the javascript debugging tool within a browser, I recommend using the DTM's debug logging.  More complete information is available in the DTM Object Reference.

But, you can execute the comment 

_satellite.setDebug(true);

This will turn on the logging in your console.  These logs will tell you all the rules and events that DTM executed and captured.

[img]dtm-debug.png[/img]