Jump to Content
Confirmic
GuidesChangelogDiscussions
v1.1.0

Confirmic
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 

<iframe>.destroy()

Suggest Edits

Properly cleans up the iframe and its container, without unblocking the script. This is useful if you want to dynamically change placeholders such as changing YouTube video placeholders in a playlist.

Updated almost 3 years ago