Google Analytics vs Heap

If you need broad web traffic reporting on Google's stack, GA4 fits; if you need session-based product analysis with user-level history and warehouse sync, Heap fits better. Both are vendor-hosted, so data control, history limits and exit terms usually decide the choice.

On this page

Google Analytics vs Heap: which fits your question?

Google Analytics fits broad web traffic reporting on Google's stack at no license cost, while Heap fits session-based product analysis with user-level history and warehouse sync. The decision usually starts with a trigger: a Heap renewal after Heap agreed on September 28, 2023 to become part of Contentsquare, or a GA4 team that hit a retention or export ceiling. Before comparing features, write down the questions your team must answer every week. If they concern marketing pages, traffic sources and conversions, GA4 covers most of them. If they concern how individual users move through a product, and whether a metric can be recalculated later from raw history, Heap's model is closer to that need. Each answer points to a different tool, so settle the questions first.

History is the next number to pull. A standard GA4 property keeps user-level and event data for 2 or 14 months, and that setting only affects explorations and funnel reports, so standard reports keep their aggregated view. Heap's pricing page lists six months of data history on Free, twelve on Growth, and one year by default on Pro and Premier, with add-ons that extend it to three years. Confirm which tier and add-on your contract includes. Then check the warehouse path: Heap Connect is not included on Free or Growth, is an add-on on Pro and is included on Premier. If your analysts need full history in your own warehouse, that line item often matters more than the dashboard.

Consent and data location are the last two questions. The CNIL's analytics guidance says most large audience measurement offerings do not fall within the consent exemption, whatever the configuration, so a team with EU visitors should assume a consent banner is needed until its legal team confirms otherwise. Google states that Google Analytics does not log or store IP addresses from EU, Swiss or UK users. Transfers to US companies rely on the EU-US Data Privacy Framework adequacy decision of July 10, 2023, which your legal team should document for each vendor. Neither tool runs in your own infrastructure. If the data must stay on your servers, the decision moves to self-hosted options such as PostHog or Matomo, which your team operates.

Google Analytics vs Heap by scenario: which fits your team

This table compares Google Analytics and Heap across six common scenarios, naming the tool that tends to fit and the condition that must hold for that advantage. Read each row as a test: if the condition is false for your team, the advantage does not carry over. The main takeaway is that both are vendor-hosted, so residency and consent needs may point toward a self-hosted option.

ScenarioBetter fitCondition that must hold
Marketing traffic reporting tied to Google's toolsGoogle AnalyticsHolds when reports must sit alongside Google Ads and Search Console. Confirm each integration you need.
Product funnels by user and sessionHeapHolds when you need retroactive user and session analysis. Check your session volume against the plan tier.
History beyond plan defaultsHeap, with add-onsPro and Premier default to one year, with add-ons to three years. Holds only if three years covers your analysis window.
Data that must land in your own warehouseHeap Connect, or GA4 with BigQuery exportHeap Connect is an add-on on Pro and included on Premier. Holds if Redshift, BigQuery, Snowflake or S3 is your warehouse.
EU sites where consent is contestedSelf-hosted MatomoHolds only if CNIL's exemption conditions are met, including a tracker lifetime of at most 13 months. Confirm with counsel.
Renewal that needs contract review after Heap joined ContentsquareNeither by default: review the Heap contractHeap agreed on September 28, 2023 to become part of Contentsquare. Ask for written terms on data, pricing and product roadmap.

How each product bills and what drives the bill

Each product bills for different things, so the same traffic can cost very different amounts. Google Analytics 4 has no license fee, but its BigQuery export carries its own charges. Heap prices by session and by the add-ons you attach. Self-hosted Matomo or PostHog trade vendor fees for servers, storage and staff time.

Google Analytics 4 standard

Standard GA4 has no license fee, so the cost you can see appears only when you export. Google's BigQuery export documentation lists $0.05 per GB for the streaming export, on top of BigQuery storage and processing. Exports to the free BigQuery sandbox are possible, but anything beyond sandbox limits is billed. Standard properties also cap the daily export at 1 million events, so high-traffic sites reach that ceiling first. Check your monthly event volume and how many days of raw tables you keep before you model the bill.

BigQuery export docs

Analytics 360 enterprise edition

Analytics 360 is Google's paid enterprise edition, sold with service level agreements, unsampled results and enterprise support. Google lists no price, and its Analytics 360 page directs buyers to sales, so the number you compare comes from a written quote. Ask the quote to state the contract term, the data retention it covers, and how the daily export ceiling of up to 20 billion events applies. BigQuery storage and processing charges apply to every export, so add them to the comparison as well.

Analytics 360 page

Heap session-based plans

Heap's Free plan covers up to 10k monthly sessions and keeps six months of data. Growth is estimated after the snippet is installed, so ask Heap to confirm the estimate against your traffic before you sign. Pro and Premier use custom session pricing, with no dollar prices published. Heap Connect, the warehouse sync, is not on Free or Growth, is an add-on on Pro, and is included on Premier. Pro and Premier default to one year of data, with add-ons extending it to three years, so history length is a cost driver too.

Heap pricing page

Self-hosted Matomo or PostHog

Matomo's core is GPLv3 licensed, so it has no license fee to pay. PostHog's MIT code is free, but its ee directory needs a paid license for premium features on a self-hosted instance, and the fully free posthog-foss repository leaves those features out. Your bill is then servers, storage, upgrades and staff time. Matomo's requirements FAQ sizes a single server at 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month. Confirm any Matomo premium plugins and PostHog ee features you need before you treat the stack as free.

PostHog self-host docs

Bill drivers and quote requests

The bill is driven by session volume on Heap, history add-ons that extend retention, warehouse sync through Heap Connect and BigQuery volume on GA4 exports. Self-hosted stacks scale with pageviews or events, storage and the hours your team spends on upgrades. Ask every vendor for a written quote that names the billing unit (sessions, events, GB or pageviews), the retention and export method included, any add-ons, the renewal terms and the charge above included volume. For a self-hosted option, request the sizing and staff hours your implementation partner assumes in its written scope.

Google Analytics vs Heap, capability by capability

This table compares Google Analytics 4 and Heap on the capabilities that usually drive a renewal or a data residency review: reporting, history limits, warehouse export, SLAs, EU collection and ownership. Read each row as a question to put to the vendor, since plan tiers and add-ons change what you pay for and what you can keep. The main takeaway is that Heap's history and warehouse sync depend on plan level, while Google's export limits and SLAs depend on whether you run a standard property or Analytics 360.

CapabilityGoogle AnalyticsHeap
Web traffic reportingStandard web reporting on GA4 properties; confirm the current report set on Google's help pages.Confirm current web analytics features and reporting depth on Heap's website before deciding.
Product and event analysis by user and sessionEvent-based explorations; retention settings apply to explorations and funnel reports only.Behavioral data organized around users and sessions; confirm current analysis features with Heap.
Retroactive sync to a warehouseDaily BigQuery export: standard properties up to 1 million events a day; Analytics 360 up to 20 billion.Heap Connect syncs behavioral data to Redshift, BigQuery, Snowflake or S3, including retroactively. Add-on on Pro, included on Premier.
History limits by planStandard: 2 or 14 months for user and event data; Analytics 360 adds 26, 38 and 50 months.Free 6 months, Growth 12 months, Pro and Premier one year by default, extendable to three years with add-ons.
Enterprise SLAs (Analytics 360 only)Analytics 360 is marketed with SLAs covering collection through BigQuery daily export, plus enterprise support.Not confirmed here; ask Heap for written SLA terms and support tiers before comparing.
EU collection handlingGoogle says it does not log or store IP addresses from EU, Swiss or UK users; properties can disable regional location and device data.Ask Heap for its EU hosting region, sub-processors and transfer terms in writing.
Licensing and ownershipProprietary Google service with no self-hosted edition; exports leave through BigQuery or the Data API.Commercial hosted service; agreed in September 2023 to become part of Contentsquare.
Session replay, heatmaps, funnels and Google Ads linkageConfirm current session replay, heatmap, funnel and Google Ads linkage features on Google's help pages.Confirm current session replay, heatmap and funnel features on Heap's website before deciding.

Google Analytics vs Heap on data control and exit

Data control and exit questions come down to five places where each tool sets limits on what you can keep, export and move. Google Analytics limits depend on property type, export path and region, while Heap's limits depend on plan and whether you pay for its warehouse sync. Check each card against your own contract and data flows before you plan a switch.

Google Analytics export paths

A standard GA4 property can export events to BigQuery daily, but the daily export is capped at 1 million events. Analytics 360 raises that cap to 20 billion events a day, and streaming export has no volume limit but adds BigQuery charges of $0.05 per GB. The Data API is a separate route with a standard property limit of 200,000 core tokens per day, which caps the report work you can request each day. Ask Google which export tier your property has and who pays the BigQuery storage and processing bill.

BigQuery export docs

GA4 retention limits

Standard GA4 properties keep user-level and event data for 2 or 14 months, and Analytics 360 adds 26, 38 and 50 month options. Google says the setting applies only to explorations and funnel reports, and standard aggregated reports are outside it. Universal Analytics access ended the week of July 1, 2024, and any data not exported by then was permanently deleted. Ask Google which retention option your property uses and whether your explorations and funnels depend on it.

Data retention docs

Google's EU data handling

Google says Google Analytics does not log or store IP addresses from users in the EU, Switzerland or the UK. Data from devices in those regions is collected on servers based there before it is forwarded for processing, and properties can disable granular location and device data by region. IP handling does not settle the transfer question. The Commission's adequacy decision of July 10, 2023 lets personal data flow to US companies that participate in the EU-US Data Privacy Framework. Ask Google which processing locations apply to your property and whether its terms cover your transfers.

EU data and privacy

Heap history and export

Heap keeps data for six months on Free and twelve months on Growth, and one year by default on Pro and Premier, where add-ons extend it to three years. Heap Connect syncs behavioral data to Redshift, BigQuery, Snowflake or S3, organized around users and sessions, and the sync can run retroactively. Heap Connect is not included on Free or Growth. It is an add-on on Pro and included on Premier, so check your tier before you plan an export. Ask Heap which history limit and Heap Connect tier your contract includes, in writing.

Heap Connect

Heap ownership and exit

Heap announced on September 28, 2023 that it had agreed to become part of Contentsquare, and its homepage now says it has joined forces with Contentsquare. Ownership changes can move terms, hosting and plan structures, so treat the combination as a reason to re-read your contract. Ask Heap, in writing, for its current data processing terms, the hosting regions for your data, notice periods for plan changes, and how complete exports and deletion work if you leave.

Heap x Contentsquare

Which path fits: a decision flow for GA4, Heap and self-hosted options

The flow starts at Need user-level product analysis? A yes points to Heap, provided its plan history and Heap Connect meet your requirements. A no moves to whether traffic reporting must tie into Google tools, and a yes there leads to Google Analytics. If the answer is no, ask whether raw data must stay in your own infrastructure. A yes leads to self-hosted PostHog or Matomo. Check each endpoint against your written requirements before choosing. Many teams run two tools in parallel during evaluation, so the path can guide a pilot instead of forcing one final choice.

Decision path from user-level analysis needs to a self-hosted option.

What a move between Google Analytics and Heap involves

This sequence moves your event definitions, historical data and tracking from Google Analytics and Heap to a new tool while keeping the questions your teams already answer. No direct import between Google Analytics and Heap is documented here, so historical data moves through a warehouse or export file. Each step closes with an output you can check before the next one starts.

  1. Inventory events, definitions and dashboards

    Start by listing every event, conversion, audience and dashboard in both tools. In Google Analytics, that means key events, custom definitions and the reports your teams open each week. In Heap, confirm which events are defined in your project and which are captured automatically, and list the segments and dashboards that depend on them. Assign an owner to each item and mark whether it must carry over, be rebuilt or be retired. The step is done when one shared spreadsheet covers every item in both tools and each owner has signed off their keep, rebuild or retire decision.

  2. Export historical data from both tools

    For Google Analytics 4, link the property to BigQuery and confirm the export is running. Standard properties have a daily export limit of 1 million events, while the streaming export has no volume limit but adds BigQuery charges of $0.05 per GB, plus storage and processing costs. For Heap, check your plan first, because Heap Connect is not included on Free or Growth, is an add-on on Pro and is included on Premier. Heap Connect syncs behavioral data to Redshift, BigQuery, Snowflake or S3, and your history is capped by plan. Confirm any vendor-provided import in writing. The step is done when both histories sit in one warehouse and row counts match the source systems.

  3. Map event and user identifiers

    Build a mapping table that links each Google Analytics event and parameter to its Heap equivalent or to the new tool's event name. For example, a GA4 page_view event may map to a pageview event in the destination (illustrative). Decide which identifier joins the Google Analytics user to the Heap user, such as user_id or the client ID, and document the cases where one person has several identifiers. Record which fields will not carry over and why. The step is done when the analytics owner and the engineers who will write the new tracking code have reviewed and approved the table.

  4. Implement and test the new tag

    Replace the gtag snippet and the Heap snippet with the new tool's tag, then remove the old tags from templates and tag managers once testing passes. Engineers should load the staging site, trigger every event in the mapping table and check the outgoing requests in browser developer tools and the new tool's debug view. If the site serves EU visitors, confirm that consent settings block or allow the tag as your legal team has decided, and test both outcomes. The step is done when every mapped event arrives with the expected properties on staging and a second person has repeated the test from a clean browser profile.

  5. Run both tools in parallel

    Keep Google Analytics and Heap collecting while the new tool runs on production traffic. Compare daily event counts and the key funnels and dashboards from step one across the same date ranges, and log each difference with its likely cause, such as consent settings, ad blockers or a missed event. Agree the acceptable gap with the business owners in writing before the comparison starts. The step is done when those owners sign off the parallel results, the export and retention settings are saved for the record, and the old tags are scheduled for removal.

When PostHog or Matomo fits better, and what running it involves

PostHog fits better when product analytics, session replay and feature flags should run on servers you control, under one tool. Its core is MIT licensed, but the ee directory needs a PostHog license for premium features on a self-hosted instance, so list the features your team uses and check each one before you commit. If every component must be fully free software, the posthog-foss repository is purged of all proprietary code and features, so anything that depends on ee is absent there. For a trial, PostHog's self-host documentation describes a Docker Compose hobby deployment under MIT, installed with a deploy-hobby script, on a server recommended at 4 vCPU, 16 GB of RAM and more than 30 GB of storage. Treat that as a test setup and ask the vendor to confirm what a production deployment needs.

Matomo fits better when the need is web analytics on GPLv3 software that your own team configures. CNIL's sheet 16 sets conditions under which audience measurement can run without consent, including limiting purposes to audience measurement and A/B testing, truncating the last byte of the IP address and keeping tracker lifetime at 13 months at most, with no cross-checking against other processing. Whether your Matomo configuration meets every condition is a question for counsel and your privacy team to confirm, and a tool setting alone does not settle it. Matomo's requirements FAQ lists 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 higher volumes, the same FAQ describes separate app and database servers, so count your monthly pageviews before you choose hardware.

Either tool moves cost into staff time and recurring operations. Budget for upgrades, which should be tested against each release's stated PHP and database requirements on a copy before production, for backups of the database and configuration with restore tests, for SSO for admin and viewer access (confirm each tool's SSO options), and for access logging that shows who opened raw visit data. Consent setup, tag configuration and the records your privacy team keeps also sit with your staff. For Heap, the documented route is a scripted migration through Heap Connect, which is not included on Free or Growth, is an add-on on Pro and is included on Premier. Confirm your plan includes it before you start. Managed migrations cover Mixpanel and Amplitude only, so the Heap script and its engineering time sit with your team or your implementation partner.

What buyers ask before choosing between Google Analytics and Heap

How much does Google Analytics cost compared with Heap?

Neither vendor publishes a dollar price for the plans that most larger teams buy, so the bill depends on the edition, usage and exports. Google's paid enterprise edition, Analytics 360, has no published price, and Google directs buyers to sales. Heap's pricing page lists Free, Growth, Pro and Premier plans. Free covers up to 10k monthly sessions, Growth is estimated after you install the snippet, and Pro and Premier use custom session pricing. On the Google side, the streaming BigQuery export has no volume limit but adds charges of $0.05 per GB, and every export carries BigQuery storage and processing costs. On the Heap side, Heap Connect is an add-on on Pro and included on Premier, and data history is one year by default on Pro and Premier, extendable to three years with add-ons. Ask each vendor for a written quote based on your monthly sessions or events, the history length you need and your warehouse export plan.

Can you leave a Heap contract cleanly, and what data comes with you?

A clean exit depends on what you export before termination, and the signed order form sets the notice period and end date. The export path Heap documents is Heap Connect, which syncs behavioral data to Redshift, BigQuery, Snowflake or S3, organized around users and sessions, and it syncs data even retroactively. Heap Connect is not included on Free or Growth, is an add-on on Pro and is included on Premier, so a team on a lower plan may have no warehouse copy to take with it. Data history limits also matter: six months on Free, twelve months on Growth, and one year by default on Pro and Premier. Confirm in writing the termination date, whether historical data stays accessible after the contract ends, the export format and any fees for a final export. Run a full export before you give notice, and check that the copy loads into your target tool.

How long does a migration off Heap take, and what changes the timeline?

No published source gives a migration duration, so the timeline depends on the history you move, the event volume and how much tracking must be rebuilt. History is the first driver, because each platform limits what it can import. PostHog's managed migrations import historical events from Mixpanel and Amplitude with at most one year of data per import job, and PostHog documents a scripted route from Heap through Heap Connect. Event volume is the second driver. Google's standard GA4 properties face a daily BigQuery export cap of 1 million events, so high-volume sites may need to stage exports over several days. Matomo's and Plausible's Google imports bring over aggregated report data only, so raw visitor logs and segments will not carry over. Ask your provider to estimate duration against a written event inventory and a defined history window, and to list which dashboards and funnels will be rebuilt.

Does Heap's Contentsquare ownership change which tool to pick?

Ownership affects roadmap, support and data terms, and none of those are fixed by a published fact, so confirm them in writing before you decide. Heap announced on September 28, 2023 that it had agreed to become part of Contentsquare, and its homepage now says Heap has joined forces with Contentsquare. Heap describes the combined offer as an experience analytics platform. The Hotjar case shows what a merger can change: Hotjar is now part of Contentsquare, and it is no longer possible to create a new Hotjar account. Ask Heap whether product direction, plan structure, data residency and export tooling will change during the integration, and whether any contract terms are being revised. If the direction of a vendor you do not control matters to your roadmap, compare that risk with a self-hosted option where your team sets the upgrade schedule and the data location.

Can our own team run a migration off Heap without outside help?

Yes, a team with experience in tracking code, data pipelines and server operations can run the work itself, but the migration needs those skills in-house for the full project. Start with the target platform's hosting requirements. PostHog's self-host documentation offers a free Docker Compose hobby deployment under the MIT license, installed with a deploy-hobby script, and recommends a server equivalent to 4 vCPU, 16 GB of RAM and more than 30 GB of storage. PostHog's ee directory needs a paid license for premium features on self-hosted instances, so confirm which features you need before you choose the free build. The software carries no license fee for the core, so most of the cost is staff time for installation, event mapping, upgrades, backups and monitoring. If no one on the team has rebuilt tracking before, a fixed-scope engagement with written deliverables sets a defined end state. DeployOpen plans, implements, integrates, hardens, backs up and upgrades self-hosted platforms in your own infrastructure, and most engagements are fixed-scope with scope agreed in writing before work starts.

What does a Heap or Google Analytics migration need from our team?

The work needs a named owner on your side, a complete event inventory, access to every system involved and sign-off at each stage. The inventory should list each tracked event, its properties, the pages or flows it covers, and the reports and dashboards that depend on it. Access usually means read access to the Heap or Google Analytics property, admin access to your tag manager or site code, a warehouse account if you export there, and access to the environment where the new platform will run. Sign-off is needed for the event naming scheme, the consent and retention settings, and the cutover date with a parallel-run period. If you use Google Analytics in the EU, decide early how consent and IP handling will work, because the conditions France's CNIL sets for an analytics exemption depend on configuration. Ask your provider to write each input into the scope with an owner and a due date.

How DeployOpen helps you choose and run the alternative

DeployOpen approaches Google Analytics vs Heap as a scoped implementation project inside your own infrastructure. We start from the events, retention and data exports your teams need, then compare PostHog and Matomo against that list before anything is built. Every engagement is fixed-scope, with deliverables agreed in writing first.

How we scope

  • The written scope lists which Heap events, sessions and user properties need a home in the new tool.
  • It also documents which Heap plan features, such as Heap Connect exports and data history, the replacement must cover.
  • Engagements are fixed-scope, and ongoing support is available as a retainer.

How we build

  • We deploy the chosen platform in your cloud account, data center or air-gapped network.
  • We integrate SSO, access control and audit logging, then test the tracking code against the scoped event list.
  • Hardening covers the server, database and backup settings, and each setting is documented for your reviewers.

How we hand over

  • Handover includes configuration documentation, the event mapping, and runbooks for upgrades and backups.
  • Historical Heap data moves only where the import path supports it, and gaps are written down.
  • Where Heap Connect feeds a warehouse, we plan to keep that sync running until cutover is confirmed.

How we support

  • Ongoing support covers upgrades, backups and continuous testing under a retainer, if you choose one.
  • Security testing of the analytics deployment can cover the application, its APIs and the hosting infrastructure.
  • We prepare compliance evidence, such as access settings and audit logs, for independent auditors, who issue any reports.

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.