Google Analytics vs Microsoft Clarity

Google Analytics fits teams that need full web analytics history, funnel reporting and raw exports. Microsoft Clarity fits teams that want free session recordings and heatmaps and can accept 30-day recording retention and EU consent gating.

On this page

Google Analytics vs Microsoft Clarity: which fits your team

Choose Google Analytics if your team needs a long web analytics history, standard reporting and raw exports that you can move into your own warehouse. Choose Microsoft Clarity if you want free session recordings and heatmaps and can accept 30-day recording retention, with consent required before recordings or behavioral analytics run for visitors in the European Economic Area, the United Kingdom and Switzerland. Most renewal and consent reviews come down to four questions: how long you must keep data, how much of it you must export, what consent posture your legal team will approve, and who must own the data if terms change or the contract ends. Answer those before comparing feature lists, because the answers usually decide the tool.

Retention and export are where the two tools differ most. Standard GA4 properties keep user-level and event data for 2 or 14 months, and Google states that this setting affects explorations and funnel reports, not standard aggregated reports. Standard properties can export to BigQuery at up to 1 million events a day, and BigQuery storage and processing charges apply to every export. Clarity keeps recordings for 30 days from the time of recording, with favorite recordings and a random sample kept for up to 9 months. Its Data Export API returns only the previous 1 to 3 days of dashboard metrics, allows 10 requests per project per day and caps responses at 1,000 rows without pagination. Confirm which reports must still exist in two years and whether anyone needs event-level rows outside the vendor's interface. The Microsoft Clarity FAQ lists the current retention terms.

Consent and data location decide the rest. Clarity data is stored in Microsoft's Azure cloud, and EU customers contract with Microsoft Ireland Operations Limited, which has standard contractual clauses with Microsoft Corporation in the United States. Since October 31, 2025, Clarity enforces consent signals for visitors from the European Economic Area, the United Kingdom and Switzerland, and Consent Mode is enabled by default for them. Without valid consent, Clarity limits collection there, so expect thinner recording coverage in those regions. Google states that Google Analytics does not log or store IP addresses from EU, Swiss or UK users, but your consent review still has to cover cookies and transfers for each tool. If you run both, review both consent setups separately, since a banner configured for one tool does not cover the other. Ask your privacy lead who acts as controller for each vendor before you sign a renewal.

How Google Analytics vs Microsoft Clarity compares by scenario

This table compares Google Analytics 4 and Microsoft Clarity across six buyer scenarios, with the condition that would change each answer. Check each row against your own retention needs, export volumes, consent position and uptime commitments before choosing. The main takeaway is that Clarity offers free recordings and heatmaps, while GA4 offers longer reporting depth and export paths.

ScenarioBetter fitWhyWhen the answer changes
Long-term query historyGoogle Analytics 4Standard properties keep user and event data for 2 or 14 months. Clarity keeps recordings for 30 days.If you need more than 14 months, confirm Analytics 360 retention of up to 50 months or export data to your own store.
Funnel and exploration reportingGoogle Analytics 4Explorations and funnel reports are GA4's core depth, and the retention setting applies to them.Confirm that Clarity's dashboards cover your funnel steps before you retire GA4 reports.
BigQuery or Google Ads pipelinesGoogle Analytics 4Standard properties export up to 1 million events a day to BigQuery. Clarity's export API returns 1,000 rows per response.Above that volume, streaming export has no volume limit but adds $0.05 per GB in BigQuery charges. Confirm Google Ads linking for your account.
Zero-cost session recordings and heatmapsMicrosoft ClarityFree with no traffic limits or sampling. Heatmaps are capped at 100,000 page views each.If heatmaps must cover more page views, or recordings must stay on your servers, test self-hosted PostHog session replay.
EU visitors who have not consentedNeither, without a consent bannerClarity limits collection without valid consent, and recordings need consent. CNIL says most large offerings fall outside the exemption.If you need consent-exempt measurement, evaluate self-hosted Matomo configured to CNIL's conditions.
Enterprise SLA needsGoogle Analytics 360Google markets 360 with service level agreements across collection, BigQuery daily export, unsampled results and enterprise support.Confirm whether Microsoft offers an SLA for Clarity. Self-hosting moves uptime and support duties to your own team.

What drives the bill for Google Analytics and Clarity

Google Analytics and Clarity both look free at sign-up, but the cost lands in different places. Each card names who gets paid, whether the cost is one-time or recurring, and what pushes it up.

Google Analytics 4 standard

Standard GA4 has no license fee, so the recurring bill comes from the BigQuery streaming export at $0.05 per GB, plus BigQuery storage and processing costs for every export. The free BigQuery sandbox covers some exports, but usage beyond its limits is charged. Standard properties are also capped at 1 million events a day for the daily export. Check your event volume and export settings before you assume the bill is zero.

BigQuery export docs

Analytics 360 contract

Analytics 360 is Google's paid enterprise edition, and no price is published. The buyer requests a quote from Google sales, so the figure exists only in the contract. The recurring cost is the contract itself, and its scope drives the number: service level agreements, unsampled results, enterprise support and export volume, which reaches up to 20 billion events a day on the BigQuery daily export. BigQuery storage and processing still bill separately, so confirm whether they sit inside the quote.

Analytics 360 page

Microsoft Clarity licensing

Clarity is free with no paid tier to upgrade to, and it has no traffic limits or sampling, so Microsoft bills you nothing for the tool. The cost moves inside your organization. Staff who build reporting on the Data Export API face limits: it returns only the previous 1 to 3 days, allows 10 requests per project per day and caps responses at 1,000 rows without pagination. Any consent tool you buy for EEA, UK and Swiss visitors is also your cost, and Clarity data is stored on Azure, so review the contract terms.

Clarity FAQ

Self-hosted PostHog core

The PostHog core is MIT licensed, so no license fee applies to it, but the ee directory needs a PostHog license for premium features on a self-hosted instance. Teams that need fully free software can use the posthog-foss repository, which is purged of all proprietary code. Your recurring costs are the server, storage and staff time for upgrades. The free hobby Docker Compose deployment recommends a server with 4 vCPU, 16 GB of RAM and more than 30 GB of storage.

PostHog self-host docs

Self-hosted Matomo core

Matomo is GPLv3 licensed, so the self-hosted core carries no license fee. The bill is infrastructure and operations. Matomo's requirements guidance sizes a single server with at least 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month, and separate app and database servers with 8 CPUs and 16 GB of RAM each for up to 10 million. Check which add-ons you need and confirm their license terms before you commit.

Matomo LICENSE file

Questions for a written quote

Ask every vendor or implementation partner for a written quote that states the BigQuery export volume and who pays for storage and processing, the Analytics 360 price and term if that edition is in scope, and any consent tooling or Clarity data export work included. For self-hosted options, ask which PostHog ee features and license terms are assumed, which Matomo add-ons are priced, and which server sizing the estimate is based on.

Google Analytics vs Microsoft Clarity side by side on capabilities

This table compares Google Analytics 4 and Microsoft Clarity on the capabilities that drive renewal, data control and consent decisions. Read each cell as the published limit for that tool, and confirm any gap with the vendor before you commit. The main takeaway is that Clarity states concrete limits for session recordings and heatmaps, while GA4 publishes more detail on export and reporting, and EU consent rules shape how both can be used.

CapabilityGoogle Analytics 4Microsoft Clarity
Session recordingsConfirm with Google whether GA4 offers session replay for your property.Recordings kept 30 days; favorites and a random sample up to 9 months (Clarity FAQ)
HeatmapsConfirm with Google whether GA4 offers heatmaps for your property.Each heatmap limited to 100,000 page views (Clarity FAQ)
Funnel and exploration reportingExplorations and funnel reports, where the retention setting appliesConfirm with Microsoft whether funnels and explorations are available; the export API covers dashboard metrics
Raw event exportBigQuery export; standard properties capped at 1 million events a day (Google Analytics Help)Confirm with Microsoft whether raw event export is available.
API access and limitsData API: 200,000 core tokens a day and 40,000 an hour on a standard propertyData Export API: dashboard metrics as JSON for the previous 1 to 3 days, 10 requests per project per day, 1,000 rows, no pagination
Data retentionUser and event data kept 2 or 14 months on standard properties; 360 offers longer optionsRecordings 30 days; favorites and random sample up to 9 months (Clarity FAQ)
Consent requirementsGoogle does not log IP addresses from EU, Swiss or UK users; confirm your own consent duties with counsel.Consent signals enforced from October 31, 2025 for EEA, UK and Swiss visitors; without valid consent, recordings and behavioral analytics are limited.
Data locationCollects EU, Swiss and UK device data on servers based there before forwarding; confirm storage region for your property.Stored in Microsoft Azure; EU customers contract with Microsoft Ireland Operations Limited.
Licensing and costHosted service; Analytics 360 is the paid enterprise edition with no published list price.Free, with no traffic limits, no sampling and no paid version to upgrade to (Clarity FAQ)

What leaving Google Analytics or Clarity involves

Each card below is a separate decision point in a move away from GA4 or Clarity. Most exit problems come from data that was never exported, retention windows nobody planned for, and processors nobody reviewed. Confirm each item in writing with the vendor before you set a cutover date.

Data location and processors

Check each processor and transfer mechanism. Clarity data sits in Microsoft Azure, and EU customers contract with Microsoft Ireland Operations Limited, which has standard contractual clauses with Microsoft Corporation. Google states that Google Analytics does not log or store IP addresses from EU, Swiss or UK users, but your own contract and data processing terms still decide your obligations. Record where each dataset lives so the self-hosted target keeps it in your chosen region.

Clarity FAQ

Export paths and their limits

GA4 history has a bulk path, Clarity may not. GA4 standard properties can send a daily BigQuery export capped at 1 million events a day, while the streaming export has no volume limit but adds BigQuery charges of $0.05 per GB. Clarity's Data Export API returns dashboard metrics for the previous 1 to 3 days only, with 10 requests per project per day, up to three dimensions and 1,000 rows without pagination. Confirm with Microsoft whether any bulk export exists before you plan a historical copy.

Clarity Data Export API

Retention and expiry dates

Clarity recordings expire after 30 days. Favorite recordings and a random sample are kept for up to 9 months, and heatmaps are limited to 100,000 page views each. On GA4, default signals expire after 26 months, and the retention setting of 2 or 14 months only shapes explorations and funnel reports, not standard aggregated reports. Universal Analytics data that was not exported was permanently deleted after access ended in the week of July 1, 2024, so export GA4 history before any change.

Data retention docs

Contract and API lock-in

Lock-in sits in the integration. Clarity is free forever, with no traffic limits, no sampling and no paid version to upgrade to. Analytics 360 is Google's paid enterprise edition with service level agreements, and Google lists no price for it and directs buyers to sales. Lock-in lives in the tag on every page, saved dashboards and segments, funnel and goal definitions, and the APIs whose quotas set how fast you can copy data out. Ask for written terms on data return and deletion before you sign any renewal.

Analytics 360 page

The work of leaving

Imported history arrives as aggregates. Matomo's Google Analytics Importer and Plausible's GA4 import bring over report data, so Visitor Log and segmentation do not work on the imported history. PostHog documents a scripted route from GA4 through the BigQuery export, so that export needs to run before cutover. Plan parallel running, rebuilt goals and consent setup, because Clarity without valid consent limits collection in consent-required jurisdictions.

Matomo import limits

Which tool fits the decision path

The diagram starts from the goal. If the team needs only session recordings and heatmaps, the first check is whether EU consent applies, since Clarity requires valid consent signals for visitors in the EEA, UK and Switzerland. If the team needs full analytics history and exports, it checks whether a self-hosted platform is mandatory, then whether the work depends on Google Ads or BigQuery. Analytics 360 fits when enterprise service levels are a requirement. Confirm each answer against your legal, data residency and contract terms before you choose a path.

Decision path from goal to Clarity, GA4, Analytics 360, PostHog, Matomo or both.

When a self-hosted option fits better than either product

Self-hosting fits better than either product when one of three conditions applies. The first is that session recordings or raw events must stay on servers you control. The second is that you need event-level data you own for long-term analysis, because Clarity keeps recordings for 30 days and keeps favorite recordings and a random sample for up to 9 months. The third is that your EU consent posture is hard to meet with a third-party tag. Microsoft's Clarity FAQ says that without valid consent, Clarity limits collection in consent-required jurisdictions and needs valid consent for session recordings and behavioral analytics there. CNIL states that most large audience measurement offerings do not fall within the consent exemption, and it points to open-source software such as Matomo that the publisher can configure itself. Ask your privacy counsel which condition applies before you choose.

PostHog covers product analytics, web analytics and session replay in one codebase. Its core is MIT licensed, but the ee directory needs a PostHog license for premium features on self-hosted instances, so if you need fully free software, evaluate posthog-foss, which is purged of all proprietary code and features. The hobby Docker Compose deployment, installed with a deploy-hobby script, recommends a server with 4 vCPU, 16 GB of RAM and more than 30 GB of storage, according to PostHog's self-host documentation. Matomo is licensed under GPLv3 and covers web analytics. Its requirements FAQ sizes a single server with at least 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month. For session replay, OpenReplay is mostly AGPLv3 with some MIT directories and a commercially licensed ee directory, so check which directories your features depend on.

Self-hosting moves the operating work to your side. Plan for servers sized to your traffic or session volume, storage that grows with retained recordings and events, and a database that your platform team upgrades and backs up on a tested schedule. Add SSO, role-based access control, audit logs for administrator actions, and consent configuration in your tag manager, each with a named owner. Staff time recurs for upgrades and security patches, and the total cost depends on how many of these you run in-house. Before you commit, confirm with each vendor which Clarity heatmap and recording features each option covers, including heatmap types, recording playback and retention, and which of them require ee or premium licenses. Get that coverage list in writing from any implementation partner before scope is agreed.

What a move between Clarity and Google Analytics involves

This sequence moves measurement between Google Analytics 4 and Microsoft Clarity without losing history you still need or breaking consent rules. It starts with an inventory and an export, because history that is not exported before a change can be lost to retention limits, and it ends with a cutover that keeps archived records. Effort depends on your tag setup and consent tooling, so confirm it against your own environment.

  1. Inventory events, reports, recordings and heatmaps

    The analytics owner, with marketing and product leads, lists every GA4 event, custom dimension, audience and standard report in use, along with the Clarity recordings, filters and heatmaps that the team reviews. For each item, record the business question it answers and whether the new setup must rebuild, replace or retire it. Include events behind conversions and any tags that depend on consent, since these drive the tag work later. This step is done when every item has an owner and a decision, and the people who read those reports each week have signed off on the list.

  2. Export GA4 history before any change

    The analytics owner sets up the BigQuery export or uses the Google Analytics Data API to pull GA4 history before any tag changes. Standard GA4 properties have a daily BigQuery export limit of 1 million events, and BigQuery storage and processing costs apply, so confirm the expected volume and charges with your cloud team. Universal Analytics data that was not exported was permanently deleted, so treat this export as the point of no return for GA4 history. This step is done when exports land in your archive and row counts match the GA4 reports for a sample period.

  3. Run both tools in parallel

    The privacy lead and the site owner update the consent banner and Consent Mode settings so both tools read the visitor's choice before the parallel run starts. Microsoft's Clarity consent requirements have been enforced for visits from the European Economic Area, the United Kingdom and Switzerland since October 31, 2025, with Consent Mode enabled by default for those visitors. Without valid consent, Clarity limits data collection in those regions, and session recordings and behavioral analytics need valid consent. This step is done when test visits from each region show the expected tags firing and Clarity's consent state matches the banner choice.

  4. Replace tags and confirm regional settings

    The web team replaces the existing Google tag or Tag Manager configuration with the target setup and adds the Clarity tag only after the consent checks pass. Google states that GA4 does not log or store IP addresses from EU, Swiss or UK users, and that properties can disable granular location and device data per region. The privacy lead confirms which of these settings matches your policy and your data processing records. This step is done when a tag inventory maps every old tag to its replacement and each regional setting is recorded with the reason for the choice.

  5. Check Clarity retention against review cycle

    The analytics owner compares Clarity's limits with how often your team reviews sessions and heatmaps. Microsoft's Clarity FAQ states that recordings are retained for 30 days from the time of recording, that favorite recordings and a random sample are kept for up to 9 months, and that heatmaps are limited to 100,000 page views each. The Clarity Data Export API returns dashboard metrics for only the previous 1 to 3 days, with 10 requests per project per day and responses capped at 1,000 rows without pagination. If your review cycle is longer, set up a scheduled export and archive now. This step is done when a written table lists each artifact, its limit and where it is archived.

  6. Cut over and keep archived exports

    Once both tools have run side by side and dashboard owners have signed off, the analytics owner switches production tags to the target setup and removes the old tags. Archived GA4 exports and Clarity records are kept read-only for the retention period your compliance team sets, with access limited to named roles. Confirm that retention period with compliance before the old tags are removed. This step is done when the old tags are gone from the site, each dashboard owner has signed off, and a test restore from the archive opens the data without errors.

What buyers ask before choosing or switching

Is Microsoft Clarity really free, and what are the limits?

Yes. Microsoft's Clarity FAQ says Clarity is free forever, with no traffic limits, no sampling and no paid version to upgrade to. The price does not remove the data rules, though. Since October 31, 2025, Clarity enforces consent signal requirements for visits from the European Economic Area, the United Kingdom and Switzerland, and Consent Mode, which sets cookies only after valid consent, is enabled by default for those visitors. Without proper consent, Clarity limits data collection in those jurisdictions, and session recordings and behavioral analytics need valid consent there. Retention also applies: recordings are kept for 30 days from the time of recording, while favorite recordings and a random sample are kept for up to 9 months. Heatmaps are limited to 100,000 page views each. Ask your privacy team to confirm the consent setup before you rely on Clarity for visitors in those regions.

Can Microsoft Clarity replace GA4 reporting for our marketing team?

Usually only in part. Clarity's documented strengths are session recordings and heatmaps, so confirm which GA4 reports your team relies on before you assume Clarity covers them. Its Data Export API returns dashboard metrics as JSON for the previous 1 to 3 days only, allows 10 requests per project per day, takes up to three dimensions per request and caps responses at 1,000 rows without pagination. That limits how far you can use it for trend analysis, historical comparison or joins with other data. Teams that depend on GA4 explorations, funnel reports or BigQuery-based analysis should plan a separate analytics tool for those jobs. A practical first step is to list the GA4 reports and explorations your team uses each week, then mark which ones Clarity can answer and which need another home.

What does exporting GA4 data to BigQuery cost?

The export is not the main charge. BigQuery storage and processing are billed to your own Google Cloud account. Google's BigQuery export help page states that the streaming export has no volume limit but adds BigQuery charges of $0.05 per GB, and that all exports incur BigQuery storage and processing costs. Exports to a free BigQuery sandbox are possible, but exports beyond sandbox limits incur charges. Standard GA4 properties also have a daily export limit of 1 million events, so a busier site may need a larger plan or a different approach. The main cost drivers are:

  • Daily event volume and the number of parameters per event
  • How long you keep raw tables, and whether you partition or expire them
  • How often analysts query full raw tables rather than summary tables
  • Who owns the Google Cloud billing account and its budget alerts

Ask your team to measure event volume from the GA4 property before you size the export.

How is Google Analytics 360 priced, and what should a quote include?

Google does not publish a price for Analytics 360. Its marketing page presents it as the paid enterprise edition, with service level agreements across data collection through attribution and BigQuery daily export, unsampled results and enterprise-level support, and it directs buyers to sales. Ask for a written quote tied to a defined scope. The quote should state the properties and data streams covered, the expected event volume, the BigQuery export volume (Analytics 360 can export up to 20 billion events a day), the retention options, the support tier, the term length, and the renewal and price change terms. It should also say which service level agreements apply to which products, and what happens to your data at exit. Compare the quote with the cost of the components you would run yourself, such as servers, storage, engineering time and consent tooling.

What does migrating off Google Analytics involve for our team?

A migration needs four things from your team: an inventory, tag changes, a consent review and a named owner. The inventory lists every GA4 property, data stream, event, custom dimension, conversion, audience, BigQuery link, Google Ads link and report that someone uses. Tag changes cover the gtag snippet, Tag Manager containers, and any app or server-side SDK calls. The consent review checks which trackers need consent in each market, how your banner passes consent state, and which retention period you set. The owner decides what to keep, signs off the cutover and runs the parallel period. Effort rises with the number of sites and apps, the number of custom events, the number of teams that rely on GA4 reports, the consent requirements in the EEA, UK and Switzerland, and how much history you must keep. Historical imports often bring over aggregated data rather than raw events, so confirm what each target tool can import before you plan cutover, and export what you need while the GA4 property still exists.

Can our team run this in-house, or do we need outside help?

It depends on three inputs: the consent review, the data volume and the skills already in-house. If your team already owns tag management, consent tooling and a cloud data stack, much of the work can stay in-house. Outside help makes more sense when consent rules differ across EEA, UK and Swiss visitors, when event volume pushes you toward Analytics 360 or a self-hosted pipeline, or when nobody has run a server, database or upgrade cycle before. DeployOpen plans, implements, integrates, hardens, backs up, upgrades and documents self-hosted platforms inside your own infrastructure, and it prepares systems and evidence for compliance assessments. It does not issue audit reports or certifications. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish prices, so a quote follows from the written scope. Ask any provider to split its quote into discovery, consent review, implementation, parallel running and handover.

How DeployOpen helps you choose and run the option you pick

DeployOpen starts by mapping what your team measures in Google Analytics and Microsoft Clarity, including GA4 retention settings, BigQuery exports and Clarity's consent and recording limits. We then plan, implement and document the self-hosted option that fits that scope inside your own cloud account, data center or air-gapped network. Most engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • Written scope that lists each Google Analytics property, Clarity project and the events you need to keep.
  • Data-flow review covering GA4 retention settings, BigQuery exports and Clarity's consent and recording limits.
  • Consent requirements for EEA, UK and Swiss visitors, confirmed with your legal or privacy team before any build starts.

How we build

  • Installation of the chosen self-hosted platform, such as PostHog or Matomo, inside your own infrastructure.
  • Tracking setup, consent configuration, SSO and access control, and audit logging agreed in the scope.
  • Sizing from your monthly pageviews and event volumes, with license checks for any directories under separate commercial licenses.

How we hand over

  • Written runbook covering the tracking plan, retention settings, backups and the upgrade path for the platform.
  • Data-export and migration notes for moving history out of Google Analytics, including what aggregated imports cannot carry.
  • Retention review for Clarity's 30-day recordings and GA4's 2 or 14 month settings, documented for your compliance team.

How we support

  • Ongoing support, upgrades and continuous testing available as a retainer after handover.
  • Security testing of the deployed platform and its admin settings, if included in the written scope.
  • Compliance evidence prepared for your review, though independent auditors issue any audit report or attestation.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.