Skip to main content

Consent Management Platform

About The CMP

This page is only intended to serve as a quick reference to the CMP API. For more information about the CMP, click here.

app.overwolf.isCMPRequired()

Returns whether or not a user is required to be informed about the CMP.

import { app } from 'electron';

await app.overwolf.isCMPRequired();

app.overwolf.openCMPWindow()

Opens the built-in CMP window.

app.overwolf.openCMPWindow({
// defaults to purposes if not defined
tab?: ['purposes' | 'features' | 'vendors']
});