@c15t/react 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/AGENTS.md +35 -5
  2. package/README.md +2 -2
  3. package/dist/component-hooks/use-consent-gate.js +2 -0
  4. package/dist/component-hooks/use-consent-labels.js +2 -0
  5. package/dist/component-hooks/use-consent-text-direction.js +2 -0
  6. package/dist/component-hooks/use-vendors-listed-under.js +2 -0
  7. package/dist/components/consent-gate/atoms.js +1 -1
  8. package/dist/components/consent-gate/consent-gate.js +1 -1
  9. package/dist/components/iab-prompt/atoms/root.js +1 -1
  10. package/dist/components/panel-trigger/atoms/toolbar.js +1 -1
  11. package/dist/components/preferences/atoms/button.js +1 -1
  12. package/dist/components/preferences/atoms/vendor-list.js +1 -1
  13. package/dist/components/prompt/atoms/root.js +1 -1
  14. package/dist/components/prompt/components.js +1 -1
  15. package/dist/components/prompt/policy-actions.js +1 -1
  16. package/dist/components/prompt/prompt.js +1 -1
  17. package/dist/components/prompt/surface-context.js +1 -1
  18. package/dist/components/prompt/use-banner-copy.js +1 -1
  19. package/dist/components/shared/streamed-surface.js +1 -1
  20. package/dist/headless.js +1 -1
  21. package/dist/index-parts/offline.js +1 -1
  22. package/dist/modes.js +1 -1
  23. package/dist/styles.tw3.css +2 -2
  24. package/dist/transports/offline.js +1 -1
  25. package/dist/version.js +1 -1
  26. package/dist-types/component-hooks/use-consent-gate.d.ts +102 -0
  27. package/dist-types/component-hooks/use-consent-labels.d.ts +32 -0
  28. package/dist-types/component-hooks/use-consent-text-direction.d.ts +22 -0
  29. package/dist-types/component-hooks/use-vendors-listed-under.d.ts +30 -0
  30. package/dist-types/components/prompt/atoms/root.d.ts +3 -3
  31. package/dist-types/components/prompt/prompt.d.ts +4 -3
  32. package/dist-types/components/prompt/surface-context.d.ts +1 -14
  33. package/dist-types/components/prompt/use-banner-copy.d.ts +8 -3
  34. package/dist-types/components/shared/streamed-surface.d.ts +47 -10
  35. package/dist-types/headless.d.ts +10 -1
  36. package/dist-types/hooks/use-iab-policy-guard.d.ts +17 -1
  37. package/dist-types/hooks/use-scroll-lock.d.ts +16 -2
  38. package/dist-types/index-parts/offline.d.ts +1 -1
  39. package/dist-types/modes.d.ts +1 -1
  40. package/dist-types/module-hooks/script-loader.d.ts +9 -0
  41. package/dist-types/provider.d.ts +3 -3
  42. package/dist-types/transports/offline.d.ts +2 -2
  43. package/dist-types/version.d.ts +1 -1
  44. package/docs/README.md +35 -5
  45. package/docs/concepts/choose-your-setup.md +9 -9
  46. package/docs/concepts/consent-state.md +81 -9
  47. package/docs/concepts/data-fetching.md +30 -23
  48. package/docs/concepts/modes.md +87 -35
  49. package/docs/customization/recipes.md +4 -4
  50. package/docs/customization/stylesheets.md +42 -3
  51. package/docs/customization/tailwind.md +17 -34
  52. package/docs/customization/translations.md +18 -12
  53. package/docs/frameworks/react/clear-on-revocation.md +3 -2
  54. package/docs/frameworks/react/components/consent-banner.md +3 -3
  55. package/docs/frameworks/react/components/consent-provider.md +29 -29
  56. package/docs/frameworks/react/gpp.md +1 -1
  57. package/docs/frameworks/react/headless.md +146 -19
  58. package/docs/frameworks/react/hooks.md +2 -1
  59. package/docs/frameworks/react/iab.md +8 -1
  60. package/docs/frameworks/react/quickstart.md +2 -2
  61. package/docs/frameworks/react/rendering.md +1 -1
  62. package/docs/frameworks/react/translations.md +9 -9
  63. package/docs/frameworks/react/troubleshooting.md +1 -1
  64. package/docs/frameworks/react/upgrade-v3.md +39 -32
  65. package/docs/frameworks/react/vendor-consent.md +5 -0
  66. package/docs/guides/banner-experiments.md +3 -3
  67. package/docs/guides/troubleshooting.md +3 -2
  68. package/docs/integrations/activecampaign.md +297 -0
  69. package/docs/integrations/ada.md +396 -0
  70. package/docs/integrations/adobe-analytics.md +2 -2
  71. package/docs/integrations/adobe-target.md +460 -0
  72. package/docs/integrations/adroll.md +336 -0
  73. package/docs/integrations/ahrefs-analytics.md +2 -2
  74. package/docs/integrations/amazon-ads.md +424 -0
  75. package/docs/integrations/amplitude.md +2 -2
  76. package/docs/integrations/appcues.md +368 -0
  77. package/docs/integrations/attentive.md +313 -0
  78. package/docs/integrations/building-integrations.md +29 -16
  79. package/docs/integrations/clay.md +305 -0
  80. package/docs/integrations/clearbit.md +3 -3
  81. package/docs/integrations/cloudflare-web-analytics.md +2 -2
  82. package/docs/integrations/cloudflare-zaraz.md +2 -2
  83. package/docs/integrations/crisp.md +2 -2
  84. package/docs/integrations/customer-io.md +369 -0
  85. package/docs/integrations/databuddy.md +127 -52
  86. package/docs/integrations/default-com.md +497 -0
  87. package/docs/integrations/dynamic-yield.md +373 -0
  88. package/docs/integrations/fathom-analytics.md +2 -2
  89. package/docs/integrations/front-chat.md +2 -2
  90. package/docs/integrations/fullstory.md +298 -0
  91. package/docs/integrations/gainsight-px.md +418 -0
  92. package/docs/integrations/google-maps.md +2 -2
  93. package/docs/integrations/google-tag-manager.md +59 -2
  94. package/docs/integrations/google-tag.md +2 -2
  95. package/docs/integrations/gorgias.md +365 -0
  96. package/docs/integrations/heap.md +2 -2
  97. package/docs/integrations/hightouch.md +2 -2
  98. package/docs/integrations/hotjar.md +40 -26
  99. package/docs/integrations/hubspot.md +529 -0
  100. package/docs/integrations/insider.md +550 -0
  101. package/docs/integrations/intercom.md +2 -2
  102. package/docs/integrations/klaviyo.md +2 -2
  103. package/docs/integrations/linkedin-insights.md +2 -2
  104. package/docs/integrations/liveintent.md +327 -0
  105. package/docs/integrations/logrocket.md +2 -2
  106. package/docs/integrations/lucky-orange.md +336 -0
  107. package/docs/integrations/marketo.md +309 -0
  108. package/docs/integrations/matomo-analytics.md +2 -2
  109. package/docs/integrations/meta-pixel.md +2 -2
  110. package/docs/integrations/microsoft-clarity.md +2 -2
  111. package/docs/integrations/microsoft-uet.md +2 -2
  112. package/docs/integrations/mixpanel-analytics.md +2 -2
  113. package/docs/integrations/one-dollar-stats.md +2 -2
  114. package/docs/integrations/openai-pixel.md +2 -2
  115. package/docs/integrations/optimizely.md +411 -0
  116. package/docs/integrations/oracle-eloqua.md +301 -0
  117. package/docs/integrations/overview.md +128 -81
  118. package/docs/integrations/pendo.md +339 -0
  119. package/docs/integrations/pinterest-tag.md +2 -2
  120. package/docs/integrations/pirsch.md +2 -2
  121. package/docs/integrations/plausible-analytics.md +2 -2
  122. package/docs/integrations/posthog.md +2 -2
  123. package/docs/integrations/promptwatch.md +2 -2
  124. package/docs/integrations/rb2b.md +363 -0
  125. package/docs/integrations/reddit-pixel.md +2 -2
  126. package/docs/integrations/rudderstack.md +2 -2
  127. package/docs/integrations/rybbit-analytics.md +2 -2
  128. package/docs/integrations/salesforce-pardot.md +342 -0
  129. package/docs/integrations/segment.md +2 -2
  130. package/docs/integrations/sentry.md +2 -2
  131. package/docs/integrations/shopify.md +323 -0
  132. package/docs/integrations/snapchat-pixel.md +2 -2
  133. package/docs/integrations/statable-analytics.md +345 -0
  134. package/docs/integrations/the-trade-desk.md +328 -0
  135. package/docs/integrations/tiktok-pixel.md +2 -2
  136. package/docs/integrations/umami-analytics.md +2 -2
  137. package/docs/integrations/vector.md +333 -0
  138. package/docs/integrations/vercel-analytics.md +2 -2
  139. package/docs/integrations/vercel-speed-insights.md +7 -2
  140. package/docs/integrations/wisepops.md +416 -0
  141. package/docs/integrations/x-pixel.md +2 -2
  142. package/docs/integrations/youtube.md +2 -2
  143. package/docs/integrations/zendesk.md +359 -0
  144. package/package.json +10 -32
  145. package/dist/components/prompt/resolve-banner-primary-actions.js +0 -1
  146. package/dist-types/components/prompt/resolve-banner-primary-actions.d.ts +0 -14
@@ -0,0 +1,298 @@
1
+ ---
2
+ title: FullStory
3
+ description: Load FullStory after measurement consent, configure its tracking
4
+ settings, and verify loading and withdrawal with c15t.
5
+ seoTitle: FullStory cookie consent with c15t
6
+ seoDescription: Gate FullStory on measurement consent with c15t. Configure the
7
+ loader, understand withdrawal limits, and verify vendor requests and storage.
8
+ icon: chart-line
9
+ group: integrations
10
+ ---
11
+
12
+ `fullStory` waits for `measurement` consent before creating vendor globals or downloading FullStory.
13
+
14
+ ## Configure FullStory
15
+
16
+ Copy your organization ID from FullStory setup and remove the original snippet. For regional IDs such as `o-ABC123-eu1`, c15t selects the regional FullStory host and SDK download before loading. That ID uses `eu1.fullstory.com` and `edge.eu1.fullstory.com/s/fs.js`. Legacy IDs and the `na1` region use the US defaults.
17
+
18
+ | Package manager | Command |
19
+ | :-------------- | :------------------------------- |
20
+ | npm | `npm install @c15t/integrations` |
21
+ | pnpm | `pnpm add @c15t/integrations` |
22
+ | yarn | `yarn add @c15t/integrations` |
23
+ | bun | `bun add @c15t/integrations` |
24
+
25
+ ```ts title="src/fullstory.ts"
26
+ import { fullStory } from '@c15t/integrations/fullstory';
27
+
28
+ export const scripts = [fullStory({ orgId: 'YOUR_ORG_ID' })];
29
+ ```
30
+
31
+ ## Register the scripts
32
+
33
+ Complete your [framework quickstart](https://c15t.com/docs/frameworks) first. Keep its Inth
34
+ endpoint, policy, styles and consent UI. Remove the vendor's original script,
35
+ SDK initializer or tag-manager entry, so the vendor loads only through c15t.
36
+
37
+ The vendor pages put the helper in `src/consent-scripts.ts`. If your framework
38
+ quickstart already has a `scripts` array, such as the one in `c15t.config.ts`
39
+ in the Next.js guide, add the helper to that array instead of creating a
40
+ second file.
41
+ The `scripts` export is a configuration, not an initializer. Add it to the c15t provider you already have, at the registration
42
+ point for your framework below. These are edits to that provider, not a second
43
+ provider.
44
+
45
+ **Next.js**
46
+
47
+ Add the configuration to `scripts` in `c15t.config.ts`, next to
48
+ `next.config.ts`:
49
+
50
+ ```ts title="c15t.config.ts"
51
+ import { defineConsentConfig } from 'c15t/next';
52
+ import { scripts } from './src/consent-scripts';
53
+
54
+ export default defineConsentConfig({ scripts });
55
+ ```
56
+
57
+ Keep the rest of your config, such as `mode` and `routePrefix`, in the
58
+ same call. `ConsentRoot` reads the config in the browser, so the layout
59
+ keeps passing only `state`. App Router, Pages Router and static export all
60
+ read the same file. See
61
+ [Next.js scripts and embeds](https://c15t.com/docs/frameworks/next/scripts).
62
+
63
+ **TanStack Start**
64
+
65
+ Import the configuration into your root route and pass it to the existing
66
+ `ConsentRoot` as a top-level prop. Keep the loader from the
67
+ [TanStack Start quickstart](https://c15t.com/docs/frameworks/tanstack-start/quickstart):
68
+
69
+ ```tsx title="src/routes/__root.tsx"
70
+ import { scripts } from '../consent-scripts';
71
+
72
+ <ConsentRoot state={consent} scripts={scripts}>
73
+ ```
74
+
75
+ Import vendor helpers in the root route module, not in a server function.
76
+ A server function's return value must be serializable, and script
77
+ configurations carry callbacks. See
78
+ [TanStack Start scripts](https://c15t.com/docs/frameworks/tanstack-start/scripts).
79
+
80
+ **React**
81
+
82
+ Add the configuration to the existing `ConsentProvider` options, next to
83
+ `mode`:
84
+
85
+ ```tsx title="src/consent.tsx"
86
+ import { scripts } from './consent-scripts';
87
+
88
+ <ConsentProvider options={{ mode, scripts }}>
89
+ ```
90
+
91
+ `mode` is the `manifest()` value from the
92
+ [React quickstart](../frameworks/react/quickstart.md). Keep the banner,
93
+ dialog and preferences link inside the provider. See
94
+ [React scripts and embeds](../frameworks/react/scripts.md).
95
+
96
+ **Nuxt**
97
+
98
+ Register the scripts under the `c15t` key in `app/app.config.ts`. Adjust the
99
+ relative import to where you created `consent-scripts.ts`:
100
+
101
+ ```ts title="app/app.config.ts"
102
+ import { scripts } from '../src/consent-scripts';
103
+
104
+ export default defineAppConfig({
105
+ c15t: { scripts },
106
+ });
107
+ ```
108
+
109
+ The Nuxt module merges this over its options in `nuxt.config.ts` and starts
110
+ one script loader in the browser after hydration, once it has applied the
111
+ visitor's stored choice and privacy signals. Keep `scripts` out of
112
+ `nuxt.config.ts`, which reaches the browser as JSON and drops the vendor
113
+ callbacks. Write the vendor IDs into `consent-scripts.ts`. See
114
+ [Nuxt scripts and embeds](https://c15t.com/docs/frameworks/nuxt/scripts).
115
+
116
+ **Vue**
117
+
118
+ Pass the scripts to the existing `c15tVue` plugin call in `src/main.ts`:
119
+
120
+ ```ts title="src/main.ts"
121
+ import { c15tVue, manifest } from 'c15t/vue/vue-plugin';
122
+ import { scripts } from './consent-scripts';
123
+
124
+ app.use(c15tVue, {
125
+ mode: manifest(),
126
+ scripts,
127
+ });
128
+ ```
129
+
130
+ Keep your existing `mode` and other options. The plugin starts one
131
+ script loader when the app mounts, after it has applied the visitor's stored
132
+ choice. Do not also call `createScriptLoader` from a component. See
133
+ [Vue scripts and embeds](https://c15t.com/docs/frameworks/vue/scripts).
134
+
135
+ **Astro**
136
+
137
+ Add the scripts to the client entrypoint from the
138
+ [Astro quickstart](https://c15t.com/docs/frameworks/astro/quickstart), `src/c15t.client.ts`,
139
+ which the integration finds on its own. Keep `astro.config.mjs` as it is.
140
+ If the module already exports scripts, combine the two arrays.
141
+
142
+ ```ts title="src/c15t.client.ts"
143
+ import type { C15tClientOptionsExtension } from 'c15t/astro';
144
+ import { scripts } from './consent-scripts';
145
+
146
+ export default { scripts } satisfies C15tClientOptionsExtension;
147
+ ```
148
+
149
+ Vendor helpers contain callbacks, and the integration options in
150
+ `astro.config.mjs` are serialized into the page, so do not put helpers in
151
+ the integration's `scripts` option. The integration passes the client
152
+ entrypoint to the one runtime every page shares, including across
153
+ `ClientRouter` navigation.
154
+
155
+ **Svelte**
156
+
157
+ Import the scripts in the component that owns your existing provider and
158
+ pass them as a top-level prop:
159
+
160
+ ```svelte title="src/App.svelte"
161
+ <script lang="ts">
162
+ import { ConsentProvider, manifest } from 'c15t/svelte';
163
+ import { scripts } from './consent-scripts';
164
+ </script>
165
+
166
+ <ConsentProvider mode={manifest()} {scripts}>
167
+ <!-- Keep your application, consent UI and preferences link here. -->
168
+ </ConsentProvider>
169
+ ```
170
+
171
+ Retain the styles and consent UI from the [Svelte quickstart](https://c15t.com/docs/frameworks/svelte/quickstart).
172
+ The provider owns the loader and disposes it on unmount.
173
+
174
+ **SvelteKit**
175
+
176
+ Add the scripts to the existing `ConsentRoot` in the root layout. Keep the
177
+ handle and the layout load from the [SvelteKit quickstart](https://c15t.com/docs/frameworks/sveltekit/quickstart).
178
+
179
+ ```svelte title="src/routes/+layout.svelte"
180
+ <script lang="ts">
181
+ import { ConsentRoot } from 'c15t/svelte';
182
+ import { scripts } from '../consent-scripts';
183
+
184
+ let { children, data } = $props();
185
+ </script>
186
+
187
+ <ConsentRoot state={data.consent} {scripts}>
188
+ {@render children()}
189
+ <!-- Keep your consent UI and preferences link here. -->
190
+ </ConsentRoot>
191
+ ```
192
+
193
+ Import vendor helpers in the layout component, not in `+layout.server.ts`:
194
+ a server load cannot send functions to the browser. Prerendered, static and
195
+ SPA-mode pages use the same `scripts` prop. If you pass an externally owned
196
+ `runtime` to the provider, register scripts when creating that runtime instead.
197
+
198
+ **HTML**
199
+
200
+ The helpers in `@c15t/integrations` are ES modules that need a bundler. On a
201
+ page that loads the c15t script tag, paste the vendor's own snippet instead
202
+ and keep it inert until its category is allowed:
203
+
204
+ ```html
205
+ <script type="text/plain" data-c15t-category="measurement">
206
+ // The vendor's snippet, unchanged
207
+ </script>
208
+ ```
209
+
210
+ Use the category this guide names for the vendor. c15t runs the snippet
211
+ once that category is allowed, and reloads the page when the visitor
212
+ withdraws it. Helper options on this page, such as `loadMode`, do not apply
213
+ to a pasted snippet. See [HTML scripts](https://c15t.com/docs/frameworks/html/scripts).
214
+
215
+ **JavaScript**
216
+
217
+ Pass the scripts to `init()` from `@c15t/browser`, next to your mode:
218
+
219
+ ```ts
220
+ import { init, manifest } from '@c15t/browser';
221
+ import { scripts } from './consent-scripts';
222
+
223
+ const consent = init({
224
+ mode: manifest(),
225
+ scripts,
226
+ });
227
+ ```
228
+
229
+ Keep the mode from your quickstart. With
230
+ `createConsentRuntime` from `c15t/runtime`, pass `scripts` to it instead.
231
+ A kernel you create yourself needs a loader from
232
+ `c15t/modules/script-loader`. Attach one loader per kernel. See
233
+ [JavaScript scripts](https://c15t.com/docs/frameworks/javascript/scripts).
234
+
235
+ ## Options
236
+
237
+ | Option | Default | Behavior |
238
+ | ---------------- | ----------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
239
+ | `orgId` | Required | FullStory organization ID. |
240
+ | `host` | Regional FullStory host | `fullstory.com` for US and legacy IDs; `eu1.fullstory.com` for EU IDs. |
241
+ | `script` | Regional FullStory edge | Script host and path without a scheme, such as `edge.eu1.fullstory.com/s/fs.js`. |
242
+ | `elementConsent` | `false` | Also set consent for elements marked capture with consent. |
243
+ | `category` | `measurement` | Consent condition for the whole loader. |
244
+ | `scriptUrl` | HTTPS URL from `script`, with `org` | Exact download URL override. Nonblank values are trimmed, kept unchanged and receive no added `org`. Blank values use the derived URL. |
245
+
246
+ The helper trims organization and endpoint values and treats blank overrides as missing. FullStory-owned `host` and `script` values receive the organization's region, replacing an existing region label when needed. Custom proxy or Relay hosts and script paths stay unchanged. The host and script resolve independently: a custom `host` alone does not change the default `script`. `scriptUrl` never changes the SDK's `script` environment value.
247
+
248
+ Missing or blank required values log an error and never load.
249
+
250
+ ## Loading and revocation
251
+
252
+ After consent, the helper creates FullStory's v2 callable queue with six-field command records. Async commands such as `FS('getSessionAsync')` return promises while the SDK loads and after its dispatcher is ready. It configures `captureOnStartup: false` and downloads the SDK. An uninterrupted first allowed load calls `start`. A load that completes while consent is denied, or after the last owner is removed, calls `shutdown`. After any helper-issued `shutdown`, regrant or remount calls `restart`, even if the helper never called `start`. Optional element consent follows the mapped permission through `setIdentity`.
253
+
254
+ Equivalent registrations share one download and recorder. Each registration must grant the mapped consent before capture can start or resume, including registrations that have never loaded. Removing a denying registration reapplies the remaining registrations' consent, including when they use different `elementConsent` settings. Initial denial creates no FullStory globals or requests. Removing the last registration shuts down capture. Mounting the same configuration again resumes the retained recorder with `restart` without downloading the SDK again.
255
+
256
+ Keep `orgId`, `host`, `script` and `scriptUrl` fixed for the page. c15t compares their effective values, so omitted regional defaults and explicit equivalent endpoints share the recorder. After bootstrap begins, c15t requires a page reload to change these effective settings and rejects incompatible configurations explicitly.
257
+
258
+ Removing an async script does not guarantee that its pending download cannot execute, so c15t retains the pending bootstrap too. Remounting the same configuration waits for that download instead of inserting another script. If a script update interrupts setup before insertion, the next mount inserts the SDK without initializing FullStory twice.
259
+
260
+ Without `MutationObserver`, c15t prevents a second download, but setup interrupted before insertion can require a reload. A nested synchronous mount can leave an outer registration on a source-less placeholder; it still shares the retained recorder and consent state.
261
+
262
+ FullStory documents `init` before capture starts; c15t does not support replacing an initialized recorder in place. `scriptUrl` chooses the downloaded file, while `script` configures the SDK's environment. An existing `FS` from another installer must be removed from the site's setup before using this helper.
263
+
264
+ Shutdown stops capture, but does not erase cookies or unload the SDK. Keep `reloadOnConsentRevoked` enabled when your policy also requires a fresh page without loaded vendor code. Capture state is reapplied on every page.
265
+
266
+ FullStory can set `fs_uid` and `fs_cid` cookies for one year, `fs_lua` for 30 minutes, and `_fs_tab_id` in sessionStorage. Inspect your account configuration for additional storage.
267
+
268
+ ## Verify FullStory
269
+
270
+ Check for no FullStory request, `FS`, FullStory configuration globals, cookies or browser storage before consent and after unrelated consent. Grant measurement and verify the real v2 dispatcher installed. With your own account, verify capture starts, shutdown stops it, and regrant restarts it once.
271
+
272
+ Sources: [getting started](https://developer.fullstory.com/browser/getting-started/), [asynchronous methods](https://developer.fullstory.com/browser/asynchronous-methods/), [configuration](https://developer.fullstory.com/browser/fullcapture/configure-capture/), [capture controls](https://developer.fullstory.com/browser/fullcapture/capture-data/), [element consent](https://developer.fullstory.com/browser/fullcapture/user-consent/), and [cookie consent](https://help.fullstory.com/hc/en-us/articles/35988237543191-Cookie-Consent-Management-with-Fullstory).
273
+
274
+ Test in a private window with an opt-in policy. Open DevTools Network, disable
275
+ the cache and filter by the vendor's domain:
276
+
277
+ 1. Load the page. No request goes to the vendor before you choose.
278
+ 2. Click Reject, then reload. There is still no vendor request.
279
+ 3. Open Privacy settings and allow the helper's category. The vendor script
280
+ loads without a page reload.
281
+ 4. Turn the category off again and save. c15t reloads the page, and the new
282
+ page makes no vendor request.
283
+
284
+ c15t reloads on revocation because removing a script element does not stop
285
+ code that already ran. The vendor's listeners, timers and queued events stay
286
+ alive until the page unloads. If you set `reloadOnConsentRevoked: false`, stop
287
+ the vendor yourself. Register a callback-only script whose `onConsentChange`
288
+ calls the vendor's opt-out API, as shown in
289
+ [custom integrations](./building-integrations.md), and check the
290
+ permission before each of your own event calls. The reload does not delete
291
+ cookies the vendor already set; see
292
+ [clear on revocation for your framework](./overview.md#vendor-switches-and-cookie-cleanup).
293
+
294
+ The helper lists its vendor by name in the preference dialog, so a visitor can
295
+ turn it off inside an allowed category. See
296
+ [vendor consent for your framework](./overview.md#vendor-switches-and-cookie-cleanup). The
297
+ [consent verification guide](../guides/verify-consent.md) covers navigation,
298
+ expiry and hosting checks.