Skip to content

[Bug]: When cookie preference are enabled after init, user journey not shown in web ui #699

@anthony-nhs

Description

@anthony-nhs

Which web client version did you detect this bug with?

v1.25.0

What environment (build systems, module system, and framework) did you detect this bug with?

TypeScript v5.0.2, Webpack v4.46.0, ECMAScript modules (ESM) and React v18.2.0

Is your web application a single page application (SPA) or multi page application (MPA)?

SPA

Please provide your web client configuration

{
allowCookies: false,
endpoint: "https://dataplane.rum.us-west-2.amazonaws.com",
guestRoleArn: "arn:aws:iam::000000000000:role/RUM-Monitor-us-west-2-000000000000-00xx-Unauth",
identityPoolId: "us-west-2:00000000-0000-0000-0000-000000000000",
sessionSampleRate: 1,
telemetries: ['errors', 'performance', 'http']
}

Please describe the bug/issue

We initially create the client with config above - note allowCookies is set to false

We have a cookie preference banner and page, that if the user consents to allowing cookies, we call allowCookies(true) against the web client
When this happens, then user journey data is not shown in the aws web console ui in the user journey tab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions