A visitor in Paris and a visitor in Dallas open the same page. The Paris visitor's analytics and ad tags have to wait for a yes. The Dallas visitor's tags can run straight away, as long as there's a clear way to opt out of targeted advertising and the site respects it. Same page, opposite defaults.
Europe asks first
Cookie rules in Europe come from two laws. The ePrivacy Directive says you need consent before storing anything on a device that isn't strictly necessary. GDPR says what counts as consent: a clear action, separate for each purpose, as easy to refuse as to give, and as easy to take back later. No pre-ticked boxes, and "by continuing to browse you agree" doesn't count.
Analytics isn't strictly necessary, however harmless it feels. And regulators look at the buttons. France's CNIL fined Google €150 million and Facebook €60 million in 2021, largely because refusing cookies took more clicks than accepting them.
The US gives a way out
There's no federal privacy law in the US. California's CCPA, expanded by the CPRA, came first, and about twenty states now have laws along similar lines. They give visitors the right to opt out of their data being sold, used for targeted advertising (California calls this "sharing") or used for profiling.
On a website, that usually means a footer link called "Do Not Sell or Share My Personal Information" or "Your Privacy Choices". Ad pixels such as the Meta Pixel can count as selling or sharing even when no money changes hands, which is why they sit behind the opt-out.
How OneTrust does both
OneTrust uses geolocation rules. Each rule covers a list of countries or US states, and OneTrust picks one for each visitor based on their IP address. A default rule catches everyone else. A common setup looks like this:
| Rule | Covers | Consent model | Before any choice |
|---|---|---|---|
| GDPR | EU, EEA, UK, Switzerland | Opt-in | Banner with Accept all, Reject all and Settings. Everything except strictly necessary is off. |
| US | United States | Opt-out | Everything on. A footer link opens the settings. Global Privacy Control honoured. |
| Default | Everywhere else | Notice only or opt-out | A short notice, everything on. |
In the US rule the settings panel often has one main switch for selling and sharing, tied to the Targeting category, C0004. Switching it off removes C0004 from OnetrustActiveGroups, and any GTM trigger built on it stops the ad tags. I covered those triggers in How OneTrust tells Google Tag Manager what a visitor chose.
Consent Mode follows the rule
Google Consent Mode needs a different default in each rule. For Europe, all four main types start denied: analytics_storage, ad_storage, ad_user_data and ad_personalization. For the US they start granted, and an opt-out denies the three ad types while analytics carries on. The full mapping is in Mapping OneTrust categories to Google Consent Mode.
What it does to your reports
Opt-in loses everyone who ignores the banner. Opt-out loses only the people who go looking for the link. So after a launch like this, expect measured traffic from Europe to fall a lot and traffic from the US to barely move.
Someone will see "sessions down 40% in Germany" and ask what went wrong with demand. Nothing did. Add an annotation on the launch date, and report the consent rate next to traffic so the gap has an explanation sitting right beside it.
Test every rule
Which countries and states go into which rule is a decision for the privacy or legal team. Making sure each rule does what was decided is the analyst's part. Use a VPN to visit as Europe, as California and as somewhere in neither, and check what loads before and after each choice. Rules that were never tested from their own region are where the surprises live.
