All jobs / Frontend / web developer / Security

Frontend / web developer interview question · 5+ years

How do you keep consent state consistent across web, a WebView, and a pixel manager?

The strongest answer

One consent store as the source of truth, purpose IDs, APIs for tag managers, and a sync into the WebView — no ad-hoc dual-write cookies

Why it works

Consent is a distributed state problem. One store, purpose-scoped, readable by GTM and the WebView bridge.

What a good answer covers

Answers that fall short

Who gets asked this

More Security questions