Google Analytics

Embeds a live analytics view straight onto a Confluence page. Choose Overview (site or space traffic over time), Current page (traffic for the page the macro sits on), Content (top pages table) or Spaces (traffic by space).


#Settings

Setting

Values

What it changes

Display Mode

Overview | Current page | Content | Spaces

Which dashboard the macro shows. "Current page" reports on the page the macro is placed on, taking the page id from where it sits rather than from configuration.

Time Range

Last 7 days | Last 30 days | Last 90 days (the underlying se

How far back the macro reports. The picker offers only 7, 30 and 90 days even though the stored value can be any number of days from 1 to 365.

Period

Day | Week | Month

How the time chart is bucketed. Only shown for the Overview and Current page views; the Content and Spaces tables ignore it.

Metric to show

Views | Sessions | Users

Which single metric the chart plots. Only shown for Overview and Current page. Unlike the full reports page, which can overlay all three, the macro plots exactly one line.

Specific space

Any Confluence space key, or empty for the whole site

Limits the report to a single space. Only shown for the Overview and Content views: Spaces already lists every space, and Current page is already a single page.



One macro, documented properly.