> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# About variables

> Mastering ClickFlare Tag Manager's Variable Functionality: Optimizing Triggers and Tags for Enhanced Performance

In computer programming, a variable serves as a symbol within code representing a value that may vary. Similarly, within ClickFlare Tag Manager, variables fulfill this role. These variables are integral components utilized within triggers and tags:

1. **Variables in Triggers**: These variables play a crucial role in defining filters that determine when a specific tag should activate. For instance, one might specify to activate a pageview trigger only when the URL variable matches "example.com/index.html".
2. **Variables in Tags**: In tags, variables are employed to capture and utilize dynamic values. For example, one might capture the transaction value and products purchased and apply them to a conversion tag.

ClickFlare Tag Manager offers a comprehensive set of predefined [built-in variables](/docs/en/tag-manager-1/about-built-in-variables.md) to address most requirements for tag and trigger configurations. Additionally, users can create [custom variables](/docs/en/tag-manager-1/user-defined-variables.md) tailored to specific needs not covered by the built-in options.

![ClickFlare Tag Manager offers a comprehensive set of predefined built-in variables to address most requirements for tag…](https://mintcdn.com/clickflare/GPmlXVWHNq-9kzLd/images/help-center/07-tag-manager/06-variables/01-about-variables-01.png?fit=max\&auto=format\&n=GPmlXVWHNq-9kzLd\&q=85\&s=4547a8cb20b4dba50b7557dc8817b391)

### Related Sources:

* [Built-in variables](/docs/en/tag-manager-1/about-built-in-variables.md)
* [User-defined variables](/docs/en/tag-manager-1/user-defined-variables.md)
* [Components of ClickFlare Tag Manager](/docs/en/tag-manager-1/components-of-google-tag-manager.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.