Skip to content

Commit 842f7b8

Browse files
committed
Mention the eulerian guide in the consent management utils
1 parent c3b7459 commit 842f7b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stories/ConsentManagement.stories.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ const { meta, getStory } = getStoryFactory({
1818
1919
\`src/consentManagement.tsx\` (This is a file you should create in your project)
2020
21+
Refer to [this section of the Guides](https://react-dsfr.etalab.studio/analytics) to see how to setup the the
22+
mandated solution for analytics in your project.
23+
24+
You can find a complete example setup in [the Demo repo for Next.js App Router](https://github.com/garronej/react-dsfr-next-appdir-demo/blob/main/ui/consentManagement.tsx)
25+
which is live [here](https://next-demo.react-dsfr.fr/). You should be able to easily adapt it to other meta frameworks (Vite, Next Pages Router, CRA).
26+
2127
\`\`\`tsx
2228
"use client";
2329

0 commit comments

Comments
 (0)