Skip to content

Commit

Permalink
Fix telemetry user_id (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGOrtega authored Aug 15, 2022
1 parent 7973d0e commit 7a11074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const send = async ({
} = {}) => {
try {
if (ITERATIVE_DO_NOT_TRACK) return;
if (!event.id || event.id === ID_DO_NOT_TRACK) return;
if (!event.user_id || event.user_id === ID_DO_NOT_TRACK) return;

await fetch(endpoint, {
signal: timeoutSignal(5 * 1000),
Expand Down

0 comments on commit 7a11074

Please sign in to comment.