diff --git a/src/lib/tracking.svelte.ts b/src/lib/tracking.svelte.ts index fecd0ea..4a8d0a2 100644 --- a/src/lib/tracking.svelte.ts +++ b/src/lib/tracking.svelte.ts @@ -77,10 +77,10 @@ export class TrackingManager { } /** - * Sets whether tracking is allowed. If set to true, all queued callbacks + * Sets whether tracking is consented. If set to true, all queued callbacks * will be executed. */ - setAllowed(value: boolean) { + setConsent(value: boolean) { if (this._consent === value) return; this._consent = value;