Troubleshooting - Why is my page load rule firing incorrectly?
If your page load rule is not firing incorrectly, you may end up facing one or more of the following problems:
- Rule not getting triggered at the desired condition (issues with your rule conditions)
- Multiple server calls or alternatively, no server calls
- Data elements values not being called.
In order to troubleshoot your page load rules, you can try following the steps listed below:
- Load your page and in console window and type “_satellite.setDebug(true);” to turn on the debugger.
- Reload the page and check for the rules fired on that particular page.
- Check for your specific page load rule applied on that page.
- If your page load rule has a condition defined but is still it is not firing in that case you need to check the condition of that page load rule.
- Sometimes, with regards to rule conditions, data may not be passed if the rule is fired at the top of the page as it requires some time. In that case, change your condition to make the rule fire at the bottom of the page.
- Problems related to Page Load Rule can be caused due to incorrect Regex usage in which case would need to check for these conditions.
- If your rule condition has a Data Element to match the value, the data element may not be being captured correctly in which case it is first a good idea to check if the value is being captured in the first place
(data elements can be called using the %<data_element_name%).