> ## Documentation Index
> Fetch the complete documentation index at: https://clickflare.com/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) to address most requirements for tag and trigger configurations. Additionally, users can create [custom variables](/docs/en/tag-manager-1/user-defined-variables) tailored to specific needs not covered by the built-in options.

<img src="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" alt="ClickFlare Tag Manager offers a comprehensive set of predefined built-in variables to address most requirements for tag…" width="1240" height="568" data-path="images/help-center/07-tag-manager/06-variables/01-about-variables-01.png" />

### Related Sources:

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