Skip to content

Cannot read properties of undefined (reading 'site_id') #67

Description

@Nickfis

Not sure exactly what happened, but on our site we now often get the error
Cannot read properties of undefined (reading 'site_id'),
which in the stack trace looks like a hotjar error:
Screenshot 2024-03-14 at 10 30 36

t.g [as send](c/hotjar)

Is this a known issue?
I've tried updating to version 6.2, but that hasn't changed things.
Right now we only initalize hotjar and do nothing else:

import { hotjar } from "react-hotjar";
hotjar.initialize(id, version);

Let me know if you want me to give you any additional info as it's quite scarce so far, but I just wanted to know whether this is a known issue (quick googling couldn't find anything).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions