TAGManager.h File Reference
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[],["The document defines the `TAGRefreshMode` enumeration, which controls how containers are refreshed. `kTAGRefreshModeStandard` automatically refreshes containers from the network every 12 hours, allowing manual refresh via `refresh (TAGContainer)`. `kTAGRefreshModeDefaultContainer` uses the default container without network or disk loading, allowing for quick local testing of key/value pairs using Plist or JSON, designated for development purposes only.\n"]]