Shrinking smiley face to 0px?

  • Author
    Posts
  • #907222

    nightoffaith
    Member

    I know that the tiny smiley face at the bottom is needed for tracking stats. But if I use the following CSS, can I get the same tracking effect, while keeping the image invisible?:

    img#wpstats {
    width:0;
    }

    Many thanks.

    The blog I need help with is nightoffaith.com.

    #907421

    nightoffaith
    Member

    Basically, all I’m asking is: does the tracker need the smiley image to be visible, or does it simply require it to be embedded within the webpage?

    So far, page views have registered just fine when browsing the site anonymously from my smartphone.

    #907424

    raincoaster
    Member

    It needs to be in the page. Most people just change it to the same colour as the background.

    #907428

    justpi
    Member

    Instead of width:0 you could write display:none – but either way don’t worry: making an element invisible doesn’t remove it from the HTML of the page.

    #907433

    nightoffaith
    Member

    Thanks! I suspected that, since if I “view page info” in Firefox, that can still be seen as one of the web page’s media elements.

The topic ‘Shrinking smiley face to 0px?’ is closed to new replies.