Phpmvcount replacement?


I would like to migrate from phpmyvisit to piwik. However I don’t find a way to replace the phpmvcount plugin I used. Is somebody could give me a sample of coding to replace this plugin ?
I hope to keep the same kind of information than I display today on my site