Analytics Compliance

Privacy Policy for Google Analytics: What You Must Disclose to Visitors

Google requires every website using Google Analytics to have a privacy policy that discloses it. Learn exactly what GA4 collects, consent requirements, and how to stay compliant.

Ideal for site owners and developers.

Quick answer: Yes, you need a privacy policy if you use Google Analytics. Section 7 of the Google Analytics Terms of Service mandates it. Your policy must name Google Analytics, describe what data is collected, explain cookie usage, and provide an opt-out mechanism. Failing to comply can result in account termination.
AK
Written by Anupam Kumar
Last updated: March 2026
12 min read
Reviewed for compliance
1

Why Google Analytics Requires a Privacy Policy

It is not optional. Section 7 of the Google Analytics Terms of Service explicitly states that you must have and abide by an appropriate privacy policy. This policy must inform visitors that you use cookies, collect data, and share information with Google.

Beyond Google's own requirements, privacy laws like the GDPR and CCPA also mandate disclosure of all third-party analytics tools. Without proper disclosure, you risk both legal penalties and losing your Google Analytics account.

Google TOS mandate: "You must post a Privacy Policy and that Privacy Policy must provide notice of Your use of cookies, identifiers for mobile devices, or similar technology used to collect data." Violating this can result in account suspension or termination.
Did you know? Google has terminated Analytics accounts for TOS violations, including failure to maintain a compliant privacy policy. Once terminated, all historical data is permanently deleted.

What happens if I use GA without a privacy policy?

You violate Google's Terms of Service, which can lead to account termination. Under GDPR, you could face fines up to 4% of annual revenue. Under CCPA, penalties can reach $7,500 per intentional violation.


2

What GA4 Collects

Every data point GA4 captures that you must disclose in your privacy policy.

Data TypeDetailsDisclosure Required
Cookies_ga, _ga_<id> first-party cookies with client IDsYes, always
IP AddressCollected but not logged in GA4 (anonymized by default)Yes, mention collection
Device InfoBrowser, OS, screen resolution, device categoryYes
Pages ViewedPage URLs, page titles, and page referrerYes
Session DurationTime spent on site, engagement time per pageYes
ReferrerTraffic source, campaign parameters, mediumYes
DemographicsAge, gender, interests (if enabled via Google Signals)Yes, if enabled
User IDCustom user identifier (if you configure it)Yes, if implemented
EventsClicks, scrolls, file downloads, video plays, form submissionsYes
ConversionsGoals, purchase events, custom conversion eventsYes
Did you know? GA4 automatically collects "enhanced measurement" events like scroll depth, outbound clicks, site search, and file downloads without any extra code. Your privacy policy should cover these automatic collections even if you did not explicitly set them up.

3

GA4 vs Universal Analytics Privacy Differences

Google sunsetted Universal Analytics (UA) in July 2023 and replaced it with GA4. The privacy model changed significantly. If your privacy policy still references Universal Analytics, it needs updating.

FeatureUniversal AnalyticsGA4
IP StorageFull IP logged by defaultIP not stored (anonymized by default)
Cookie TypeThird-party and first-partyFirst-party cookies only
Consent ModeNot built inNative Consent Mode v2
Cookieless TrackingNot supportedSupported via modeling
Data RetentionUp to 50 months2 or 14 months (default 2)
User DeletionManual processBuilt-in user deletion API


5

IP Anonymization and Data Retention Settings

IP Anonymization in GA4

GA4 anonymizes IP addresses by default. Unlike Universal Analytics where you had to manually enable anonymize_ip, GA4 never stores full IP addresses. However, the IP is still briefly processed for geolocation before being discarded. You should still disclose that IP addresses are collected and processed.

Data Retention Configuration

GA4 offers two retention periods: 2 months or 14 months. The default is 2 months. This applies to user-level and event-level data, not aggregated reports. For GDPR compliance, shorter retention periods are recommended. Configure this in Admin > Data Settings > Data Retention.

User Data Deletion

GA4 provides a User Deletion API and a manual deletion tool in the admin interface. When a user requests data deletion under GDPR or CCPA, you can delete their data by client ID or user ID. Your privacy policy should explain this right and how users can exercise it.

Did you know? Even with GA4's default IP anonymization, several EU data protection authorities initially ruled that Google Analytics violated GDPR due to data transfers to the US. Google addressed this with the EU-US Data Privacy Framework in 2023, but you should still mention international data transfers in your policy.

6

Google Signals and Remarketing

If you enable Google Signals or use Google Analytics data for remarketing, your privacy obligations increase significantly. These features link analytics data to Google accounts, enabling cross-device tracking and personalized advertising.

Google Signals

When enabled, Google Signals collects demographics and interest data from users who have turned on Ads Personalization in their Google accounts. This enables cross-device reporting. Your privacy policy must disclose that you collect demographic and interest data, and you must link to Google's Ads Settings page where users can opt out.

Remarketing and Advertising Features

If you use GA4 data for Google Ads remarketing audiences, you must disclose this practice. Visitors must be informed that their browsing data may be used to show them targeted ads on other websites. This is closely related to your Google AdSense disclosure requirements.


7

Server-Side Tracking

Server-side Google Tag Manager (sGTM) allows you to route GA4 data through your own server before sending it to Google. While this gives you more control over data, it does not eliminate the need for a privacy policy.

Privacy Benefits of Server-Side Tracking

  • You can strip or redact personal data before it reaches Google
  • IP addresses can be removed at the server level
  • First-party cookies are set from your own domain
  • Reduced exposure to ad blockers and browser restrictions
Important: Server-side tracking does not bypass consent requirements. You still need cookie consent in the EU, and you must still disclose data collection in your privacy policy. The data is still being collected from visitors, just routed differently.

8

How to Write the GA Disclosure

Follow these six steps to create a complete Google Analytics disclosure for your website privacy policy.

Step 1: Name the tool

State that your website uses Google Analytics, a web analytics service provided by Google LLC (or Google Ireland Limited for EU users). Use the exact product name.

Step 2: Describe what is collected

List the categories of data GA4 collects: cookies, anonymized IP addresses, pages viewed, session duration, device and browser information, referral sources, and any custom events you track.

Step 3: Explain the purpose

State why you use Google Analytics. Common purposes include understanding visitor behavior, improving website content, measuring marketing campaign performance, and identifying technical issues.

Step 4: Disclose data sharing with Google

Explain that collected data is transmitted to and processed by Google on servers that may be located in the United States. Reference the EU-US Data Privacy Framework if applicable.

Step 5: Provide opt-out information

Link to the Google Analytics Opt-out Browser Add-on (tools.google.com/dlpage/gaoptout) and explain how visitors can manage cookie preferences through your consent banner.

Step 6: Link to Google's privacy policy

Include a direct link to Google's privacy policy (policies.google.com/privacy) and their partner data usage page (policies.google.com/technologies/partner-sites) for full transparency.

If you use WordPress, many GA plugins include basic disclosure templates, but these rarely cover all requirements. Review and customize them to include every data type listed above.


9

5 Common Mistakes to Avoid

Not mentioning Google Analytics by name

Vague language like 'we use analytics tools' is insufficient. Google's TOS requires you to specifically name Google Analytics in your privacy policy.

Firing GA tags before consent in the EU

Loading the GA script before obtaining cookie consent violates the ePrivacy Directive. Use Google Consent Mode or defer script loading until consent is granted.

Referencing Universal Analytics settings

If your policy still mentions UA tracking IDs (UA-XXXXX), anonymize_ip configuration, or UA-specific cookies, it is outdated. Update it for GA4.

Forgetting to disclose Google Signals or remarketing

If you have Google Signals enabled or use GA audiences for ads, these create additional data processing that must be separately disclosed in your policy.

No opt-out mechanism provided

Your policy must tell visitors how to opt out. At minimum, link to the Google Analytics Opt-out Add-on and provide a cookie settings control on your site.


10

Frequently Asked Questions

Does Google require a privacy policy for Google Analytics?

Yes. Section 7 of the Google Analytics Terms of Service requires you to have a privacy policy that discloses your use of Google Analytics, including how data is collected and processed. Failure to comply can result in account termination.

What must I disclose about Google Analytics in my privacy policy?

You must disclose that you use Google Analytics, what data it collects (cookies, IP addresses, browsing behavior), why you collect it, how Google processes the data, and how visitors can opt out. You should also link to Google's own privacy policy.

Does GA4 use cookies?

Yes. GA4 uses first-party cookies (primarily _ga and _ga_<container-id>) to distinguish unique users and sessions. These cookies store a randomly generated client ID and have a default expiration of 2 years for _ga and 24 hours for session cookies.

Is Google Analytics GDPR compliant?

Google Analytics can be used in a GDPR-compliant manner, but the responsibility falls on the website owner. You must obtain cookie consent before firing GA tags in the EU/EEA, configure appropriate data retention periods, and sign a Data Processing Agreement with Google.

Do I need cookie consent for Google Analytics?

In the EU/EEA and UK, yes. The GDPR and ePrivacy Directive require prior consent before setting non-essential cookies. In the US, requirements vary by state. California's CCPA requires disclosure but not prior consent for analytics cookies.

Can I use Google Analytics without cookies?

GA4 supports a cookieless mode through Google Consent Mode v2. When a user declines cookies, GA4 can still collect anonymized, aggregated data using pings without setting cookies. However, this provides less granular data and still requires disclosure in your privacy policy.

Do I need a separate cookie policy for Google Analytics?

While not strictly required by Google, having a dedicated cookie policy is best practice and required in the EU. It should list the specific GA cookies (_ga, _ga_<id>), their purpose, and their expiration. You can include this in your main privacy policy or as a separate page.


Generate Your Google Analytics Privacy Policy

Stop worrying about compliance. Generate a privacy policy that properly discloses Google Analytics and meets GDPR requirements.

Free previewOne-time paymentGA4-ready

Structured around widely accepted GDPR and CCPA requirements. Not legal advice.


Related Resources