Hi @ShivaniM
you mean as a client-side tag or server-side? In both ways, it depends on your consent management platform and how it persists the consent e.g., in which cookie, localStorage value etc.
Can you give some more information on that?
Cheers from Switzerland!