Statistics Version 4 - Pre-beta
Applies to all versions
Home - Report A Bug - Contact Me


Adding statistics to your website

To add statistics to your site you first need to have served them. You must also know the address of your Statistics v4 server (your IP address), port of the Statistics v4 server, and the token of the stream (explained in Serving)

There are several ways to add an HTML page to another page. It is recommended that you use the iFrame method.

Copy and paste this code onto the page you want the stats to show. making changes where needed. The code should go wherever you want the stats to show: (cyan coloured text may need be changed)


<IFRAME src="http://<Statistics server address>:<Statistics server port>/<Stream token> " title="MyStats" width = "100%" height = "300"> </IFRAME>


If the token is recognised and Statistics v4 returns a page, this code will then display a frame similar to the one shown below:



Statistics Version 4.0.0.0