This plugin allows you to include a simple statistic in your website showing the flags and hits of the countries your visitors came from.
This plugin allows you to include a small image or iframe in your website displaying the flags and total hits of the countries your website visitors came from
Please keep in mind that everyone will be able to see that kind of statistic as this plugin does not consider the access rights.
Matomo 2.0.4 or higher is required. GD library including ttf support.
View and download this plugin for a specific Matomo version:
The image is not displayed. What can I do?
Maybe you have some kind of access restriction for your Matomo like http auth. The Url needs to be public accessible, or at least accessible to those, who should be able to see the counter.
How can I display the counter for all data in the past
To do that, set period to range
and date to something like 1992-01-01,today
.
The full URL for the image would then look like:
http://matomo.url/index.php?module=FlagCounter&action=image&idSite=1&period=range&date=1992-01-01,today&cols=2&rows=6
This URL can then be simply used in an img tag on your site. e.g.
<img src="http://matomo.url/index.php?module=FlagCounter&action=image&idSite=1&period=range&date=1992-01-01,today&cols=2&rows=6" />
Can I use a custom font?
Currently all ttf fonts located in the fonts
directory within this plugin are available for usage. If you place a new font there, you should be able to use it.
View and download this plugin for a specific Matomo version: