Marketing Settings give you the possibility to configure marketing-specific settings, which are:
Google Analytics code is automaticaly injected during rendering the page. See Google Analytics for details.
Google Tag Manager
The Google Tag Manager code is built and injected in a similar way as the Google Analytics one and exposes the same customization possibilities through:
GoogleTagManagerEvents::CODE_BODYevents, each defining a set of customizable blocks
- a dedicated template for both events which can be customized from an event listener
Similar to Google Analytics, a Matomo tracking code can be automatically injected into each response. See Matomo for details.