TAGManager.h File Reference

  • TAGManager.h defines the TAGRefreshMode enum, which dictates how the Tag Manager container refreshes.

  • kTAGRefreshModeStandard refreshes containers automatically every 12 hours and allows manual refreshes, serving as the default.

  • kTAGRefreshModeDefaultContainer utilizes a local default container, bypassing network or disk loading, intended solely for development and testing purposes.

TAGManager.h File Reference

Enumeration Type Documentation

Mode for refreshing the container.

Enumerator:
kTAGRefreshModeStandard 

In this mode, containers are automatically refreshed from network every 12 hours.

Developers can also call refresh (TAGContainer) to manually refresh containers.

This is the default mode.

kTAGRefreshModeDefaultContainer 

In this mode, the default container is always used (the container will not load a version from network, or from disk).

This mode allows developers to add new key/value pairs locally and then to use the Plist or JSON default container to test them quickly without having to add those key/value pairs to the container using the GTM UI.

This mode is intended for development only and not for shipping code.