Title: code snippets for consent
Last modified: June 5, 2018

---

# code snippets for consent

 *  Resolved [ceesvanderwel](https://wordpress.org/support/users/ceesvanderwel/)
 * (@ceesvanderwel)
 * [8 years ago](https://wordpress.org/support/topic/code-snippets-for-consent/)
 * Howdy,
 * The admin tab consents contains a box to place code snippets in JavaScript only
   without adding <script> tags.
 * 1) where can I find my used cookie javascripts?
    2) Is the use of the cookiename
   sufficient like gta 3) or the url incl id: [https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-x](https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-x)
   4) or something totally different?
 * And can I place multiple code snippets in one box, For example all necessary 
   coockies or all marketing coockies?
 * Maybe a stupid question, I’m pretty new in scripts
 * kind regards,
    Cees
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-snippets-for-consent%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Donny Oexman](https://wordpress.org/support/users/donnyoexman/)
 * (@donnyoexman)
 * [8 years ago](https://wordpress.org/support/topic/code-snippets-for-consent/#post-10373866)
 * You need to add the full code for Google Tag Manager into the ‘Code Snippet’ 
   field.
 * Yes, you’re able to add multiple code snippets in one box!
 * Let me know if you have any questions left.

Viewing 1 replies (of 1 total)

The topic ‘code snippets for consent’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gdpr-compliance_6396ab.svg)
 * [Cookie Information | Free GDPR Consent Solution](https://wordpress.org/plugins/wp-gdpr-compliance/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gdpr-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gdpr-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gdpr-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gdpr-compliance/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Donny Oexman](https://wordpress.org/support/users/donnyoexman/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/code-snippets-for-consent/#post-10373866)
 * Status: resolved