Google Tag Manager - v1.0.0

Environment Variables

Every environment variable the package reads directly.

Variable Type Default Purpose
GTM_CONTAINER_ID string none The GTM container ID (e.g. GTM-XXXXXXX) emitted by the @gtmSnippet directive and the React/Vue snippet components. When empty, the snippet renders nothing.

That's it. Everything else — API base URL, timeout, cache TTL, scopes, routes — is defined in config/google-tag-manager.php and is not driven by env vars in the shipped default. If you want an env-var override, publish the config and wire your own env( 'MY_KEY' ) calls.

The base artisanpack-ui/google package reads its own env vars for OAuth (GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GOOGLE_REDIRECT_URI, GOOGLE_CONFIG_DRIVER, and more). Those are documented on the base package — this package inherits them without renaming.