composer require jbennecker/silverstripe-analytics
Go to Admin > Settings > Tracking you can enter the the Cookiebot ID and Tagmanager IDs (Google and Matomo). You can Google and/or Matomo TagManager.
- Please configure Matomo TagManager to check "Disable Cookies" and "Bundle Tracker"
- Cookiebot is included in manual mode
Put this at the top of your <head>
.
<% include Tracking %>
[cookiedeclaration]
for including in data privacy notice[cookiebot]
to provide a button to edit cookiebot preferences[youtube,id="dieYoutubeId"]
to provide cookiebot consent controlled youtube media