Timeout Errors in Action Blocks Causing Missing Web SDK Beacons
Hi everyone,
We recently migrated to Adobe Analytics Web SDK implementation and have been encountering timeout errors in Action Blocks, especially under slow network conditions (3G). This results in missing interact calls, meaning both page load and link click beacons fail to fire.
To mitigate the issue temporarily, we have shifted some Action Blocks to Condition Blocks to ensure earlier execution. However, we know this is not a standard approach, and we want to address the root cause properly.
A few key details about our setup:
- Launch script is self-hosted and loaded asynchronously.
- Timeout issues seem to impact specific Action Blocks, leading to beacon failures.
- Adjusting setTimeout values helped slightly but did not fully resolve the issue.
Questions:
- Why is this occurring specifically in Web SDK? Are there known timing dependencies?
- Are there any best practices or configurations we should check to prevent timeouts in Action Blocks?
- Could self-hosting the Launch script asynchronously contribute to this behavior? If so, how can we optimize it?
- Any suggestions for debugging or resolving this issue without relying on non-standard workarounds?
Would appreciate any insights or recommendations. Thanks in advance! 😊
