My rule is firing inconsistently, why?
Viimati uuendatud May 20, 2021 04:06:23 AM GMT
There are two likely scenarios when a rule is firing inconsistently - consider the following question - Does the event action incite a link to load?
- Yes: It is possible the rule did not have enough time to fire before the new page loads. Try checking the box within the rule identifier indicating ‘Delay link activation’. A delay keeps the activated link from loading until the rule has fired.
Note: This setting is only effective on actual link, or anchor tags. The setting has no effect on non-traditional attribute types like 'buttons' for example.
- No: If the event doesn’t incite a new page load, then an issue with bubbling. Check if the event action can occur on a child / parent item by inspecting the element on the page. Hover over various parts to see what elements are included. If it appears the action could occur on a child / parent element, ensure the button indicating ‘Allow events on child elements to bubble’ within the rule is checked. This setting ensures the rule fires if the user interacts with the child / parent element.