# How it works Google Analytics for Confluence (by Capable) connects your Confluence Cloud site to your own Google Analytics 4 property, then shows the resulting traffic data back inside Confluence. Tracking is site-wide and invisible: a hidden background script loads Google's own gtag.js in every reader's browser and records a page view for each page they open, tagged with the space key, page id, page type, page version and a one-way hashed version of the reader's Atlassian account id. Logged-out readers of public pages are tracked too (recorded as "anonymous"). Optionally, the app can also send server-side --- ## In this section [Site-wide page view trackingA hidden background script runs on every Confluence page for every reader and sends a page view to your Google Analytics 4 property using Google's own gtag.js.](https://help.gocapable.com/google-analytics/site-wide-page-view-tracking.html)[Anonymous reader trackingLogged-out visitors to public Confluence pages are tracked as well as signed-in users.](https://help.gocapable.com/google-analytics/anonymous-reader-tracking.html)[Search tracking (browser side)Records a search-results event when someone uses Confluence search.](https://help.gocapable.com/google-analytics/search-tracking-browser-side.html)[Enhanced tracking (server side)Records page created, page updated, comment created, comment updated and search events that a browser cannot see, sent server-to-server to Google.](https://help.gocapable.com/google-analytics/enhanced-tracking-server-side.html)[Reports inside ConfluenceOverview, Spaces, Content and (opt-in) Searches and Raw report tabs, on a global page and on every space's page.](https://help.gocapable.com/google-analytics/reports-inside-confluence.html)[Space-scoped reportsThe same reports narrowed to one space, opened from that space's sidebar.](https://help.gocapable.com/google-analytics/space-scoped-reports.html)[Custom dimension syncCreates the app's custom dimensions inside your GA4 property in one click, so extra report filters become available.](https://help.gocapable.com/google-analytics/custom-dimension-sync.html)[Measurement Protocol secret managementPick an existing Measurement Protocol secret from your data stream, or create a new one, without ever copying and pasting it.](https://help.gocapable.com/google-analytics/measurement-protocol-secret-management.html)[Published site tracking (Capable Sites)Pages published as a Capable Site report into the same GA4 property and join up with the in-Confluence data.](https://help.gocapable.com/google-analytics/published-site-tracking-capable-sites.html)[Published site tracking (Refined, Scroll Viewport)Copy-paste snippets that add the same tracking to sites published through Refined or Scroll Viewport.](https://help.gocapable.com/google-analytics/published-site-tracking-refined-scroll-viewport.html)[Automatic migration from the legacy Resolution Connect appExisting customers of the older Connect version keep their configuration.](https://help.gocapable.com/google-analytics/automatic-migration-from-the-legacy-resolution-connect-app.html) --- ## Related [MacrosThe macros themselves.](https://help.gocapable.com/google-analytics/macros.html) [AdministrationWhat an admin controls.](https://help.gocapable.com/google-analytics/administration.html) [TroubleshootingWhen it does not.](https://help.gocapable.com/google-analytics/troubleshooting.html) --- _How it actually behaves._