Piwik Tracking Coding Help

I would like to place the Piwik tracking code inside a Javascript file but am unsure exactly how it would coded. Can someone help me with this?

The reason I want to do this is that I have HTML templates that people steal and upload on their server and I want to hide the Piwik tracking code in a file that they may overlook which will then allow me to get visitor stats that will lead me to my stolen templates.

Thanks…

Nevermind, I got it worked out.