Most social proof widgets store a small amount of data in the visitor's browser: usually a random visitor id, kept in a cookie or in local storage, plus a few short-lived values such as how many notifications this visit has already shown. The id lets the tool count distinct people on a page for a live counter and connect a later order to an earlier notification for attribution. Whether that needs consent through your cookie banner depends on the privacy rules that apply to your store and on what the id is used for, so the useful first step is to find out exactly what your widget stores and why.
We are not lawyers and this is not legal advice. Cookie and privacy rules differ between places, they are interpreted by regulators and courts over time, and the answer for your store depends on your setup. Use this post to gather the facts, then decide with someone qualified.
What a widget typically stores
A social proof script usually needs to remember a few things between page loads. Here is a typical list, using Provedly's script as the concrete example, since we can describe our own exactly.
| Name | Where | Lifetime | What it is for |
|---|---|---|---|
pw_vid |
Local storage | Until cleared | A random visitor id, used to count distinct visitors and keep A/B versions consistent |
pv_vid |
First-party cookie on your domain | One year | The same random id, so your own checkout code can pass it on for attribution |
| Per-visit counters | Session storage | Until the tab closes | How many notifications this visit has shown, and whether the visitor closed them |
| Last shown record | Local storage | Until cleared | So the next page does not open with the same notification |
| Bar state | Local storage | Until cleared | When a per-visitor evergreen timer started, or that a bar was closed |
The visitor id is a random string generated in the browser. It is not derived from a name, email, IP address or device fingerprint. The widget's own requests to our servers are sent without cookies, and the cookie lives on your domain, not on ours.
Other tools store different things. Some set third-party cookies, some add analytics or advertising pixels, and some store nothing at all. Check yours: open your store in a private window, open the browser's developer tools, and look at cookies and local storage before and after the widget loads.
Why the id exists
It is worth being specific about purpose, because purpose is usually what privacy rules care about.
Counting real visitors. A live counter like "4 people are viewing this" needs to tell four people apart from one person with four tabs. A random id per browser does that. Without it, the number is either inflated or invented.
Keeping the experience consistent. If you test two versions of a notification, each visitor should keep seeing the same one. The id keeps that assignment stable.
Attribution. To say "this order came from a visitor who saw a notification", the tool has to link the order to the earlier visit. The id is passed along with the order (on Shopify, as a cart attribute) and matched.
Frequency caps. Session storage remembers how many notifications a visitor has already seen, so they are not shown more than you allow.
Some of these are closer to "making the feature work" and some are closer to "measuring results". That distinction often matters when deciding about consent.
Thinking about consent
Rules in some places, including the EU and the UK, generally require consent before storing or reading information on a visitor's device, with exceptions for storage that is strictly necessary for a service the visitor asked for. Where a social proof widget falls is not always obvious, and reasonable people disagree. Questions to work through with your adviser:
- Is the visitor asking for this? A visitor browsing a product did not ask for a sales notification, which makes a "strictly necessary" argument harder.
- Which purposes need the id? A live counter and attribution use the id in different ways. You might treat them differently.
- Does it identify anyone? A random id is not a name, but privacy rules often treat online identifiers as personal data anyway.
- Who receives it? Here, the id goes to the widget provider to count and match. Your privacy policy should name that.
- How long is it kept? Shorter is easier to justify.
A cautious approach is to list the widget in your cookie banner under a category such as analytics or functional, and load the script only after the visitor agrees to that category. That costs you the notifications, counter and attribution for visitors who decline, which is a fair trade if you want to be safe.