This code has no problem. It is standard. And I see the page visits on piwik dashboard, as expected. Now I would like to add a custom variable to the same web page, that tracks each call of specific function on my page. So inside the code of the function, which call I would like to track, I’ve added: