• Resolved Dan Kinchen

    (@igotdreams)


    While optimizing our website with tools like Google Page Speed, GTMetrix, etc. We get the typical statement that we are missing the width & height attributes for the tracking pixel “pixel.wp.com/g.gif”.

    Even if you are are not ready to make changes to remedy this problem, I would appreciate directions as to which file controls the display of this image.

    thanks!

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Dan Kinchen

    (@igotdreams)

    In the meantime I am fixing it like so:

    <script>
    $(window).load(function({
       $("#wpstats").attr("width","6").attr('height','5');
    });
    </script>
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    We’ll see if we can add these parameters in a future Jetpack release. You can follow our progress here:
    https://github.com/Automattic/jetpack/issues/2254

    I’ll also post here when we make progress on this.

    Thanks for the feedback!

    Hello Dan, where did you insert this code?

    Thread Starter Dan Kinchen

    (@igotdreams)

    you need jquery to run my particular code. So in my footer after the jquery call. But this only pertains to my theme, yours may be different.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I wanted to let you know that we’ve made the change on our servers, you should see it appear on your site within the week, as cache gets refreshed everywhere on our network.

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

The topic ‘"pixel.wp.com/g.gif" Missing Width & Height Attributes’ is closed to new replies.