The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

asynchronous javascript for wp stats? (5 posts)

  1. Frank Goossens
    Posted 6 years ago #

    google recently released an updated version of the analytics javascript snippet which is completely asynchronous, meaning it doesn't impact page loading/ rendering any more.

    there's some great info about the impact of javascript-widgets and tracking code on steve souders' blog.

    any chance wordpress will follow suit and provide us an update to wp stats which is completely asynchronous as well?


  2. JeanPaulH
    Posted 6 years ago #

    I would LOVE to have this as well, even more since the stats.wordpress.com included .js and .gif file (the smiley) is adding a lot of latency (respectively +500ms and 727ms) to my page load and thus blocking rendering of my pages.

  3. Frank Goossens
    Posted 6 years ago #

    I also mailed wordpress support for this issue and got a reply which states:

    I've brought this suggestion to the attention of our team, but I can't promise any kind of delivery on it at this time. We *do* currently load the JS for stats as late as possible to prevent inhibiting page rendering.

    the problem is that even if the javascript is loaded as late as possible, it still does slow down page rendering.

    let's hope that someone at auttomatic looks at steve souders' blog to gain some insight in the performance benefits of loading javascript asynchronously.

  4. JeanPaulH
    Posted 6 years ago #

    Thanks futta. At least it's on their list now. Let's hope for the best.

    PS I love Steve's blog. Learned so much about web performance.

  5. Frank Goossens
    Posted 6 years ago #

    this has just become extra important with google confirming that from now on speed has an impact on ranking.

Topic Closed

This topic has been closed to new replies.

About this Topic