Skip to content

Commit

Permalink
Update browser-sdk-2.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercy811 committed Jan 7, 2025
1 parent 8915a88 commit 53f0057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/collections/browser_sdk/en/browser-sdk-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ Unlike standard network requests, sendBeacon sends events in the background, eve
`sendBeacon` sends events in the background. As a result, events dispatched by `sendBeacon` don't return server responses. Keep the following in mind if you use `sendBeacon`:

1. Requests are not retried, including failed requests with 4xx or 5xx responses, so events may be lost.
2. Event order cannot be guaranteed, as `sendBeacon` may send events in parallel. This can lead to some UTM properties not being set, e.g. for session start events. In contrast, while using `fetch`, the SDK waits for responses before proceeding, guaranteeing event order.
2. Event order cannot be guaranteed, as `sendBeacon` may send events in parallel. This can lead to some UTM properties not being set, for example for session start events. In contrast, while using `fetch`, the SDK waits for responses before proceeding, guaranteeing event order.
{{/partial:admonition}}

#### Set the transport to use sendBeacon for all events
Expand Down

0 comments on commit 53f0057

Please sign in to comment.