WEB_PERMISSIONS.json - Required permissions (auto-detected from code)
INFO.json - Template metadata
TESTS.json - Template tests
When you save a JavaScript file, GTMSense automatically detects which APIs you're using (like logToConsole, copyFromWindow, etc.) and updates the permissions section accordingly.
Commands
Command
Description
GTM-SENSE: Load Container
Load a GTM container and workspace
GTM-SENSE: Unload Container
Unload a container from the sidebar
GTM-SENSE: Create Custom HTML Tag
Create a new Custom HTML tag
GTM-SENSE: Create Custom JavaScript Variable
Create a new Custom JavaScript variable
GTM-SENSE: Create Custom Template
Create a new Custom Template (Tag or Variable)
GTM-SENSE: Create Workspace
Create a new workspace in the container
GTM-SENSE: Reload Workspace
Reload workspace data from GTM
GTM-SENSE: Push Changes
Push all pending changes to GTM
GTM-SENSE: Discard Changes
Discard all pending changes
GTM-SENSE: Sign Out
Sign out of your Google account
Requirements
Visual Studio Code 1.106.0 or higher
A Google Tag Manager account with edit permissions
Internet connection for GTM API access
Privacy & Security
GTMSense uses OAuth 2.0 to authenticate with Google. Your credentials are never stored by the extension - only OAuth tokens are kept locally in VS Code's secure storage. The extension only requests the minimum permissions needed to read and write GTM container data.