-
Hi, I'm trying to get Cookie Consent to work with Facebook cookies, but I can't .... As soon as I try to add type=“text/plain” data-cookiecategory=“analytics”, or even just type=“text/plain”, to the <script> tag of the Facebook pixel's javascript code, then this script doesn't launch at all. Does anyone use cookie consent to manage facebook cookies, when you want to use their pixel tracking ? Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The purpose of If the plugin is configured properly, when the analytics category is accepted, then the script tag with you can test it easily with the following snippet: <script type="text/plain" data-cookiecategory=“analytics”>
alert("analytics enabled");
</script> If you have accepted the analytics category, but you dont see the "analytics enabled" alert, then the plugin is not configured properly. |
Beta Was this translation helpful? Give feedback.
The purpose of
type=“text/plain
is to disable the script.If the plugin is configured properly, when the analytics category is accepted, then the script tag with
type=“text/plain
anddata-cookiecategory=“analytics”
should also be enabled.you can test it easily with the following snippet:
If you have accepted the analytics category, but you dont see the "analytics enabled" alert, then the plugin is not configured properly.