Reported in the forums. there is a typo in the Image Tracking code in the Piwik UI.
In 8659d69: Fixes #5131
The idSite parameter is still used in some core functions and the documentation.
Hi @Zeichen32 idSite is used in Reporting API, and idsite is used in tracking API. links & code you linked are correct