PactbasePactbase DocsDocs
Setup guides

5. Go live

Check the whole setup with a fresh browser.

Use a fresh private window for every check. A stored choice hides the banner. To start over in the same window, run pactbase.reset() in the console, or clear site data.

CheckWhereExpected
The banner shows on the first visitThe pageYes
Before any choice, no tracker requestsDevTools, Network, filter -domain:yoursite.comOnly strictly necessary hosts, fonts and CDNs, and Pactbase. A tracker script may be requested by the browser's preloader but never run
Before any choice, no tracking cookies or storageDevTools, ApplicationOnly strictly necessary
Accept allNetwork and ApplicationTracker requests start, and their cookies appear
Reject all (fresh window)Network and ApplicationStill none, also after a reload and on other pages
Customise: only AnalyticsNetworkAnalytics hosts load, marketing hosts do not
Accept, then reject from the floating buttonApplicationKnown tracking cookies are deleted. Reload to stop code that already ran
The decision is recordedConsent Management, Consent RecordsOne event per choice, with IP, browser and a downloadable PDF receipt
Scan againCookie Governance"Set before consent" lists only what you allowed

If something fails, see Cookie blocking for what is held automatically and what you must mark up.

Common mistakes

SymptomCause
Videos, maps or functional cookies never load, even after Accept allThere is no Functional cookie purpose. Add one under Purposes
The banner never shows and nothing is heldThe snippet is not first in <head>, has async, or does not load on this domain
Trackers load before consentA tag sits above the snippet, the host is unknown, or the tag has data-pactbase-ignore
A cookie on your own domain is set before consentAn inline script or a server Set-Cookie header. Mark it up, or check consent on the server
The choice is not saved and nothing appears in Consent RecordsThe site key belongs to another domain

On this page