com.google.tagmanager

  • This documentation outlines interfaces, classes, and enums related to the Google Tag Manager (GTM) mobile implementation.

  • Container objects provide access to container values, while ContainerOpener assists in opening containers, and TagManager represents the core GTM implementation.

  • DataLayer stores generic application information, InstallReferrerReceiver and InstallReferrerService manage installation referrer data, and PreviewActivity allows previewing the app with a specific container version.

  • Various interfaces like Container.Callback, Container.FunctionCallMacroHandler, and Container.FunctionCallTagHandler handle container loading, custom macro calculations, and custom tag execution, respectively.

  • Enums like Container.RefreshFailure, Container.RefreshType, ContainerOpener.OpenType, Logger.LogLevel, and TagManager.RefreshMode define refresh failures, refresh origins, container opening preferences, logging levels, and container refresh modes.

Interfaces

Container.Callback Callback will be invoked after the resource has been successfully loaded. 
Container.FunctionCallMacroHandler Handler that is provided by the application to calculate the value of a custom macro. 
Container.FunctionCallTagHandler Handler that is provided by the application to execute a custom tag. 
ContainerOpener.ContainerFuture An object that will return a Container. 
ContainerOpener.Notifier Object that will receive a notification when a container is available for use. 
Logger A simple interface for error/warning/info/debug/verbose logging. 
TagManager.Logger A simple interface for error/warning/info/debug/verbose logging. 

Classes

Container An object that provides access to container values. 
ContainerOpener Helper class for opening containers. 
DataLayer The data layer is a map holding generic information about the application. 
InstallReferrerReceiver The Google Play com.android.vending.INSTALL_REFERRER Intent is broadcast when an app is installed from the Google Play Store. 
InstallReferrerService IntentService for handling the Google Play Store's INSTALL_REFERRER intent. 
PreviewActivity An Activity to preview the app with previewed container version. 
TagManager This is the mobile implementation of Google Tag Manager (GTM). 

Enums

Container.RefreshFailure Ways in which a refresh can fail. 
Container.RefreshType Origin of container refresh. 
ContainerOpener.OpenType Preferences for opening a container. 
Logger.LogLevel Log Level setting. 
TagManager.RefreshMode Mode for refreshing the container.