Support » Plugin: Scripts n Styles » Insert scripts without automatic script tag

  • Resolved Marcoevich


    Hi, I need to add a global script for the SumoMe plugin. The script already includes script tags, like this:

    <script src="//" 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


    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.


    I’m looking for the same functionality as well.
    Great plug-in otherwise!

    Plugin Author WraithKenny


    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.

    I don’t get it. So if I want to add this adsense code in head of all pages

    <script async src="//"></script>
      (adsbygoogle = window.adsbygoogle || []).push({
        google_ad_client: "ca-pub-XXX",
        enable_page_level_ads: true

    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.