The GTM Variable Builder: Create Variables for GTM

The GTM Variable Builder: Create Variables for GTM


We created the GTM variable builder to enable users to highlight product IDs on a product page and value text on an order confirmation page. However, this versatile tool can be used for any type of text extraction from a page, offering numerous possible use cases.

This tool simplifies the process of highlighting key parts of a website, such as text, product IDs, prices, or page titles. To use it, simply select the content you're interested in and click on the extension's icon. To review what you've highlighted, go to the JS console in Google Chrome.

Run the JavaScript code provided by the tool in the console. If it successfully captures your highlighted content, you can then use this in a custom Google Tag Manager variable, or in any other place where you need to submit product information, values, IDs, and so on.

User Reviews

  • Jan 31, 2024: An excellent plugin for non-technical folks. A must-have if you are working with GTM.
  • Jun 6, 2022: Saves so much time. It's clean and logical. Thank you.
  • Apr 20, 2022: Perfect extension, thank you.
  • Mar 31, 2022: Works perfectly, thank you for this quick and easily usable tool!
  • Oct 28, 2021: It is very helpful. Thanks to the people who made it.

Great for Google Tag Manager Variable building for use with your various tags, capturing conversion value and other elements on your website pages. 35,000+ active installs, 4.4 out of 5 stars based on 25 ratings.

Click here to install the extension.

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.