Replies: 1 comment 7 replies
-
Hi @Ale142 the code looks good. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, from what I read from the documentation, the user session has 3 lifecycle events:
I was trying to create a custom event to report on closing of an application tab/window to send to Faro but It seems is not working and I need some advice from you.
Here you have the Faro initialization in React:
In another component I have created a
useEffect
with this code that creates a listener for the visibilitychange event that is the recommeded method to use.But when I close the tab the method seems not to be fired. Do you have any advice?
Beta Was this translation helpful? Give feedback.
All reactions