Closed arijit-tweb closed 2 years ago
Hi @arijit-tweb , could you help me to share us how do you implement your code? you can paste that part of the configuration without your key please
Now I found some other solution to this, thanks
I'm running into the same issue. @arijit-tweb Would you mind telling what this other solution is?
@edsonjab I'm using the example copy/pasted from the README with the write key updated and initialPreferences: { Functional: true, Marketing_and_Analytics: true, }
added. None of the radio's are pre-filled
After stabbing around a bit it looks like these are the correct keys to use when setting initialPreference
:
initialPreferences: {
marketingAndAnalytics: true,
advertising: true,
functional: true,
essential: true,
},
I recommend not using the invalid {‘Functional’:true}
example in the docs, and possibly show this full config example instead
I added this on my standalone script
initialPreferences: { Functional: true, Marketing_and_Analytics: true, },
Also after added "initialPreferences" , I'm unable to close the banner any more