ShepherdUX

Cookies and storage

Your choices.

What this site keeps in your browser so it works, a page count that keeps nothing there, and the one thing it asks you about.

Needed to run

Your day or night setting, the last few things you searched for, and the answer you give here. They stay in this browser and are never sent anywhere.

Always on

Page count

Ahrefs counts page views: the page, where you came from, your language and screen size. It sets no cookie, keeps nothing in your browser, and cannot tell one visit from the next. Ahrefs holds the count under their own privacy terms.

Always on

Analytics

PostHog counts visits: which pages and cards get read, how far along a world people travel, and where they leave. No account, no name, no adverts, and no tracking across other sites. One first-party cookie and a matching browser store mark a return visit as the same visitor. The count is held by PostHog Inc. on servers in the United States, under their own privacy terms.

Back to the library

How this site is made

Cookie consent banner, tested

How this site's cookie banner decides by clock zone, honours Global Privacy Control and loads nothing before a yes, with a test you can rerun.

On a Hunza rooftop, a copper teapot stands beside two cups: one poured with tea, one turned upside down.

A cookie consent banner is the notice a website shows to explain its cookies and similar technologies and to let visitors make the choices the rules require. ShepherdUX's banner loads no PostHog code before a yes under Berlin and London clocks, loads it at once under a New York clock, and stays out of the way of Global Privacy Control. Its Decline sits one click deeper than Got it, and the Ahrefs page counter loads regardless.

Load nothing before a yes, honour the browser's signal, and make no as easy to give as yes.

The question a banner asks

One thing on this site needs consent: PostHog, the visit counter, which uses a first-party cookie, a small record saved by the site itself, and browser storage to tell a return visit from a new one. The small-site search guide shows what that count is used for. The rest of what the browser holds (the day or night setting, recent searches, the answer to the banner) never leaves the machine.

The guidance of the Information Commissioner's Office (ICO) for the UK lists, as a mark of a good mechanism, that it "makes it as easy to refuse consent as it is to accept". The cookie banner taskforce of the European Data Protection Board (EDPB) found in January 2023 that most EU authorities treat a first layer with Accept and no Reject as an infringement. California works the other way: its Attorney General's CCPA page says businesses covered by the CCPA must honour Global Privacy Control as a request to stop the sale or sharing of personal information.

So one banner has to ask in Berlin, tell in Boston, and stay out of the way of a browser that has already answered. On a hosted builder or WordPress, a built-in setting or a plugin may draw the banner for you; the platform comparison covers what each platform takes on.

Under an overcast sky, a Chitral courtyard has a closed door, an open arch with a gong and a clear roofed corridor.

The same destination needs different arrival rules. Check the banner with different clock zones and a privacy signal.

Four versions in one afternoon

The banner went through four versions on 2 September 2026, in five commits, each a saved version in the site's code history.

Source: git log -- src/components/Consent.astro (ad423126, ad5123c1, 4ebce8f2, 45a30d31, a6231578), read 15 November 2026.
Time (Pakistan) First layer What it measured Verdict
17:20 Allow analytics, Decline, Choose yes and no equal; nothing loads before a yes the regulators' layout; replaced the same afternoon
17:33 Got it, Choose Got it acknowledged only; Choose was the only yes a notice nobody could answer in one click
17:47 Got it, Choose Got it became the yes; Decline moved under Choose shipped
19:28 to 19:56 Got it, Choose the answered notice folds away and sits on the bottom edge shipped, still live

The owner knowingly chose the one-button notice after hearing the regulators' reading. The notice says what is counted, that there is no account, name or advert, and where to change the answer. Decline all sits one click deep under Choose, in the footer of each page and on the privacy page. That is a trade, and the next section's numbers do not change it.

How this banner decides

A script, a small piece of code, decides whether the counter can run. It sits at the top of the page's code, before the counter's own code, so the counter cannot run before that decision.

It reads three things. The first is the answer, kept in the browser for six months. The second is the regime, read from the device's clock zone. The fifty states' zones get the notice regime, where the count runs from the first page with a way out beside it.

That is the site's routing choice, not a finding that every US visitor falls under one rule. Every other zone, an unreadable one included, gets the ask regime, where nothing runs until yes.

The third is the browser's signal. Global Privacy Control or the older Do Not Track, a browser request to avoid tracking, counts as an answer already given. No banner appears.

The clock zone is a guess about law, not a fact about it. A Berliner travelling with a phone set to New York time gets the notice regime. The site leans strict where it cannot read the zone, but a wrong clock still decides.

A refusal stops the PostHog code and clears what it stored. A second counter, Ahrefs, sends a record of each page visit and sets no cookie. It therefore has a row on the choices panel and no switch.

At night, a cold charcoal brazier stands beside one small burning oil lamp on a Baltistan courtyard floor.

The main fire waits; the small light stays on. Check every counter separately, before and after a refusal.

What the six tests found

Under Berlin and London clocks, PostHog's code was requested 0 times before an answer, measured on this site on 15 November 2026. The test, consent-check.mjs, sits beside its results in the site's repository, where its code is stored. It runs six fresh browsers against the live site. The test replies to the counters' requests on the machine running it, so it sends nothing to either service. It counts whether each counter's code is requested.

Source: consent-check.mjs run against shepherdux.com on 15 November 2026, measured on this site.
Scenario Banner on load PostHog fetches before an answer After the answer After a reload
Berlin clock, then Got it yes 0 1 1
Berlin clock, Decline all under Choose yes 0 0 0
London clock, no answer yes 0 no answer given not run
New York clock, then Decline all yes 1 0 0
New York clock, Global Privacy Control no 0 no answer needed not run
Berlin clock, Got it, then withdrawn yes 0 1, then 0 0

The Ahrefs page counter was fetched once on load in all six scenarios, Global Privacy Control and Decline included, measured on this site on 15 November 2026. It sets no cookie, but a reader who has said no still sends it a page view.

0PostHog fetches before a yes in the ask regime
6scenarios in the test
4banner versions on 2 September 2026
6months an answer is kept

What it cost, and what it is for

The banner took an afternoon, and the test took a morning. The Journal's PHP panel follows the same habit, check what a change does before trusting it: its 441 tests run before each deploy.

Analytics with cookie consent is part of the studio's one-page website, as the package list states. The test is the part worth copying. It answers the question a regulator, a client or a sceptical reader will ask: what loads before a yes?

If your readers are in the UK or the EU and you want the guidance on your side, put Decline beside Accept on the first layer. This site does not, by the owner's choice, and that choice carries the risk the taskforce describes. If you use PostHog, its data collection guide documents loading its code, starting opted out and opting in after consent; in the ask regime, this site goes a step further and does not download the code until consent.

Do I need a cookie consent banner?

You need one if you have visitors in the UK or the EU and your site stores or reads non-essential data on a visitor's device. An analytics cookie is one example. A site that stores nothing beyond what the page needs to work can do without one.

What is Global Privacy Control?

It is a browser signal that asks sites not to sell or share the visitor's data. It travels in the Sec-GPC header, a piece of information sent with a web request. Brave and DuckDuckGo send it by default, and Firefox offers it as a setting.

How do I test a cookie banner?

Open the site in a fresh browser profile, block or record requests to each analytics host, and note what loads before you answer. Repeat with each answer, after a reload, and with a different time zone and Global Privacy Control.

Meet the studio

Tell us what you need.

My name is , and I am with .

I am here because

I would like to start , with a budget around .

You can reach me at .

Here is the shape of it: (optional)

What matters most

● Before you write

Asked and answered.

What does ShepherdUX do?

ShepherdUX is a web design and SEO studio. We design brand identities, build websites, online shops and custom tools such as CRMs, and get them found on Google and in AI answers through SEO, blog content and press releases. We run Google and Meta ads too. Hire us for one service or the whole job; the work fits best when one team holds all of it.

Does the SEO cover AI search as well as Google?

Yes. We write every page answer-first, with names, facts and figures stated plainly, so Google can rank it and AI assistants like ChatGPT can quote it. In August 2026, 15 of the 131 booking forms on one client’s site came from ChatGPT.

What does a project cost?

Every price is published on our services page. One illustrated blog post is USD 350, an SEO audit USD 900, a logo and brand basics from USD 1,800, a Wix or Squarespace website from USD 2,000 and a five-page custom website from USD 4,800. Monthly SEO plans run from USD 1,200 to USD 4,500. You get a written plan with a fixed price before anything starts.

Can you take over a website someone else built?

Yes, it is one of the most common ways we start. The first step is an audit, not a rebuild: on one site we took over, the audit found Google had never visited twenty-five of its most important pages. What happens next follows from what the audit finds.

Where is the studio based?

We work from Pakistan and the United States, with clients anywhere. Current and recent clients run from Orlando and Tampa Bay to Karachi, and we measure every one the same way, in their own Google Search Console.

How will I know the work is working?

You watch it in numbers you own: your Google Search Console, your analytics and your inbox. The charts in our portfolio come from clients’ real Search Console data, and every report we send you meets the same standard.

Do you use AI to write?

AI tools help us draft and check what we write, the Journal included. Ali Abid, who runs ShepherdUX, sets the rules every entry is written and checked against and holds editorial responsibility for everything we publish. No AI tool supplies a number, a quotation or a client fact: each one traces to a source or a measurement we made.

Or write to pen@shepherdux.com, or send a message on WhatsApp. A person reads these, and answers most of them the same day.

Services

Our services

Thirteen services, each with its starting price. Pick the one you came for.

Not sure which you need? Tell us in a sentence

ShepherdUX