Click the GTMSense icon in the Activity Bar to open the sidebar
Click Load Container to authenticate with your Google account
Select a GTM account, container, and workspace
Browse and edit your Custom HTML tags and Custom JavaScript variables
Modified files are marked with a dot indicator
Use Push Changes to save your changes back to GTM
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: 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.