Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Cannot read properties of undefined (reading addSourceMiddleware) when Incognito (Google Chrome) #334

Description

@aceykt

Repository to simulate: https://github.com/seg-leonelsanches/leos-guitar-shop-nextjs
Consent Manager version: 5.8.1
Analytics.js version: 1.52.0
Node.js version: 18.16.0

Use yarn dev to initialize the project locally. If open within a Chrome regular tab, it works normally. If open with Incognito, the following is shown:

image

I debugged the sources and it seems that, in analytics.js file from Consent Manager ESM, we don't have wd.analytics set properly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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