{"id":785,"date":"2022-03-02T10:22:00","date_gmt":"2022-03-02T10:22:00","guid":{"rendered":"https:\/\/www.cookiebot.com\/en\/?p=785"},"modified":"2026-03-12T08:19:07","modified_gmt":"2026-03-12T08:19:07","slug":"google-analytics-gdpr","status":"publish","type":"post","link":"https:\/\/www.cookiebot.com\/us\/google-analytics-gdpr\/","title":{"rendered":"Is Google Analytics 4 GDPR compliant?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-what-is-google-analytics\">What is Google Analytics?<\/h2>\n\n\n\n<p>Google Analytics is Google\u2019s popular and powerful traffic analytics tool that enables deep, real-time insights into how your website is being used, how much, and by whom.<\/p>\n\n\n\n<p>Using Google Analytics is like having access to a live map of your website in real time, enabling you to see how your users are moving around. Where are they traveling to and from, and what are they doing while they\u2019re on your domain? What catches their attention, and what makes them shy away?<\/p>\n\n\n\n<p>Data like this provides valuable insights into how your domain is performing, e.g. for articles, ecommerce, etc., highlighting strong and weak spots so that you can optimize it on the fly, or with rich data and analysis over time.<\/p>\n\n\n\n<p>Being able to see all of this data in context, presented neatly into graphs and statistics, can be an eye-opener for website operators.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-does-google-analytics-work\">How does Google Analytics work?<\/h2>\n\n\n\n<p>On a technical level, Google Analytics works through JavaScript tags that run in your website\u2019s source code and is usually operated with <a href=\"\/en\/google-tag-manager\/\">Google Tag Manager<\/a>. These tags, when executed by a user\u2019s browser, collect data about users and their interactions on your site.<\/p>\n\n\n\n<p>At the other end, these JavaScript tags running Google Analytics set <a href=\"\/en\/tracking-cookies\/\">tracking cookies<\/a> on users\u2019 browsers that collect personal data. These cookies are used to track individual behavior across pages of the site and over multiple sessions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-the-difference-between-google-analytics-4-and-universal-analytics\">What is the difference between Google Analytics 4 and Universal Analytics?<\/h2>\n\n\n\n<p>Universal Analytics was Google\u2019s primary analytics tool until July 2023, when it was deprecated in favor of Google Analytics 4, which was launched in October 2020. Google Analytics 4 introduced several key differences in its approach to data measurement and user privacy.<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list cb-rounded has-background\">\n<li>Google Analytics 4 uses an event-based measurement model to capture more granular user interactions, in contrast to Universal Analytics\u2019 session-based data model.<\/li>\n\n\n\n<li>Website owners can disable collection of granular location data, such as city, latitude and longitude, and collection of device data such as screen resolution and device brand, among others.<\/li>\n\n\n\n<li>Website owners can <a href=\"https:\/\/support.google.com\/analytics\/answer\/9940393#zippy=,in-this-article\" target=\"_blank\" rel=\"noreferrer noopener\">delete user data<\/a> on request.<\/li>\n\n\n\n<li>By default, Google Analytics 4 does not log or store <a href=\"https:\/\/support.google.com\/analytics\/answer\/12017362?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">IP addresses<\/a> from EU users.<\/li>\n\n\n\n<li>Website owners can set <a href=\"https:\/\/support.google.com\/analytics\/answer\/7667196?hl=en&amp;ref_topic=2919631\" target=\"_blank\" rel=\"noreferrer noopener\">how long data is retained<\/a> by Google Analytics 4 prior to deletion.<\/li>\n\n\n\n<li>Website owners can disable the collection of Google Signals data on a per-region basis, which includes data used for certain advertising features.<\/li>\n<\/ul>\n\n\n\n<p>Since Universal Analytics no longer collects new data, this article will focus on Google Analytics 4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-google-analytics-4-and-gdpr-compliance\">Google Analytics 4 and GDPR compliance<\/h2>\n\n\n\n<p>Let\u2019s go into a bit more detail on the EU\u2019s GDPR, what implications it has for your website, and what kind of cookies Google Analytics uses.<\/p>\n\n\n\n<p>The GDPR is a data privacy regulation that covers the European Union and European Economic Area. It protects all personal data of individuals residing in those regions. (It doesn\u2019t matter if companies using GA4 and collecting data are not located in the EU.) The GDPR has strict requirements for how websites, companies, and organizations all around the world are allowed to collect and process such data, including through <a href=\"\/en\/cookie-consent\/\">cookie consent<\/a>.<\/p>\n\n\n\n<p>The GDPR applies to any website, anywhere in the world, if it processes personal data from residents of the EU. It requires you to ask for and obtain the explicit consent from EU residents prior to any processing of their personal data.&nbsp;<\/p>\n\n\n\n<p>The GDPR allows for six legal bases for data processing, of which consent is one. It\u2019s among the most commonly used where consumers\u2019 data and privacy are concerned.<\/p>\n\n\n\n<p>Personal data under the GDPR is any kind of data that could identify an individual either directly or indirectly, alone or combined with other data points. Included in this definition are common online identifiers such as:<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list cb-rounded is-style-cb-checked-list has-background\">\n<li>unique IDs<\/li>\n\n\n\n<li>ClientIDs<\/li>\n\n\n\n<li>IP addresses<\/li>\n\n\n\n<li>search and browser history<\/li>\n<\/ul>\n\n\n\n<p>Cookies serve a range of purposes, including functionality, performance, statistics and targeted advertisement. Some cookies are necessary for your website to work, and some are not, but are valuable for business operations. Some enhance user experience, some serve for monitoring and user profiling, and some do both. This is where Google Analytics and the GDPR overlap, because Google Analytics uses cookies to <a href=\"\/en\/website-tracking\/\">track your website\u2019s users<\/a> and their behavior.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" height=\"450\" width=\"900\" src=\"https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/google_analytics_4_and_gdpr_compliance.svg\" alt=\"\" class=\"wp-image-16624\" srcset=\"https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/google_analytics_4_and_gdpr_compliance.svg?v=37051682e12157f3 150w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/google_analytics_4_and_gdpr_compliance.svg?v=37051682e12157f3 300w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/google_analytics_4_and_gdpr_compliance.svg?v=37051682e12157f3 768w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/google_analytics_4_and_gdpr_compliance.svg?v=37051682e12157f3 1024w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/google_analytics_4_and_gdpr_compliance.svg?v=37051682e12157f3 900w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Does Google Analytics 4 use cookies?<\/h2>\n\n\n\n<p>Google Analytics 4\u2019s gtag.js JavaScript library uses first-party cookies to distinguish between users and unique sessions from users.<\/p>\n\n\n\n<p>Only necessary or essential cookies are allowed to function on your website without user consent, because they are strictly necessary for the basic functions and user experience on your domain.<\/p>\n\n\n\n<p>Google Analytics 4 sets the following cookies when in use on your website:<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list cb-rounded has-background\">\n<li>_ga (cookie used to distinguish individual users on your domain, expires after 2 years)<\/li>\n\n\n\n<li>_ga &lt;container-id&gt; (used to persist session state, expires after 2 years)<\/li>\n<\/ul>\n\n\n\n<p>Google Analytics 4 cookies are stored in your users\u2019 browsers when they arrive on your website. This is how Google Analytics 4 can distinguish among and remember each individual user and present you with a detailed map of their journey to and from your domain, as well as their activities while there.<\/p>\n\n\n\n<p>These cookies are used for tracking and analytics purposes rather than being essential for website functionality, so they do not fall into the \"necessary cookies\" category. If you use Google Analytics 4, it is suggested that you obtain explicit user consent prior to their activation to be compliant with the GDPR.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What are the categories of data that Google Analytics 4 collects?<\/h2>\n\n\n\n<p>Google Analytics 4\u2019s <a href=\"https:\/\/support.google.com\/analytics\/answer\/11593727?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">data collection categories<\/a> from cookies include:<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list cb-rounded is-style-cb-checked-list has-background\">\n<li><strong>User data<\/strong>, including information about the user's device, browser, and operating system to understand your audience\u2019s technical demographics<\/li>\n\n\n\n<li><strong>Session data<\/strong>, such as session duration, pages visited, and the sequence of pages viewed<\/li>\n\n\n\n<li><strong>Traffic source data,<\/strong> how users arrived at your site<\/li>\n\n\n\n<li><strong>Event data<\/strong> on specific actions or events triggered by users, such as page views, button clicks, product views, additions to cart, purchases, file downloads, and custom events defined by the site owner<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-is-google-analytics-4-gdpr-compliant\">Is Google Analytics 4 GDPR compliant<strong>?<\/strong><\/h2>\n\n\n\n<p>Google Analytics 4 has some features that are part of Google\u2019s EU-focused data and privacy approach. These include:<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list cb-rounded has-background\">\n<li>not storing or logging IP addresses of EU users<\/li>\n\n\n\n<li>enabling data deletion<\/li>\n\n\n\n<li>optional disabling of granular location data<\/li>\n\n\n\n<li>optional setting of custom data retention periods<\/li>\n\n\n\n<li>optional disabling of collection of Google Signals data for a specific region<\/li>\n<\/ul>\n\n\n\n<p>However, GDPR compliance is complex, and Google Analytics 4 use on its own is neither compliant nor noncompliant with the GDPR. So how can you make sure your website\u2019s use of Google Analytics 4 is GDPR compliant? And how do you balance Google Analytics 4, cookies, and end-user consent on your website to still get valuable statistics and insights without breaking European data protection laws, and the trust of your users?Let\u2019s do a quick breakdown of Google Analytics 4 GDPR compliance on your website.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" height=\"450\" width=\"900\" src=\"https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/is_google_analytics_4_gdpr_compliant_.svg\" alt=\"\" class=\"wp-image-16625\" srcset=\"https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/is_google_analytics_4_gdpr_compliant_.svg?v=9f2ec2170087448a 150w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/is_google_analytics_4_gdpr_compliant_.svg?v=9f2ec2170087448a 300w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/is_google_analytics_4_gdpr_compliant_.svg?v=9f2ec2170087448a 768w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/is_google_analytics_4_gdpr_compliant_.svg?v=9f2ec2170087448a 1024w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/is_google_analytics_4_gdpr_compliant_.svg?v=9f2ec2170087448a 900w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-steps-for-gdpr-compliant-google-analytics-4-data-collection\">Steps for GDPR-compliant Google Analytics 4 data collection<\/h2>\n\n\n\n<p>Here\u2019s a step-by-step guide on how to get valid GDPR consent for Google Analytics 4 and cookie use on your website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-1-obtain-valid-end-user-consent-for-google-analytics-4\">Step 1: Obtain valid end-user consent for Google Analytics 4<\/h3>\n\n\n\n<p>You must ask for and obtain the explicit and informed consent from your users in order to use Google Analytics in compliance with the GDPR on your website.<\/p>\n\n\n\n<p>Valid consent under the GDPR looks like this:<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list cb-rounded is-style-cb-checked-list has-background\">\n<li>must be obtained before any activation of cookies or other trackers (apart from strictly necessary cookies)<\/li>\n\n\n\n<li>consents must be granular, i.e. users must be able to consent to all data processing purposes (for the data collected via cookie use), some purposes, or none<\/li>\n\n\n\n<li>must be freely given, so it is not valid to use pre-checked boxes or manipulative design elements to trick or force people into consenting<\/li>\n\n\n\n<li>must be as easy to change or withdraw consent as it is to give it<\/li>\n\n\n\n<li>must be securely stored as legal documentation and can be requested by data protection authorities or users via data access requests<\/li>\n\n\n\n<li>must be renewed if the purposes for use or types of data collected change, or at a required interval (check regulations relevant to your company), often once per year, though some data protection guidelines recommend more frequent renewal, e.g. every 6 months<\/li>\n<\/ul>\n\n\n\n<p>Using a GDPR-compliant <a href=\"\/en\/cookie-banner\/\">cookie banner<\/a> via Cookiebot consent management platform (CMP) enables you to obtain user consents that meet GDPR consent requirements.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-2-create-a-comprehensive-privacy-and-cookie-policy\">Step 2: Create a comprehensive privacy and cookie policy<\/h3>\n\n\n\n<p>Your <a href=\"\/en\/privacy-policy-generator-gdpr\/\">privacy policy<\/a> must provide detailed information about the data processing on your site, including the purposes for which you collect data, the kinds of data you collect, and who you share it with.<\/p>\n\n\n\n<p>Your <a href=\"\/en\/cookie-policy\/\">cookie policy<\/a> can be a separate document, or it may be a part of your privacy policy. It must include detailed information about all cookies and other tracking technologies in use on your website, including Google Analytics 4 cookies, what purposes they serve, and how users can consent to or deny their use.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-3-use-google-consent-mode-with-google-analytics-4\">Step 3: Use Google Consent Mode with Google Analytics 4<\/h3>\n\n\n\n<p>With <a href=\"\/en\/google-consent-mode\/\">Google Consent Mode<\/a>, you can manage Google Analytics, cookies, and GDPR user consent all at once to secure privacy-compliant analytics and insights for your website. Google Consent Mode launched on September 3, 2020 and was updated in November 2023. It is a huge step in achieving a balance on your website between data privacy compliance and analytics insights. It\u2019s designed to signal users\u2019 consent preferences to Google tags and other services.<\/p>\n\n\n\n<p>The \u201canalytics_tag\u201d tag setting enables Google Consent Mode to adjust the behavior of analytics cookies or statistics cookies so that they don\u2019t fire unless the user gives explicit consent.<\/p>\n\n\n\n<p>If users don\u2019t give their consent to statistics cookies, Google Consent Mode makes sure that you still get aggregate and non-identifying insights into your website\u2019s performance, such as:<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list cb-rounded is-style-cb-checked-list has-background\">\n<li>timestamps<\/li>\n\n\n\n<li>user agents<\/li>\n\n\n\n<li>referrers<\/li>\n\n\n\n<li>other basic measurements for modeling<\/li>\n<\/ul>\n\n\n\n<p>Google Consent Mode helps enable compliance with the GDPR and requirements Google has levied on its customers, while also contributing to optimized analytics data, respecting both end-user privacy and your need for data and user insights to drive marketing operations.<\/p>\n\n\n<div class=\"cta-block cta-block--size-s cta-block--only-buttons cb-ctx--blue\">\n        <div class=\"cta-block__glass\">\n        <div class=\"cta-block__inner\">\n            <div class=\"cta-block__left-column\">\n                                                    <h2 class=\"cta-block__title no-default-margin like-h4\">\n                        Cookiebot CMP integrates with Google Consent Mode                    <\/h2>\n                                                    <div class=\"cta-block__description like-text-md\">\n                        <p>Achieve GDPR compliance without sacrificing analytics accuracy or campaign performance<\/p>\n                    <\/div>\n                                                                                                                                                        <\/div>\n                            <div class=\"cta-block__right-column\">\n                                                                <div class=\"cta-block__buttons\">\n                                                    <div class=\"cta-block__buttons__button-wp\">\n                                <a id=\"a2c3dddf-dfad-46ba-b321-d85c00e47a4b\" class=\"cb-button cb-button-size-l cb-button-contained  no-default-link-decoration cb-button-icon-right cta-block__buttons__button\" href=\"https:\/\/admin.cookiebot.com\/signup\" target=\"_blank\">\n<span>Try for free<\/span><\/a>\n                                                            <\/div>\n                                                                        <\/div>\n                                                        <\/div>\n                    <\/div>\n    <\/div>\n<\/div>\n\n\n\n<div class=\"cb-spacer\" style=\"--cb-height--d:40px;;--cb-height--t:40px;;--cb-height--m:40px;\">\n<\/div>\n\n\n<div class=\"cta-block cta-block--size-s cta-block--only-buttons cb-ctx--blue\">\n        <div class=\"cta-block__glass\">\n        <div class=\"cta-block__inner\">\n            <div class=\"cta-block__left-column\">\n                                                    <h2 class=\"cta-block__title no-default-margin like-h4\">\n                        Unlock consent-driven marketing opportunities with Cookiebot CMP and Google Consent Mode v2                    <\/h2>\n                                                                                                                                                                        <\/div>\n                            <div class=\"cta-block__right-column\">\n                                                                <div class=\"cta-block__buttons\">\n                                                    <div class=\"cta-block__buttons__button-wp\">\n                                <a id=\"94aa6656-b2f0-48dc-b515-464d851441de\" class=\"cb-button cb-button-size-l cb-button-contained  no-default-link-decoration cb-button-icon-right cta-block__buttons__button\" href=\"https:\/\/admin.cookiebot.com\/signup\" target=\"_blank\">\n<span>Sign up now for your 14-day free trial<\/span><\/a>\n                                                            <\/div>\n                                                                        <\/div>\n                                                        <\/div>\n                    <\/div>\n    <\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Enter into a Data Processing Agreement with Google<\/h3>\n\n\n\n<p>A Data Processing Agreement (DPA) is a legally binding contract required in some instances under the GDPR, that sets out the rights and obligations of the data controller \u2014 in this case, your company \u2014 and the data processor \u2014 in this case, Google \u2014 regarding the processing and protection of personal data.<\/p>\n\n\n\n<p>The GDPR mandates that a DPA must include certain provisions, such as:<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list is-style-cb-checked-list cb-rounded has-background\">\n<li>information about the data collected and processed<\/li>\n\n\n\n<li>duration of processing<\/li>\n\n\n\n<li>nature and purpose(s) of the processing<\/li>\n\n\n\n<li>types of personal data and categories of data subjects<\/li>\n\n\n\n<li>the obligations and rights of the data controller and data processor<\/li>\n\n\n\n<li>requirements for security for the data and processing operations<\/li>\n<\/ul>\n\n\n\n<p>The DPA can be a critical element in the GDPR framework, helping to ensure that when a data controller outsources data processing activities to a data processor, the latter handles personal data in compliance with the regulation. While processors do have responsibilities for security and compliant processing, ultimate responsibility for GDPR-compliant processing and data protection lies with the data controller. <\/p>\n\n\n\n<p>You can <a href=\"https:\/\/support.google.com\/analytics\/answer\/3379636\" target=\"_blank\" rel=\"noreferrer noopener\">follow these steps to accept Google\u2019s DPA<\/a> from your Google Analytics account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Google Analytics 4 and GDPR-compliant advertising practices<\/h2>\n\n\n\n<p>Google Analytics is a statistics and marketing tool that digital advertisers often use to measure the effectiveness of their online advertising campaigns, segment audiences, track conversions and create remarketing campaigns.<\/p>\n\n\n\n<p>There are also requirements from Google for advertisers, including those that use Google Analytics 4, that collect data from or serve ads to users in the EU and EEA in compliance with the GDPR.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-iab-transparency-and-consent-framework-integration\">IAB Transparency and Consent Framework integration<\/h3>\n\n\n\n<p>The Interactive Advertising Bureau (IAB) Europe\u2019s Transparency and Consent Framework (TCF) enables standardized user consent collection and management in accordance with GDPR requirements.<\/p>\n\n\n\n<p>From January 2024, advertisers that want to serve ads to users in the EU, EEA, and the United Kingdom using Google\u2019s advertising services are required to use a CMP that integrates with the <a href=\"\/en\/iab-tcf-cookies\/\">IAB TCF v2.2<\/a>.Cookiebot CMP integrates with the IAB TCF v2.2 and is a <a href=\"\/en\/google-certified-cmp-requirement-cookiebot\/\">Google-certified CMP<\/a>. Google has started requiring customers to use a certified CMP that integrates with Consent Mode and the TCF 2.2 to continue to access all functions of various services, including the personalization features of Google Ads.<\/p>\n\n\n<div class=\"cta-block cta-block--size-s cta-block--only-buttons cb-ctx--blue\">\n        <div class=\"cta-block__glass\">\n        <div class=\"cta-block__inner\">\n            <div class=\"cta-block__left-column\">\n                                                    <h2 class=\"cta-block__title no-default-margin like-h4\">\n                        Secure your ad revenue with the TCF v2.2 and Cookiebot CMP                    <\/h2>\n                                                                                                                                                                        <\/div>\n                            <div class=\"cta-block__right-column\">\n                                                                <div class=\"cta-block__buttons\">\n                                                    <div class=\"cta-block__buttons__button-wp\">\n                                <a id=\"ef767ffa-f10c-4b9c-ad36-045dda397d44\" class=\"cb-button cb-button-size-l cb-button-contained  no-default-link-decoration cb-button-icon-right cta-block__buttons__button\" href=\"\/en\/tcf\/\" target=\"\">\n<span>Find out more<\/span><\/a>\n                                                            <\/div>\n                                                                        <\/div>\n                                                        <\/div>\n                    <\/div>\n    <\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Google EU user consent policy<\/h3>\n\n\n\n<p>Google\u2019s EU user consent policy applies to data collected from end users located in the EU, EEA and\/or the UK, if the business collecting the data:<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list cb-rounded has-background\">\n<li>has an agreement with Google that includes the policy<\/li>\n\n\n\n<li>uses Google products that incorporate the policy<\/li>\n<\/ul>\n\n\n\n<p>Businesses using <a href=\"https:\/\/support.google.com\/analytics\/answer\/2700409?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">Google Analytics advertising features<\/a> must comply with the EU user consent policy, which mandates explicit and informed user consent for collecting and using personal data, clear communication regarding the purposes of data processing, and providing options for users to grant or revoke consent.<\/p>\n\n\n<div class=\"cta-block cta-block--size-s cta-block--only-buttons cb-ctx--blue\">\n        <div class=\"cta-block__glass\">\n        <div class=\"cta-block__inner\">\n            <div class=\"cta-block__left-column\">\n                                                    <h2 class=\"cta-block__title no-default-margin like-h4\">\n                        Read more on Usercentrics: <a href=\"https:\/\/usercentrics.com\/knowledge-hub\/google-eu-user-consent-policy\/\" target=\"_blank\" rel=\"noopener\">What is the Google EU User Consent Policy and who does it apply to?<\/a>                    <\/h2>\n                                                                                            <\/div>\n                    <\/div>\n    <\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Google Analytics 4 data transfers and the EU-U.S. Data Privacy Framework<\/strong><\/h2>\n\n\n\n<p>One of the significant compliance issues with Universal Analytics involved the storage of EU residents\u2019 personal data on servers based in the United States. This storage practice raised concerns regarding GDPR compliance, especially given the GDPR mandates that international data transfers must only occur to countries or entities that provide an adequate level of protection in line with EU standards.<\/p>\n\n\n\n<p>The invalidation of the EU-US Privacy Shield framework by the European Court of Justice&nbsp; in July 2020 further complicated data transfers between the EU and the US. After the ruling, European Data Protection Authorities (DPAs) in Austria, France, Italy, the Netherlands, Norway, Denmark and Sweden declared that the use of Universal Analytics was noncompliant with the GDPR.<\/p>\n\n\n\n<p>These decisions emphasized the need for additional safeguards when transferring personal data to the U.S., as the country's surveillance laws were found to be incompatible with EU privacy rights.<\/p>\n\n\n\n<p>Organizations using Universal Analytics had to reassess their data transfer and storage practices to achieve and maintain compliance with the GDPR, often involving the use of additional contractual safeguards, such as Standard Contractual Clauses (SCCs), or seeking alternative solutions that offered data storage within the EU.<\/p>\n\n\n\n<p>In July 2023, the European Commission adopted its adequacy decision for the EU-U.S. Data Privacy <a href=\"https:\/\/usercentrics.com\/knowledge-hub\/eu-us-data-privacy-framework\/\" target=\"_blank\" rel=\"noreferrer noopener\">Framework<\/a> to govern data transfers between the EU, EEA, and U.S., enabling alignment with the GDPR.<\/p>\n\n\n\n<p>There are formal challenges pending against the Framework, but it is in effect, and EU-US data transfers under Google Analytics 4 can be valid. Organizations using Google Analytics 4 should remain vigilant and seek legal advice to ensure ongoing compliance with the GDPR and any future changes in data protection regulations or adequacy decisions.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" height=\"450\" width=\"900\" src=\"https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/ga4_data_transfers_and_the_eu-us_data_privacy_framework.svg\" alt=\"\" class=\"wp-image-16623\" srcset=\"https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/ga4_data_transfers_and_the_eu-us_data_privacy_framework.svg?v=a176f36948677912 150w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/ga4_data_transfers_and_the_eu-us_data_privacy_framework.svg?v=a176f36948677912 300w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/ga4_data_transfers_and_the_eu-us_data_privacy_framework.svg?v=a176f36948677912 768w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/ga4_data_transfers_and_the_eu-us_data_privacy_framework.svg?v=a176f36948677912 1024w, https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/ga4_data_transfers_and_the_eu-us_data_privacy_framework.svg?v=a176f36948677912 900w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>The Digital Markets Act and its impact on Google Analytics<\/strong><\/h2>\n\n\n\n<p>The <a href=\"\/en\/digital-markets-act-glossary\/\">Digital Markets Act (DMA)<\/a> introduced new rules for large digital platforms operating in the EU, which could influence how Google Analytics 4 operates, especially in terms of data handling and user privacy.<\/p>\n\n\n\n<p>As a user of Google Analytics 4, you may need to adjust your approach to data handling to align with the regulation\u2019s requirements. Here's a straightforward plan to help you prepare:<\/p>\n\n\n\n<ol style=\"background-color:#f2f7fe\" class=\"wp-block-list is-style-default cb-rounded has-background\">\n<li>Review your existing privacy policy and cookie policy essential to ensure these documents accurately reflect your data collection and processing activities.<\/li>\n\n\n\n<li>Assess your current practices against GDPR requirements to identify any gaps or areas for improvement. This may include changing how you collect, store, or process data.<\/li>\n\n\n\n<li>Implement a Google-certified consent management platform that enables you to obtain valid user consent for data collection and processing and can signal user consent information to Google.<\/li>\n\n\n\n<li>Seek advice from a qualified legal professional or a privacy expert, such as a Data Protection Officer, who can provide tailored guidance on what the DMA means for your business.<\/li>\n\n\n\n<li>Keep up to date with the latest information on <a href=\"\/en\/digital-markets-act-dma-checklist-what-you-need-to-know\/\">DMA compliance<\/a> and its implications for analytics tools like Google Analytics 4 so you can adapt more swiftly to regulatory changes, to ensure your analytics practices remain effective and compliant.<\/li>\n<\/ol>\n\n\n\n<p>Learn more about the <a href=\"\/en\/european-digital-markets-act-explained\/\">Digital Markets Act<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Cookiebot CMP: Your partner for Google Analytics GDPR Compliance<\/h2>\n\n\n\n<p>Cookiebot CMP is a <a href=\"\/en\/cookie-consent-solution\/\">cookie consent solution<\/a> that streamlines the process of using Google Analytics in a GDPR-compliant manner by focusing on user consent and data transparency.<\/p>\n\n\n\n<ul style=\"background-color:#f2f7fe\" class=\"wp-block-list cb-rounded has-background\">\n<li>Cookiebot CMP enables you to <strong>obtain explicit user consent<\/strong> for all cookies and other tracking technologies in use on your website, including Google Analytics cookies.<\/li>\n\n\n\n<li>Cookiebot CMP\u2019s <strong>integration with <\/strong><a href=\"\/en\/google-tag-manager\/\">Google Tag Manager<\/a><strong> and Google Consent Mode<\/strong> helps ensure that no Google Analytics (or other) tags are fired before obtaining explicit user consent.<\/li>\n\n\n\n<li>The <a href=\"\/en\/cookie-checker\/\">cookie checker<\/a> tool can <strong>identify all cookies<\/strong> and trackers your website uses, making it easy for you to provide transparent information in your website\u2019s cookie policy about the details of all Google Analytics cookies in operation, including their provider, technical details, duration and purpose.<\/li>\n\n\n\n<li>Cookiebot CMP\u2019s <strong>integration with the IAB TCF v2.2<\/strong> meets Google\u2019s standards for serving ads to users in the EU, EEA, and UK, so you can collect data and protect your advertising revenue.<\/li>\n<\/ul>\n\n\n<div class=\"cta-block cta-block--size-s cta-block--only-buttons cb-ctx--blue\">\n        <div class=\"cta-block__glass\">\n        <div class=\"cta-block__inner\">\n            <div class=\"cta-block__left-column\">\n                                                    <h2 class=\"cta-block__title no-default-margin like-h4\">\n                        Want to use Google Analytics cookies in GDPR compliance? Get started in 3 simple steps with Cookiebot CMP.                    <\/h2>\n                                                                                                                                                                        <\/div>\n                            <div class=\"cta-block__right-column\">\n                                                                <div class=\"cta-block__buttons\">\n                                                    <div class=\"cta-block__buttons__button-wp\">\n                                <a id=\"21454d03-6ab9-4dc3-9402-efe7c526d433\" class=\"cb-button cb-button-size-l cb-button-contained  no-default-link-decoration cb-button-icon-right cta-block__buttons__button\" href=\"https:\/\/admin.cookiebot.com\/signup\" target=\"_blank\">\n<span>Start your free trial<\/span><\/a>\n                                                            <\/div>\n                                                                        <\/div>\n                                                        <\/div>\n                    <\/div>\n    <\/div>\n<\/div>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>What is Google Analytics? Google Analytics is Google\u2019s popular and powerful traffic analytics tool that enables deep, real-time insights into how your website is being used, how much, and by whom. Using Google Analytics is like having access to a live map of your website in real time, enabling you to see how your users [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":16626,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"editor_notices":[],"footnotes":""},"categories":[1],"tags":[25],"class_list":["post-785","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-google-consent-mode"],"acf":[],"thumbnail_status":"The image is too white. Please, check the original image for faulty SVGs. If the original image is in SVG format, try to upload the PNG or JPEG version instead.","thumbnail_url":"https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/is_google_analytics_4_gdpr_compliant_hero_alt_1200x630_ffffff.png","_links":{"self":[{"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/posts\/785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/comments?post=785"}],"version-history":[{"count":0,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/posts\/785\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/media\/16626"}],"wp:attachment":[{"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/media?parent=785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/categories?post=785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/tags?post=785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}