A Simple Cookie Notifikation Solution for Google Analytics and Goolge Tag.
- Easy Cookie Notifikation
- Google Analytics
- Google Tag
Install with npm
npm i @gietmanic/next-cookie-massage
In the Main Layout File Replace GTag with your GTag ID and GAnalytics with your Analytics Id
import {CookieManager, CookieMessage} from "@gietmanic/next-cookie-message";
function App() {
return (
<html lang="en">
<body>
<CookieManager
GTag="YOUR GTAG ID"
GAnalytics="YOUR G Analytics ID"
/>
{children}
<CookieMessage
datenschutzlink={"LINK ZUM DATENSCHUTZ"}
/>
</body>
</html>
)
}
-
Dark Mode
-
More Config Options
-
Additional Cookies