Yes, for Web Creator and Presenter, paste the code (HTML and/or JavaScript) in the box opened by the Counter option of the Insert menu. For older versions, the trick is to enter the code (HTML only) in a text object.

The counter will be displayed when your Web site is transfered to your provider server.

Note: JavaScript counters do not work in older versions.