Getting started
Add your site, paste one script tag and check that the banner works. Most installs take under five minutes.
PrivacyQuick has two parts: a consent banner that runs on your website, and a dashboard where you configure it, scan your site for cookies and generate your policies. This page walks through the install from start to finish.
1. Add your site
Create an account and add your website's address, for example example.com. You don't need to configure anything first. The site goes live straight away with a sensible default banner, and we queue a first cookie scan in the background.
Each site gets a site ID that looks like pq_xxxxxxxxxx. You'll find it in the dashboard, next to a ready-made snippet.
2. Paste the snippet into your <head>
Copy the snippet from the dashboard and paste it into every page, as high in the <head> as you can and before your analytics or advertising tags:
<script src="https://cdn.privacyquick.com/v1/privacy.js" data-site-id="pq_xxxxxxxxxx" async></script>
Step-by-step versions for common platforms: WordPress, Shopify and Next.js.
The script is a single file of under 5 KB gzipped. It loads with async, so it doesn't block rendering, and it loads no fonts, images or other libraries. The banner is drawn inside a shadow DOM, so your stylesheets won't change it and its styles won't leak into your page.
On each page view the script makes one small request for your site's settings. That request is what we count towards your plan's monthly page views.
The banner alone doesn't block anything. Scripts on your page keep running as usual until you tag them with type="text/plain" and a data-category, or add the optional automatic blocker for known trackers. Read Blocking scripts until consent next. If you use Google Analytics, Google Ads or Google Tag Manager, also read Google Consent Mode v2.
3. What visitors see in each region
The banner works in one of four modes. Our server picks the mode for each page view from the visitor's country, which Cloudflare provides with the request. Nothing is looked up in the browser.
| Mode | Before a choice | Banner buttons |
|---|---|---|
| Opt-in | Only strictly necessary cookies. Tagged scripts wait for consent. | Reject all, Preferences, Accept all |
| Opt-out | All categories your site uses are allowed. | Do Not Sell or Share My Personal Information, Preferences, Accept |
| Notice | All categories your site uses are allowed. | OK, plus a Preferences link |
| None | All categories your site uses are allowed. | No banner |
On the Starter and Pro plans, you can set a mode per region. These are the defaults:
| Region | Default mode |
|---|---|
| EU and EEA countries, the UK and Switzerland | Opt-in |
| United States | Opt-out (Global Privacy Control is honoured) |
| Canada | Opt-in |
| Brazil | Opt-in |
| Everywhere else | Notice |
If we can't tell where a visitor is, we apply your European rule, which is the strictest one. On the Free plan there are no regional rules: every visitor gets the opt-in banner. It's the strictest option, so it's also the safest default.
Every visitor can change their mind later through the floating cookie button (enabled by default) or a "Cookie settings" link that calls PrivacyQuick.open(). See the JavaScript API.
4. Customize and publish
The banner editor saves your changes as a draft and shows a live preview. Nothing changes on your site until you click Publish. After that, the new settings apply from the next page view. Site settings aren't cached at the edge, so you don't need to purge anything.
Some changes ask visitors to choose again, and some don't:
- Visitors are asked again when the consent categories or the banner text change. These changes create a new banner version. A visitor's previous choice stays in effect until they make a new one.
- Visitors aren't asked again when you change colours, layout, position, font or corner radius.
By default, your banner's categories follow your cookie scans. If a scan finds, say, the first marketing cookie on your site, the Marketing category is added and published for you, unless you have unpublished edits waiting. Because the categories changed, visitors are asked again. You can switch to choosing categories by hand in the banner settings.
5. Check the install
- Open your site in a private window. The banner should appear. On the Free plan, you'll always see the opt-in banner.
- Open your browser's developer tools and look at the Network tab. Before you choose anything, the scripts you tagged shouldn't load.
- Click Accept all. The tagged scripts load straight away, without a page reload.
- Reload the page. The banner shouldn't come back, and the floating cookie button should appear in the corner.
- Go back to the dashboard. The site shows Installed once page views from the snippet arrive, which usually takes a minute or two.
If the banner doesn't appear, check the browser console. A warning that starts with PrivacyQuick: config not loaded usually means the data-site-id is wrong or the site was deleted from your account.
Content Security Policy
If your site sends a Content Security Policy, allow https://cdn.privacyquick.com in script-src and connect-src. The banner injects its own styles, so style-src needs 'unsafe-inline'. If you use the policy or cookie-table widgets, they also inject a small stylesheet.
Next steps
- Blocking scripts until consent: tag analytics, marketing and embed code.
- Google Consent Mode v2: how the banner talks to Google tags and Tag Manager.
- JavaScript API: open the preferences panel, read the visitor's choice and listen for changes.
- Privacy policy generator: hosted and embeddable privacy, cookie and terms pages.
- Vendors, agreements and records: the vendor register, a draft record of processing, and deadlines for privacy requests.
Questions? Email [email protected].