Set up analytics and tracking tools on your TYPO3 website to measure performance and user engagement.
Available Integrations
Google Analytics
Track visitor behavior and conversions with GA4.
Google Tag Manager
Centralize all your tracking tags with GTM for easier management.
Meta Pixel
Track Facebook and Instagram ad conversions.
Integration Approach
TYPO3 integrations are typically implemented via:
- Extensions - Install from TER or via Composer
- TypoScript - Configure tracking in site setup
- Fluid templates - Add tracking to templates
- Manual code - Add to page headers/footers
Recommended Extensions
composer require georgringer/google-tag-manager
Matomo (Privacy-focused alternative):
composer require mittwald/typo3-matomo-integration
Cookie Consent:
composer require dmind/cookieman
TypoScript Implementation
Add GTM via TypoScript:
page.headerData.10 = TEXT
page.headerData.10.value (
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){...})(window,document,'script','dataLayer','GTM-XXXX');</script>
<!-- End Google Tag Manager -->
)
Data Layer with Fluid
Create data layer in Fluid templates:
<script>
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'pageType': '{data.doktype}',
'pageTitle': '{data.title}',
'language': '{data.sys_language_uid}'
});
</script>
Privacy Considerations
TYPO3 community strongly emphasizes GDPR compliance:
- Always implement cookie consent before tracking
- Consider Matomo as a privacy-friendly alternative
- Use server-side tracking for sensitive data
- Implement IP anonymization