Page variables

Last update: 2024-01-25
  • Created for:
  • Admin
    Developer

Page variables determine the values for dimensions and metrics in reporting.

The following list are variables frequently used in implementations:

  • pageName: The name of the page.
  • campaign: Set this variable to a query string parameter for campaign tracking.
  • events: Populate metrics for use in reporting.
  • products: If you have an eCommerce site, set this variable when a visitor views or purchases a product.

On this page