GTM Variable Builder
From Chrome Developer Console, highlight elements to get JavaScript code. Built by: Alessandro Colarossi (alessandrocolarossi.com)
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
- activeTab
Chrome-Stats Rank
Other platforms

Summary
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
Pros
- Saves time
- Easy to use
- Very helpful tool
Cons
- Does not work for some users
- Console issue
Most mentioned
- Thankful to developers
- Saves time
- Does not work
Safety
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.
Promo video
Screenshots
Promo images
Similar extensions
Here are some Chrome extensions that are similar to GTM Variable Builder: