You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I found out that beacon request are blocked by ad blockers such as uBlock Origin. After searching a bit on the internet, I found that the beacon request are equivalent to fetch API with keepalive option.
Therefore, I tried replacing beacon with fetch (with keepalive option), it seems to work fine.
So I think, if both methods are equivalent it would be better to use fetch as it will not be blocked by ad blockers, or may be to add a fallback to fetch if the beacon fails.
Anyway, thanks for this awesome project.
The text was updated successfully, but these errors were encountered:
Recently, I found out that beacon request are blocked by ad blockers such as uBlock Origin. After searching a bit on the internet, I found that the beacon request are equivalent to fetch API with keepalive option.
Therefore, I tried replacing beacon with fetch (with keepalive option), it seems to work fine.
So I think, if both methods are equivalent it would be better to use fetch as it will not be blocked by ad blockers, or may be to add a fallback to fetch if the beacon fails.
Anyway, thanks for this awesome project.
The text was updated successfully, but these errors were encountered: