feat: integrate consent-based Google Analytics

This commit is contained in:
2026-08-23 10:35:33 +00:00
parent a09e9f17b5
commit 79f463d280
5 changed files with 91 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ describe('CookieBanner', () => {
it("s'affiche quand aucun choix n'a été fait", () => {
renderWithProviders(<CookieBanner />)
expect(screen.getByText(/ce site utilise des cookies/i)).toBeInTheDocument()
expect(screen.getByText(/gestion des cookies/i)).toBeInTheDocument()
})
it('enregistre le consentement et disparaît quand on accepte', async () => {