GTM Variable Builder

GTM Variable Builder

From Chrome Developer Console, highlight elements to get JavaScript code. Built by: Alessandro Colarossi (

GTM Variable Builder promo image
What is GTM Variable Builder?

'GTM Variable Builder' is a Chrome extension developed by Alessandro Colarossi. With this tool, users can highlight particular content on a website which is then transformed into JavaScript code. By executing the code in Google Chrome's JS console, they can verify if it captures the required data correctly. This efficient tool comes handy for creating custom Google Tag Manager variables, allowing users to retrieve specific information from a web page whenever needed.

Stats date:
Rating: 4.42 (24)
Version: 3.0 (Last updated: 2023-07-27)
Creation date: 2017-06-22
Manifest version: 3
  • activeTab
Size: 12.12K
Email: Click to see
URLs: Website
Risk impact: Moderate risk impact
Risk likelihood: Very low risk likelihood

Other platforms

Not available on Firefox
Not available on Edge

GTM Variable Builder:

This versatile tool empowers you to effortlessly highlight specific portions of a website, such as text, product IDs, prices, or page names. Once you've selected the desired content, simply click on the extension's icon. To observe the output of your highlights, navigate to the JS console in Google Chrome.

Execute the JavaScript code generated by the tool within the console. If the generated JavaScript function successfully captures the highlighted content, don't hesitate to incorporate it into a custom Google Tag Manager variable. This way, you can conveniently retrieve the selected information when needed.

User reviews
User reviews summary
These summaries are automatically generated weekly using AI based on recent user reviews. Chrome Web Store does not verify user reviews, so some user reviews may be inaccurate, spammy, or outdated.
  • Saves time
  • Easy to use
  • Very helpful tool
  • Does not work for some users
  • Console issue
Most mentioned
  • Thankful to developers
  • Saves time
  • Does not work
View all user reviews
Risk impact

GTM Variable Builder may not be safe to use and it requires some risky permissions. Exercise caution when installing this extension. Review carefully before installing.

Risk likelihood

GTM Variable Builder has earned a good reputation and can be trusted.

Upgrade to see risk analysis details
Promo video
Promo images
GTM Variable Builder small promo image
Small promo image
Similar extensions

Here are some Chrome extensions that are similar to GTM Variable Builder: