Extended Configuration

This is an example of an extended configuration.

What is shown here

See page source for details.

Use cookieConsent instance

When callbacks don't satisfy your needs for conditional code execution, you can also store cookieConsent instance in a variable and access it later when needed – see source code.

Example link with conditional logic activated onclick (see browser console – note difference with and without accepted consent)