I kept the piwik code in one website, its not working but i don't see any visits graph, keywords etc... The website was not hosted where Piwik was hosted. Its working for other websites which were hosted on the same server where Piwik was hosted. Will Piwik code work if the website is not installed on other hosting server. Please let me know whats the issue.
You have to update your tracking code on the websites being tracked, to point to your Piwik server.