Skip to content

Works with your stack

Cookie consent on Pantheon

one header for the country

← Cookie Rocks for your stack

Cookie Rocks Pro can read the visitor’s country from the Pantheon-Geo request header, once Verify now has shown that a forged value is replaced before it reaches your site.

By Pantheon · pantheon.io

Is this your product? Tell us if anything here is out of date. Write to us

What matters for consent with Pantheon

One header, several fields

Cookie Rocks reads country_code from Pantheon-Geo, a list of key=value pairs separated by semicolons.

Checked before it is trusted

Verify now sends the site a fake country. The source is trusted only if the edge replaces it, and the check runs again every day.

What our tests found on Pantheon

  • Good to know · Cookie RocksPantheon and WordPress VIP give rules by US state

    With the Pantheon source, rules by country read the region in the Pantheon-Geo header (region=TX, or region_code in the older format); with the WordPress VIP source they read GEOIP_REGION, written TX or US-TX. A visitor from Texas then gets the rules of Texas; without a region, a visitor from the United States gets the rules of California.

    Seen in our tests, 26 October 2026, Cookie Rocks.

Questions

Does Pantheon’s cache split pages by country?

Cookie Rocks does not need it to. The page is the same for everyone and the country is asked for from an address that is never cached.

What happens after the 30-day trial?

The banner, your visitors’ choices and your proofs of consent keep working. Without a key, most settings lock, updates and support stop. Take a key at any time and everything opens again.

For sites on Pantheon

The right rules for each visitor’s country.

country by country

Rules by country are part of the complete plugin. Every feature of the complete plugin for 30 days, no card.

  • During the trial: everything, including the full settings and the scans
  • After 30 days without a key: the banner, your visitors’ choices and your proofs of consent keep working
  • What waits for a key: most settings, updates and support

How the trial works, in detail

Get your trial key

Your e-mail and your site. Your key arrives as soon as you confirm your e-mail.

One trial per domain. Local and staging sites never use up your key.

We keep your e-mail address to send your key and help you with it, as explained in our privacy policy. No newsletter, nothing else.