Skip to content

Commit

Permalink
fix(storefront): Send analytics events time in seconds as expected by…
Browse files Browse the repository at this point in the history
… Meta and TikTok APIs
  • Loading branch information
leomp12 committed Apr 27, 2024
1 parent b7bda13 commit 67c7576
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -46,7 +46,7 @@ if (
eventsToSend.push({
...analyticsEvent,
id: evMessage.event_id,
time: evMessage.timestamp,
time: Math.round(evMessage.timestamp / 1000),
});
_sendServerEvents(variantCtx);
};
Expand Down

0 comments on commit 67c7576

Please sign in to comment.