Skip to content
UsercentricsDocs
Enums
Initializing search
Home
Consent Management
Preference Management
Server-Side Tagging
Partner API
UsercentricsDocs
Home
Consent Management
Consent Management
Overview
Web CMP
Web CMP
Overview
Getting Started
Web CMP (latest version)
Web CMP (latest version)
Overview
Implementation
Implementation
Script Implementation
Script Implementation
Script Implementation
Optional Steps
Supported Attributes
Supported Attributes
Interfaces
Types
Google Tag Manager Configuration
Embeddings
Browser Events
Browser Events
consent_status
UC_CONSENT
UC_UI_INITIALIZED
UC_UI_VIEW_CHANGED
UC_UI_CMP_EVENT
Custom Events
Examples
Examples
Usage as Window Events
Reload page after consent is given
Check if it is the first visit
Load iframe via Event Listener
Add a script to the head via Event Listener
Hide iframe when the banner is shown
Interaction Analytics
Interaction Analytics
Introduction
Overview
Dashboards
CSV Download
Tracked Interactions / Events
FAQ
Features
Features
Geolocation Rules
Cross-Device Consent Sharing
Google Consent Mode
Google Consent Mode
General Information
Google Services that support Consent Mode
Prerequisites
Implementation Example
A/B Testing
A/B Testing
Introduction
Setup
Available Events
Available Properties
Third-Party Tool Guides
Third-Party Tool Guides
Optimizely
Kameleoon
TRBO
Dynamic Yield
Google Optimize
Browser UI API
Browser UI API
Control UI
Control Functionality
Support attributes
Support attributes
Interfaces
Enums
Enums
Table of contents
CLOSE_OPTION
Types
TCF 2
TCF 2
General Information
Configuration
Configuration
Configure TCF 2.2 Framework Settings
Configure the vendors
Configure the Design/Layout
Service Integration
Browser Support
Releases
Usercentrics (earlier version)
Usercentrics (earlier version)
Overview
Migration to the latest version
Migration to the latest version
Why Migrate
How to Migrate
Implementation
Implementation
Script Implementation
Browser SDK
Embeddings
Browser Events
Features
Features
Smart Data Protector
Performance Guide
Performance Guide
Reduce script size
Improve Lighthouse results for LCP
Improve Lighthouse results for FID
Improve Lighthouse results for CLS
Improve performance when using SDP
Browser and libraris Support
Cookiebot (earlier version)
Cookiebot (earlier version)
Set up Cookiebot
Developer Resources
Apps CMP
Apps CMP
Overview
Specifications
Releases
Samples
Integration
Integration
Install
Configure
Initialize
Collect Consent
Apply Consent
Optimization
Optimization
UI Customization
A/B Testing
Features
Features
Consent Mediation
Google Consent Mode
Google Additional Consent v2
Restore User Sessions
Clear User Session
Consent Choice Persistence
WebView Continuity
Custom Hyperlinks
Build your own UI
Help
Help
App Tracking Transparency Framework (ATT)
Apple's Privacy Manifest
API
API
Core API
Event API
Mobile Games
Mobile Games
Overview
Specifications
Releases
Sample
Integration
Integration
Install
Configure
Initialize
Collect Consent
Apply Consent
Optimization
Optimization
UI Customization
A/B Testing
Features
Features
Consent Mediation
Google Consent Mode
Google Additional Consent v2
Build your own UI
Restore User Sessions
Clear User Session
Consent Choice Persistence
Help
Help
App Tracking Transparency Framework (ATT)
Apple's Privacy Manifest
API
API
Core API
Event API
CTV CMP
CTV CMP
Overview
Install the TV SDK
Configure the Banner
Present the Banner
Releases
Preference Management
Preference Management
Setup and Integration
Preference Data Access
Analytics
Integrations
Public API
Public API
Introduction
Authentication with PMP
Authentication with PMP
Authentication
JWT Access Token
JWT Access Token
Generating
Use Cases
Use Cases
Building your Custom UI
Building your Custom UI
Introduction
Requesting widget structure
Get preferences for the current user
Update the preferences for the current user
Delete the preferences for the current user
Building your Custom Integration
Building your Custom Integration
Introduction
Get preferences for the current user
Update the preferences for the current user
Delete the user preferences
Retrieve consent history log
Conclusion
Server-Side Tagging
Server-Side Tagging
Introduction
Prerequisites for Setup
Prepare CMP for sGTM Setup
Create a Server Container in GTM
Setup Usercentrics sGTM Container
Google Analytics & Measurement ID
Direct to sGTM vs. GTM Managed
Direct to sGTM, Browser Script
Direct to sGTM, Sending Data
Direct to sGTM, Testing
GTM Managed, Web Container
GTM Managed, Server Container
GTM Managed, Testing
Partner API
Partner API
GraphQL Basics
Language Consept
Environments
Playground and Documentation
Authorization
Configuring the CMP
Session and Reporting
Table of contents
CLOSE_OPTION
Enums
CLOSE_OPTION
¶
enum
CLOSE_OPTION
{
ICON
=
"ICON"
,
LINK
=
"LINK"
}