envs

Google Tag Manager — container

gtm/container · version 1

envs add gtm/container

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
GTM_CONTAINER_ID required config Google documents this id inside the on-page snippet, so it is public by design.. Shape ^GTM-[A-Z0-9]{4,}$. where to get it

The JSON the CLI reads