Popup onclick action


I installed Piwik a few weeks ago, and it works great.
Nevertheless, I installed recently a popup that works with an onclick instancy. It’s javascript en php based if i understand it well.
My problem is that when a visitor clicks on it, there is no record of it.
How can I solve that issue with the piwik plugin?