Skip to content

Events not working during app lifetime #52

@PiotrSzlagura

Description

@PiotrSzlagura

Hello

I have following issue: when I do something like:

let analytics = new Analytics("UA-XXXXXXXX-X");

analytics
  .event(
    new Event("test", "event", "ga-event")
  )
  .then(() => {
    console.log("event sent");
  })
  .catch(error => {
    console.log(error);
  });

in my RootComponent.componentDidMount, event is sent correctly and I can see it in my Analytics console.

But if I do the same after some event in my app, nothing happens. I do get console.log with text event sent which should indicate successfull send, but I can't see any event in my Analytics console.

Anyone had similar problem? Am I doing something wrong?

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