Title: Scripts don&#8217;t appear in source code
Last modified: November 8, 2019

---

# Scripts don’t appear in source code

 *  Resolved [B0nnie](https://wordpress.org/support/users/b0nnie/)
 * (@b0nnie)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scripts-dont-appear-in-source-code/)
 * I set up the plugin and everything seemed to worked correctly, but no a really
   mysterious error occurs. I wanted to add the analytics opt out script and then
   noticed, that none of the scripts are appearing in the source code view of the
   page. Still, the tag manager works just fine and also browser tools like ghostly
   show, that the tag manager is active… Did this problem ever happen before?
    Thanks
   in advance, Karina
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscripts-dont-appear-in-source-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scripts-dont-appear-in-source-code/#post-12117253)
 * Hi [@b0nnie](https://wordpress.org/support/users/b0nnie/)
 * Thanks for using our plugins.
 * Our GDPR plugin injects the scripts using AJAX and postscribe, so once the visitors
   accept the cookies, all the defined script in the GDPR Settings page (3rd party/
   advanced cookies sections) will be injected to the relevant section of the site(
   head, body, footer). By using this method, you don’t have to worry about the 
   caching plugins as these are loaded via AJAX. You can’t find the injected script
   in the view-source page, you can only see the script in the inspect section of
   the site.
 * Read more about the [code not visible in source code](https://wordpress.org/plugins/gdpr-cookie-compliance/#pasted%20code%20is%20not%20visible%20when%20view-source%20page%20is%20viewed.)
   issue in our [FAQ](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
   section.
 * Hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Scripts don’t appear in source code’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/scripts-dont-appear-in-source-code/#post-12117253)
 * Status: resolved