identify() record. Everything it stores is first-party, on your site’s own domain, and the widget sets no third-party cookies. This page lists every key, so you can describe them in your cookie notice and in your consent tool.
You decide whether your site needs your visitors’ consent before the widget runs, and you ask for it. Usertick shows no consent banner, and the widget doesn’t read the browser’s Do Not Track or Global Privacy Control signals. When your site needs consent, load the Usertick tag only after the visitor gives it, as described in Load Usertick after consent.
What the widget stores on your site
The widget keeps the values in the table below in first-party cookies on your domain (path/, SameSite=Lax, not HttpOnly). When the browser blocks cookies, it keeps the same values in localStorage instead, under the same names. A cookie lasts 365 days from the last time the widget wrote it.
The widget also uses
localStorage and sessionStorage on your domain:
The widget doesn’t fingerprint the browser, and it sends no page views or survey showings to Usertick: a response is sent when the visitor submits it. See Identify your users for what a response carries.
What hosted survey pages store
A survey’s own page, at its link, QR code or email link, keeps these values insessionStorage, which the browser deletes when the tab closes:
Survey pages load the theme’s fonts from Usertick (
cdn.usertick.com), never from Google Fonts.
Load Usertick after consent
When your site needs consent before the widget runs, don’t put the Usertick tag in the page as is. Load it once the visitor has consented, on every page load. The widget writes nothing before its code loads.- Consent tool category
- Consent callback
- npm package
Most consent tools can hold a script until the visitor accepts a category. Give the Usertick tag the category that covers it on your site, such as functional or analytics, in the way your consent tool’s documentation describes. The tool then adds the tag once the visitor accepts that category, and on later pages when their earlier choice allows it.
When a visitor withdraws consent
When a visitor withdraws consent on a page where the widget runs, clear what it stored and remove it from the page, then stop loading the tag on later pages:reset() deletes the widget’s cookies and its localStorage and sessionStorage keys in this browser, except responses that are still waiting to be sent, which stay until they are sent or 7 days pass, and the looked-up country, which goes when the tab closes. destroy() removes the widget’s surveys, listeners and timers from the page.