• Resolved steveraven

    (@steveraven)


    …so why can’t Statcounter release a non-render blocking version by adding an async property?

    I’ve had to do it twice because the first one got replaced with a ‘non-render blocking’ version of the plugin, which turned out to be render blocking after all.

    So for the second time, I’ve added the following code into the script tag (for anyone wanting to add a non-render blocking version, I’ve added the whole line of code)…

    document.write(“<sc”+”ript src='” +scJsHost +”statcounter.com/counter/counter.js’ type=’text/javascript’ async>

    …which should replace the whole line of code around three lines up from the sentence

    <!– End of StatCounter Code –>

    Note that all I’ve done is add an async property in there.

    Now if I can work it out, I’m sure that Statcounter can work it out!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Had to do this Twice Now…’ is closed to new replies.