Magento_GoogleGtag module
This module implements the integration with the Google Analytics 4 and Google Ads Gtag service.
Installation
Before installing this module, note that this module is dependent on the Magento_Store module.
Before disabling or uninstalling this module, note that the Magento_GoogleOptimizer module depends on this module.
For information about a module installation, see Enable or disable modules.
Extensibility
Extension developers can interact with this module. For more information about the extension mechanism, see Plugins.
The Magento dependency injection mechanism enables you to override the functionality of this module.
A lot of functionality in the module is on JavaScript, use mixins to extend it.
Layouts
This module introduces the following layouts in the view/frontend/layout directory:
defaultcheckout_onepage_success
For more information about a layout, see the Layout documentation.
Additional information
Learn how to configure Google Analytics.
data-slots=text