I setup a configuration but the div#cookieman-acco remains completely empty.
Is there something wrong in my setup or is there more to configure to make it work?
temp.tx_cookieman.settings.groups.mandatory <
plugin.tx_cookieman.settings.groups.mandatory
plugin.tx_cookieman.settings {
trackingObjects {
# extend the existing configuration for 'Matomo'
Matomo {
inject (
<script type="text/javascript">
var _paq = window._paq || [];
// require user consent before processing data
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="/xxx.xxx/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js';
s.parentNode.insertBefore(g,s);
})();
</script>
)
}
}
# reset existing groups
groups >
groups {
# copy of default group 'mandatory'
mandatory < temp.tx_cookieman.settings.groups.mandatory
mandatory {
preselected = 1
disabled = 1
trackingObjects {
0 = CookieConsent
1 = fe_typo_user
}
}
analytics {
trackingObjects {
0 = Matomo
}
respectDnt = 1
showDntMessage = 1
}
}
}
}
plugin.tx_cookieman._LOCAL_LANG {
en {
trackingobject\.Matomo = You can translate the name, but you do not have to.
trackingobject\.Matomo\.desc = My own tracking pixel does not really track you. It's just here to cheer you up.
group\.mandatory = My group is my castle.
}
default < .en
}