PrivacyQuick

Cookie consent for SaaS companies

One banner across your marketing site and app, product analytics that wait for consent, and a JavaScript API that fits single-page apps.

A SaaS company usually has two very different properties: a marketing site full of ad and analytics tags, and a logged-in app with product analytics, session replay, chat and support widgets. Both need consent where the law requires it, and the app is usually a single-page application where tags don't sit in plain HTML. This page shows how PrivacyQuick fits that setup, and what it doesn't do.

What SaaS teams need

NeedHow PrivacyQuick handles it
Consent on the marketing siteOne tag in the <head>; ad and analytics tags wait for consent when tagged with type="text/plain" and a data-category. Google Consent Mode v2 is built in.
Consent inside a single-page appThe JavaScript API: PrivacyQuick.has('analytics') to check, on('change', fn) or the pq:consent event to react, open() for a "Cookie settings" menu item. See the Next.js install guide for a ready-made hook.
Product analytics and session replayLoad them only when has('analytics') is true, and call the vendor's opt-out when consent is withdrawn. Our guides cover session replay tools, Mixpanel, Amplitude and PostHog.
The same choice on the site and in the appThe choice is stored in a first-party cookie (pq_consent) for the domain the banner runs on. Separate subdomains and separate domains are covered in sharing consent across subdomains.
Proof of consentEvery choice is logged with an anonymous consent ID, the categories, banner version, language, country and time. No IP addresses or user agents are stored. Records are kept for 13 months; Pro exports them as CSV.
PoliciesThe policy generator produces privacy policy, cookie policy and terms templates, hosted or embedded, with a cookie table from your scans. They're templates, not legal advice, and a SaaS product usually also needs a DPA for customers.

A typical setup

  1. Add the marketing site and the app as sites (Pro covers up to 10 sites), or one site if they share a domain.
  2. Tag the marketing site's pixels and analytics, and add the Consent Mode default if Google tags must load first.
  3. In the app, wrap analytics, replay and chat initialisation in a consent check using the JavaScript API.
  4. Put a "Cookie settings" link in the app's account or help menu that calls PrivacyQuick.open().
  5. Run a cookie scan of the public pages. The scanner can't log in, so check logged-in pages by hand with your browser's developer tools.

What PrivacyQuick doesn't do

  • It doesn't scan pages behind a login. Inventory the app's tags yourself.
  • It doesn't manage consent for your customers' end users inside your product. If your SaaS places tags on your customers' websites, they need their own consent tool.
  • It doesn't support IAB TCF. Most SaaS marketing sites don't need it; ad-funded publishers might (see publishers).
  • Regional rules work on five region groups, not per country or per US state.

For the wider picture, read cookie consent for SaaS marketing sites and apps, privacy policies for SaaS and whether B2B websites need consent.

Using PrivacyQuick for a SaaS product?

We're collecting short, real stories from SaaS teams: what you set up in the app, what you'd do differently. If you're willing to share, email [email protected] with the subject "SaaS story". We only publish with your written permission and after you've reviewed the text.

Create a free account Read the JavaScript API