Closes #107728. Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
This commit is contained in:
parent
209b062454
commit
44c1d99a8f
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ import { useTrackPageview } from '../../../../observability/public';
|
|||
export function TrackPageview({ children }: { children: React.ReactElement }) {
|
||||
const routePath = useRoutePath();
|
||||
|
||||
useTrackPageview({ app: 'apm', path: routePath });
|
||||
useTrackPageview({ app: 'apm', path: routePath, delay: 15000 });
|
||||
useTrackPageview({ app: 'apm', path: routePath }, [routePath]);
|
||||
useTrackPageview({ app: 'apm', path: routePath, delay: 15000 }, [routePath]);
|
||||
|
||||
return children;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue