DTM -Set load order of rules
We are facing some issue regarding the page load rules.
Below are the steps we followed:
. We created 2 page load rules, and set them to Trigger at "Top of page".
. In one rule we added "Sequential Javascript" and in the other we added "Non sequential Javascript".
As per DTM documentation, the expectation was "Sequential Javascript" code should have always executed before the "Non sequential javascript".
However, this is showing random behavior, sometimes the sequential javascript rule gets executed before the non-sequential javascript rule; and sometimes the non-sequential javascript rule executes first.
What we want to achieve here is to always execute a "Rule 1" first before another "Rule 2". We are creating these rules to trigger at "Top of page".
Even if we create both the rules with "Non-sequential javascript", is there any way we can set the order of the rules so that one rule always fires before the other rule.
In other words, in what order does DTM will execute 2 rules to be triggered at "Top of Page".