My analytics beacon is aborted and does not have time to fire before the subsequent page loads, why?
上次更新時間 Apr 29, 2021 03:57:29 PM GMT
If the click event in question is occurring on an anchor tag, then try checking the setting 'Delay link activation' in the rule condition UI. This setting keeps the link from activating until the beacon sends.
However, if the click event is not occurring on an anchor tag, then this setting is not effective. In this situation, the following options are available:
- Alter the targeted element to be an anchor tag instead of a button.
- Have the subsequent page load in a new window to ensure time for the script to load
- Execute the desired tracking in a page load rule on the subsequent page instead of on the click / submit
- Specifically delay the load of that particular element type by writing a custom script, and loading it in a page load rule on this particular page. However, keep in mind how the delay affects the users experience.