Title: Configuration
Last modified: October 12, 2021

---

# Configuration

 *  Resolved [aggk](https://wordpress.org/support/users/aggk/)
 * (@aggk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuration-34/)
 * Hi,
 * Through my theme I display youtube clips in a “lightbox”, clicking a link will
   open a lightbox where an embeded youtube clip autoplays.
    With Complianz wizard
   I have checked YouTube as “third party service”. and under “Script center” “URL’s
   from iFrames sources that should be blocked before consent.” I have saved the
   YouTube -url but it has no effect. Do I need to locate the script that opens 
   the lightbox and save that also under “Script center”?
 * I also have a chat service integrated through wp_footer -hook that stores a link
   to a async script. So I tried saving this URL under Script Center > “(part of)
   URL’s or unique string from the inline scripts of third-party scripts & plugins
   that should be blocked before consent.” but this also do not work, am I doing
   it wrong?
 * I’m on WP Engine so it’s their server cache could that be a problem?
 * Complianz Wizard is very nice and straightforward I would really like to use 
   it on our sites if I can get it to work.
 * Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuration-34/#post-14962502)
 * Hi [@aggk](https://wordpress.org/support/users/aggk/),
 * Maybe you could provide an URL to the website, so we can have a look at the current
   behavior?
 * If you have the YouTube service selected under _Wizard > Integrations_, you don’t
   have to add individual Youtube URL’s to the Script Center. Complianz’ script 
   blocker will detect the URL and block it prior to consent, but possibly it can’t
   do this because of the implementation inside the Lightbox. It would be useful
   to see the implementation.
 * As for the Chat Service, you can try removing the current implementation and 
   loading the async script from the Script Center instead. Copy the script to the“
   Async scripts to execute on consent” field without the `<script></script>` tags.
 * Kind regards,
    Jarno
 *  Thread Starter [aggk](https://wordpress.org/support/users/aggk/)
 * (@aggk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuration-34/#post-14962836)
 * Hi,
 * Here is a basic testpage with link to youtube -clip.
    I have nothing in script
   center now but YouTube is selected under “third-party services”: [https://wordpress-121191-2123979.cloudwaysapps.com/test-page/](https://wordpress-121191-2123979.cloudwaysapps.com/test-page/)
 * Regarding the chat -service all I have is an external link (inside script tags)
   
   the script itself is hosted elsewhere. Should I include this URL under “Scriptcenter”
   > “Async scripts to execute on consent” ?
 * Thanks!
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuration-34/#post-14965610)
 * Hi [@aggk](https://wordpress.org/support/users/aggk/),
 * What plugin are you using for these Lightbox elements?
 * For the chat-service, you can indeed try placing the entire script (but leave
   out the <script> tags) under “Script center” > “Async scripts to execute on consent”.
 * Hope it helps.
    Kind regards, Jarno
 *  Thread Starter [aggk](https://wordpress.org/support/users/aggk/)
 * (@aggk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuration-34/#post-14965790)
 * Hi,
 * the lightbox is from Fancybox script included with the theme.
    I only have the
   URL to the chatbox script, do I include that URL under “Async scripts to execute
   on consent”?
 * Thanks!
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuration-34/#post-14966345)
 * Hi [@aggk](https://wordpress.org/support/users/aggk/),
 * Due to the techincal nature of these Fancybox/lightbox scripts, we are unfortunately
   not able add a placeholder to this Fancybox. An alternative solution would be
   to wrap the YouTube URL’s in this shortcode:
 *     ```
       [cmplz-consent-area text="Enable this content by clicking this link"] 
       /* add your snippet that needs to be blocked before consent */ 
       [/cmplz-consent-area]
       ```
   
 * Explained in detail here, along with some example CSS to style it: [https://complianz.io/wrapping-content-in-consent-shortcodes/](https://complianz.io/wrapping-content-in-consent-shortcodes/)
 * As for the script, you could share the code with us so we can test (can be done
   through our support email if preferred), or try implementing it under “Async 
   scripts to execute on consent” to see the behavior for yourself.
 * Kind regards,
    Jarno

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Configuration’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/configuration-34/#post-14966345)
 * Status: resolved