Skip to documentation content
CookieBeam

Pardot

Set the Pardot tracker's cookie consent from the marketing category, with early calls queued until the tracker loads. On by default.

Last updated:

What it does. Tells the Pardot tracker whether it may set its visitor cookie.

Consent category. marketing.

How it works

On each consent update:

piTracker.setCookieConsent(true);

The argument is true when ad storage is granted and false otherwise.

Pardot's tracker is often slow to appear, so calls made before it exists are queued. When the tracker shows up the bridge replays only the most recent queued value, since an older one has already been superseded and sending both would just make the tracker do redundant work.

Setup

On by default. Toggle it under Vendor Consent Signals, then publish.

Testing

Check the tracker is there first:

window.piTracker && typeof window.piTracker.setCookieConsent

If that's undefined, the bridge is queueing rather than failing. Once the tracker loads, accept and reject marketing and watch the visitor_id cookie appear and stop being set.

AltStyle によって変換されたページ (->オリジナル) /