Jump to Content
Confirmic
GuidesChangelogDiscussions
v1.1.0

Confirmic
Guides
v1.1.0GuidesChangelogDiscussions

Overview

  • About Confirmic
  • The Cookie Widget

Introduction

  • The Confirmic SDK

General

  • SDK reference
  • Join our Community Slack
  • Google Tag Manager Support
  • Installing the Cookie Widget

React Library

  • Quickstart
  • <ConfirmicProvider />
  • <ConsentGate />

SDK events

  • ConsentManager:onConsentStateChange
  • ConsentManager:onHide
  • ConsentManager:onShow

SDK commands

  • configure
  • getConsentState
  • ConsentManager:show
  • ConsentManager:hide
  • ConsentManager:requestConsentFor

Contextual Consent

  • Quick Start
  • Placeholders
  • Writing your own Placeholders
  • Placeholders SDK reference
  • Sample placeholders

Script Blocking

  • What is Script Blocking
  • Autoblocking
  • Manual blocking

Placeholders

  • Basic usage
  • Placeholder <iframe>
    • <iframe>.destroy()
  • Placeholder API
    • API.setConfiguration(name, content)
    • API.button
    • API.applyConfiguration()
    • API.requestConsent()
    • API.onReady(payload => Promise?)
Powered by 

getConsentState

Gets the current consent state for a micropolicy

Suggest Edits
Confirmic('getConsentState',{slug:'statistics'}, ({enabled}) => {
  // enabled = true | false
})

Updated about 5 years ago