Typo3 Analytics Integrations: Setup Guide | OpsBlu Docs

Typo3 Analytics Integrations: Setup Guide

Complete guide to analytics, tracking, and marketing integrations available for TYPO3. Covers Google Analytics, GTM, Meta Pixel, and third-party...

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:

  1. Extensions - Install from TER or via Composer
  2. TypoScript - Configure tracking in site setup
  3. Fluid templates - Add tracking to templates
  4. Manual code - Add to page headers/footers

Google Tag Manager:

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