Skip to content

Does it work with Facebook cookies (from pixel) #778

Answered by orestbida
Gul-liver asked this question in Q&A
Discussion options

You must be logged in to vote

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 and data-cookiecategory=“analytics” should also be enabled.

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gul-liver
Comment options

Answer selected by Gul-liver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants