If your site runs Google Analytics (GA4), a Meta Pixel, or any other ad-tracking tag, your cookie policy needs to name those specific tools, explain what data they collect, and say which consent category they fall under. A generic policy that only says “we use cookies to improve your experience” does not meet this bar under GDPR, the ePrivacy Directive, or most US state privacy laws, since none of those name a tool or say whether it fires before or after a visitor consents.

The fix means treating your cookie policy as a live document tied to what your site actually loads, not a one-time template fill-in. Here is how to categorize the common analytics and ad tags correctly, and how to keep the policy text honest about what your consent banner blocks.

Generic policy
  • We use cookies to improve your experience
  • Tags bundled under one unnamed toggle
  • Policy never tested against the banner
Specific policy
  • Each tool named: GA4, Meta Pixel, TikTok Pixel
  • Separate necessary, analytics, marketing categories
  • Network tab checked after rejecting cookies

Google Analytics (GA4) almost never qualifies as a “strictly necessary” cookie. It measures traffic and behavior for the site owner’s benefit, not to make the site function, so under the ePrivacy Directive’s consent exemption test it needs opt-in consent in the EU and UK before it fires. Classify it as analytics (sometimes called “performance” or “statistics”) cookies, not necessary or marketing, and list the specific cookies it sets: _ga and _ga_<container-id>.

Turning on GA4’s Google Signals, ad personalization, or linking Analytics to Google Ads means Google’s own terms require you to disclose that user data may feed ad targeting and remarketing, not just internal reporting. Your policy’s analytics section should say plainly whether that link is on, confirmed under GA4’s Admin > Data Settings > Data Collection panel.

How Should You Categorize Meta Pixel and Other Ad Pixels?

Meta Pixel, TikTok Pixel, LinkedIn Insight Tag, and similar tools belong in the marketing (or “advertising”) category, never analytics, even though they also count visits. The distinguishing test is purpose, not mechanism: these tags build ad audiences, track conversions back to a specific campaign, and, in Meta’s case, match visitors to existing platform profiles for retargeting. That carries the same opt-in consent requirement as analytics under EU and UK law, plus an opt-out requirement for “sale” or “sharing” of data under laws like the California Consumer Privacy Act (CCPA) and similar state statutes.

List each pixel by name in the policy, not as a bundled “advertising partners” line. Name Meta Pixel specifically, note that it sets cookies like _fbp, and flag that Meta’s Advanced Matching, if enabled, may hash and transmit visitor-supplied data such as email addresses for matching. List every pixel you run by name, so a reader can tell exactly which third parties receive data.

Necessary vs. Analytics vs. Marketing: Where Is the Line?

Three categories cover almost everything a typical business site sets, and getting the boundary right is the difference between a policy that matches reality and one that quietly violates consent law:

  • Necessary: required for the site to function as requested, such as a session cookie, a shopping cart, a load balancer cookie, or the banner’s own record of a visitor’s choice. These can load before consent, and most banners never offer a toggle for this category because it cannot be switched off.
  • Analytics: measures traffic, behavior, or performance for the site owner’s own use, such as Google Analytics, Microsoft Clarity, or Hotjar. Visitor-beneficial in aggregate but not visitor-required, so it needs opt-in consent in the EU/UK and disclosure plus opt-out rights in most US state frameworks.
  • Marketing: builds ad audiences, tracks conversions, or feeds a third party’s own advertising product, such as Meta Pixel, Google Ads remarketing tags, or TikTok Pixel. Carries the strongest consent requirement of the three, since the data usually flows to a company the visitor never directly interacted with.

Getting a tag’s category wrong is common when businesses paste template text without checking what their own site loads. Run your site through your browser’s developer tools once, filtering the Network tab by “google-analytics” or “facebook,” and match every cookie you see against the categories above before publishing the policy.

Necessary vs Analytics vs Marketing

NecessaryAnalyticsMarketing
Requires opt-in consent in the EU/UK
Visitor can toggle it off in the banner
Example toolsSession cookie, cart, load balancerGoogle Analytics, Clarity, HotjarMeta Pixel, Google Ads, TikTok Pixel

Yes, and this is the requirement most sites miss. A cookie policy that says “analytics cookies require your consent” is not enough if the site’s consent management platform (CMP) is misconfigured and Google Analytics fires on page load regardless of the visitor’s choice. Regulators in the EU and UK have fined companies for exactly this mismatch: the policy text promised a blocking behavior the banner did not deliver. The written policy describes a technical control; it does not replace it.

Test this directly rather than trusting the CMP’s default settings. Load your site in a private browser window, reject all non-necessary cookies at the banner, then check the Network tab for requests to google-analytics.com, googletagmanager.com, facebook.com/tr, or similar third-party domains. If any fire after a reject, your tag manager needs a consent-gated trigger, such as Google Tag Manager’s built-in consent mode or an equivalent block in your CMP, before your policy’s claims are accurate.

If you are building or updating this document, our cookie policy generator walks through the necessary, analytics, and marketing categories step by step and lets you list the specific tools your site runs, so the finished text names Google Analytics or Meta Pixel instead of relying on generic boilerplate language.

What Happens If the Policy Names the Wrong Category?

Misclassifying a tag has two consequences. A visitor who wants analytics-only tracking cannot make that choice if your banner lumps Google Analytics and Meta Pixel into a single “cookies” toggle, since the two carry different legal bases and data flows. And an inaccurate policy is a compliance gap on its own: several EU data protection authorities have issued guidance and enforcement actions targeting cookie policies that describe fewer categories or fewer third parties than the site actually uses.

The practical fix is the same one that solves most of this guide’s questions: audit what your site loads, tool by tool, then write the policy to match that audit. Revisit it whenever you add a new pixel or swap analytics tools, since each change alters what the policy needs to say.