Die Typo3 Erweiterung Cookieman kurz erklärt
Eine kleine Anleitung zur Typo3 Erweiterung Cookieman.
Die Einstellungen müssen im Template Bereich Setup eingetragen und gespeichert werden.
# 1. Include provided definitions of TrackingObjects: @import 'EXT:cookieman/Configuration/TypoScript/TrackingObjects/*.typoscript' # 2. Add the TrackingObject key to a group (see below how to configure a new group): plugin.tx_cookieman.settings.groups { analytics { trackingObjects { 10 = GoogleAnalytics } } } # 3. Add the tracking code to the TrackingObject: plugin.tx_cookieman.settings.trackingObjects { GoogleAnalytics { inject ( <script async src="https://www.googletagmanager.com/gtag/js?id=UA-106539815-2"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-106539815-2', { 'anonymize_ip': true }); </script> ) } } plugin.tx_cookieman { # 4. Provide necessary localization labels: _LOCAL_LANG { default { group.statistics = Statistics group.statistics.desc = We use statistics to find out how many visitors we have on our pages, which content is accessed and from which countries they come. } de { group.statistics = Statistiken group.statistics.desc = Wir nutzen Statistiken um zu erfahren wie viele Besucher wir auf unseren Seiten haben, welche Inhlate aufgerufen werden und aus welchen Ländern sie kommen. } } } plugin.tx_cookieman { settings { links { imprintPid { page_id = 10 } dataProtectionDeclarationPid { page_id = 11 } } } }
Comments
No Comments