Notification

G Suite is now Google Workspace: everything your business needs to get work done.

Variables

To a computer programmer, a variable is a symbol in code that can be used to represent a value that will change. A Tag Manager variable performs that same function. Tag Manager variables are used in both triggers and tags:

  • Variables in triggers are used to define filters that specify when a particular tag should fire.
    Example: Fire a pageview trigger when the url variable is “example.com/index.html”.
  • Variables in tags are used to capture dynamic values.
    Example: Capture and apply the transaction value and products purchased to a key events tag.

Tag Manager provides a set of commonly-used built-in variables in each container. You can create additional user-defined variables to suit your specific requirements.

Search
Clear search
Close search
Google apps
Main menu
915510441702069702
true
Search Help Center
true
true
true
true
true
102259
false