Skip to main content

Usercentrics

Usercentrics supports an implementation via DataLayer & Events. Adding a Window Event Name (like ucEvent) to will dispatch a users consent choice:

Usercentrics window event implementation

Event listener

The following code will listen for the ucEvent, parse the consent state and eventually call the walker consent command:

Loading...

Optionally uncomment the e.type !== 'explicit' check to process only explicitly given content. This will prevent walker.js from starting unintentionally or running eventually running twice.

Ensure the elb function is available.

💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.