-
Hi, thanks for the work on this repository, it's awesome. I'm strugling to find a nice way to implement a custom feedback widget with the In the google analytics script,
Currently I'm doing a hack wich is:
But it's an hack. And if the XHR call makes more than 400ms, it won't work. I'm probably missing something. Do you know if there is a nicer and better way ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The document$.subscribe(() => {
console.log("page loaded via instant loading")
}) |
Beta Was this translation helpful? Give feedback.
The
location$
emits as soon as navigation is initiated. You probably want to wait for the document to be loaded: