Piwik extended functions