Where to place the PIWIK Code



have an issue. I have two site with PIWIK racking code.

They are on index page.
so to url eg

Do i have to specify the last part eg index.php

I dont understand why the tracking is working for one and not for the other.