counter

Piwik: generate a counter image to display it on external sites

It is possible to generate a image (php gd) with a count of visitors of my piwik tracked site. I want Embed a flag counter in a external site. On this page iframe or flash not allow. so i can't integrate the normal piwik widgets ...

Tracking unique visitors only?

Currently I have a file called "hits.php" and on any page I want to track page hits I just use <?php include("hits.php"); ?> How can I track unique visitors only though? My hits are false since it can be refreshed by the same person and hits go up. Here's my source: <?php $hits = file_get_contents("./client/hits.txt"); $hits = $hit...