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 7c7adf6 commit 6b8aeb2Copy full SHA for 6b8aeb2
packages/code-du-travail-frontend/src/modules/config/DefaultLayout.tsx
@@ -33,6 +33,7 @@ export default function DefaultLayout({
33
const lang = "fr";
34
const pathname = usePathname() || "";
35
const showCookieBanner = shouldShowCookieBanner(pathname);
36
+ const showTally = !pathname.startsWith("/widgets");
37
38
return (
39
<html {...getHtmlAttributes({ lang })}>
@@ -63,7 +64,7 @@ export default function DefaultLayout({
63
64
>
65
{children}
66
{showCookieBanner && <ConsentManager />}
- <Tally id={"3E2Ypo"} />
67
+ {showTally && <Tally id={"3E2Ypo"} />}
68
</DsfrProvider>
69
<MatomoAnalytics />
70
{ENV === "development" && <SentryTest />}
0 commit comments