Title: Insert scripts without automatic script tag
Last modified: April 11, 2017

---

# Insert scripts without automatic script tag

 *  Resolved [Marcoevich](https://wordpress.org/support/users/marcoevich/)
 * (@marcoevich)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/insert-scripts-without-automatic-script-tag/)
 * Hi, I need to add a global script for the SumoMe plugin. The script already includes
   script tags, like this:
 * `<script src="//load.sumome.com/" data-sumo-site-id="***" async="async"></script
   >`
 * Your plugin seems to force script tags for globally entered scripts (so I end
   up with double script tags), so I need to use another plugin to embed this script
   in the head.
 * Could you make an option to insert this script, without enforcing the script 
   tags around it? Would love to just use only your plugin since I already have 
   it a long time.

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

 *  [masonjames](https://wordpress.org/support/users/masonjames/)
 * (@masonjames)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/insert-scripts-without-automatic-script-tag/#post-9054101)
 * I have a similar request. I really love this plugin, but would prefer not to 
   have the script tags already included.
 * In my case, I want to load a tag with `<noscript>` in the body, but am unable
   to do so. Bummer because I actually prefer everything else about this plugin 
   over other implementations. Would love for you to consider an option for scenarios
   like this.
 * Thanks!
 *  [obliterator](https://wordpress.org/support/users/obliterator/)
 * (@obliterator)
 * [9 years ago](https://wordpress.org/support/topic/insert-scripts-without-automatic-script-tag/#post-9130903)
 * I’m looking for the same functionality as well.
    Great plug-in otherwise!
 *  Plugin Author [WraithKenny](https://wordpress.org/support/users/wraithkenny/)
 * (@wraithkenny)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-scripts-without-automatic-script-tag/#post-9388905)
 * There is a way to do this anywhere where there is shortcode support (Post editor,
   Widgets etc). In global settings, it’s called “Hoops” and you can write arbitrary
   HMTL and it gives you a shortcode. Then you put the short code in a post or widget.
 * I am going to extend 4.0 to allow arbitrary head and footer content, but no ETA
   on that.
 *  [cassianotartari](https://wordpress.org/support/users/cassianotartari/)
 * (@cassianotartari)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/insert-scripts-without-automatic-script-tag/#post-9437958)
 * I don’t get it. So if I want to add this adsense code in `head` of all pages
 *     ```
       <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
       <script>
         (adsbygoogle = window.adsbygoogle || []).push({
           google_ad_client: "ca-pub-XXX",
           enable_page_level_ads: true
         });
       </script>
       ```
   
 * How I would do with hoops?

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

The topic ‘Insert scripts without automatic script tag’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/scripts-n-styles_46515d.svg)
 * [Scripts n Styles](https://wordpress.org/plugins/scripts-n-styles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/scripts-n-styles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/scripts-n-styles/)
 * [Active Topics](https://wordpress.org/support/plugin/scripts-n-styles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/scripts-n-styles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/scripts-n-styles/reviews/)

 * 4 replies
 * 5 participants
 * Last reply from: [cassianotartari](https://wordpress.org/support/users/cassianotartari/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/insert-scripts-without-automatic-script-tag/#post-9437958)
 * Status: resolved