Piwik tracking code and a lightbox

Hello.
I am trying to add the piwik tracking code a modal window generated by “prototype.js” and “lightbox.js”.
For some odd reason, when I have the tracking script on the page that opens as a modal window, it jumps to an empty page. Any idea on how to fix this?

Thanks.

I’m guessing your lightbox has a click handler. Make sure the function does a “return;” without a value … neither “return true;” nor “return false;” are cross-browser portable.