Tracking code not tracking

A friend of mine set everything up for me. I have a website and he’d set up the piwik tracking code within a widget I had on the sidebar. I have changed the theme (and various settings) of my website and I no longer have a sidebar widget (it’s actually bugged and being displayed at the bottom of the site).

Unfortunately I copied the tracking code in my footer file (before the /head) and yet it no longer tracks ANYTHING. I also tried the way it used to work via a sidebar widget but that also does not work.

Any suggestions ?

What software are you using on your website? Is it a public URL you can share?