We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85a5b69 commit beb97deCopy full SHA for beb97de
packages/gitbook/src/components/SitePage/SitePageNotFound.tsx
@@ -3,6 +3,7 @@
3
import { TrackPageViewEvent } from '@/components/Insights';
4
import { t, useLanguage } from '@/intl/client';
5
import { tcls } from '@/lib/tailwind';
6
+import { SiteInsightsDisplayContext } from '@gitbook/api';
7
import { useRouter, useSearchParams } from 'next/navigation';
8
import { useEffect } from 'react';
9
import { useSpaceBasePath } from '../SpaceLayout/SpaceLayoutContext';
@@ -46,7 +47,7 @@ export function SitePageNotFound() {
46
47
</div>
48
49
{/* Track the page not found as a page view */}
- <TrackPageViewEvent />
50
+ <TrackPageViewEvent displayContext={SiteInsightsDisplayContext.Site} />
51
52
</CurrentPageProvider>
53
);
0 commit comments