Page variables overview

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.

Retired page variables

The following page variables are retired. They are documented here for reference if you encounter them in a legacy implementation.

  • hier: Implemented hierarchy variables (hier1hier5) to capture a site’s structure for reporting. It is retired and not an available dimension in Analysis Workspace. Use eVars and classifications instead.
  • state: Captured the U.S. state a visitor entered, typically through a shipping or billing form. Use the US States dimension instead, which Adobe populates automatically from the visitor’s geographic location.
recommendation-more-help
analytics-help-implement