Aye, that method seems best — thanks.
What’s amazing is that a lot of advice out there says, “DO NOT USE display:none
to remove the smiley because that would prevent the statistics tracking from working because the image would not be loaded at all by the browser.”
Yet the WordPress.com Stats plugin’s own in-line documentation says:
Looking for a way to hide the gif? Put this in your stylesheet:
img#wpstats{display:none}
Can the folks behind the wordpress stats plugin really be recommending all their users to render the plugin useless?