TagManager.RefreshMode

Stay organized with collections Save and categorize content based on your preferences.
public static final enum TagManager.RefreshMode

Mode for refreshing the container.

Enum Values

public static final TagManager.RefreshMode DEFAULT_CONTAINER

In this mode, the default container is always used (the container will not load a version from the network or disk). This mode is intended for development only and not for shipping code.

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

public static final TagManager.RefreshMode STANDARD

In this mode, containers are automatically refreshed from network every 12 hours. Developers can also call refresh() to manually refresh containers.

This is the default mode.