try fix bugs

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-02-28 21:24:29 +01:00
parent 888ede680e
commit 93cf5dbc0a
4 changed files with 11 additions and 11 deletions

View File

@@ -201,9 +201,9 @@ async function createSessionEnd(
) {
const properties: Record<string, unknown> = {};
if (options.screenViews === 1) {
properties._bounce = true;
properties.__bounce = true;
} else {
properties._bounce = false;
properties.__bounce = false;
}
const session: IServiceCreateEventPayload = {