Open bart-iimpcoll opened 9 months ago
I made it work using this following code in my application, in one of Components (I'm using composition API):
config.public.gtm.enabled = true;
useGtm()?.enable(true)
it only works if both of them are included. It feels not correct though, is there a better way to achieve what I want to do?
Hello!
I implemented your plugin and I start the application with the plugin turned off by default. User needs to consent to cookies to enable the plugin. When I set the:
config.public.gtm.enabled = true;
nothing happens. The setup works if that value is true from the beginning. Any suggestion about what am I doing wrong?My runtimeConfig: