iWeb... how to embed a counter?

Discussion in 'Mac Apps and Mac App Store' started by Demon Hunter, May 14, 2007.

  1. Demon Hunter macrumors 68020

    Joined:
    Mar 30, 2004
    #1
    I'm looking for a way to embed a page counter in iWeb like Google Analytics.

    Since iWeb doesn't allow you to edit the HTML directly, I don't think it's possible. I would have to publish to a folder each time and edit the code by hand. Right?
     
  2. hanschien macrumors 6502

    hanschien

    Joined:
    Oct 2, 2006
    Location:
    Houston, TX
    #2
    It's nothing fancy...
     

    Attached Files:

  3. Demon Hunter thread starter macrumors 68020

    Joined:
    Mar 30, 2004
    #3
    That's the problem, it's too simple. For starters, it counts each page refresh as a hit, and isn't hidden.

    Thanks for the screenshot, though. ;)
     
  4. a3ent macrumors newbie

    Joined:
    Nov 30, 2008
    #4
    RE: How to embed a counter into iweb

    If you have a hit counter that you like and you want to embed it, simply go to INSERT and then click on HTML Snippet.

    You should be able to place your HTML code right in the box meant for the it.

    Resize as needed and then hit APPLY. You should be good to go!

    Let us know if this trick did it for you.

    wwww.a3ent.com
     
  5. sickmacdoc macrumors 68020

    sickmacdoc

    Joined:
    Jun 14, 2008
    Location:
    New Hampshire
    #5
    And in addition, inserting a counter through the program option only works if you are publishing to MobileMe. That is one of three things (along with built in RSS feeds and something else I can't recall at the moment) that only work if the site is hosted on MobileMe.

    That being said, it seems that a lot people are using the free StatCounter with iWeb quite easily and it appears to be a counter with a LOT of cool info available beyond the straight counter function (and can be hidden as well). Instructions for automatically adding it to iWeb can be found at the iWeb FAQ page which has a lot of other useful info too.
     

Share This Page