Yes I could track the main Page and all the pages inner page.
I can't change the name of the name of the inner pages because of the business catalyst system
the first site when the its banner is clicked from the site1.com/index.aspx or site2..com/index.aspx has the following url: site1.com/site1/Home.htm and the other one site2.com/site/2/Home.htm
Each set of pages is based on a main template with place holders for the content of each page. The menu of each entity (site1 and site2) is driven by a module
I think I 'll first create 2 websites in Piwik, and place each tracking code in the footer of the two separate templates. But I don't know what code to put on the home page or if it's better to Just create 1 website in Piwik and track the all thing from this one. This maybe should give all the detail of the tracking.
If I understood that description correct then the pages are operated under separate domain names., including the ‘shared’ home page. So there is a clear distinction between the two usages of that page.
I have no experience with the rest of the setup. But maybe this is an option:
If you have access to the servers setup then you could solve the inclusion of the tracking snippets in an automatic way depending on the domain requested. This way you do not only get a reliable distinction between the two usages of that page, you also save quite a lot of hassles because you don’t have to integrate the tracking snippets into the pages templates.
Here is a description of the setup, maybe it helps:
in one point there mus be a diferentation from one domain to the other…
i asume you are using some type of programing language (hat does catalyst use??? action script???) inside index.html, and deppending on the domainname of the request you get one content or the other… (this shoud be the work of a webserver and not of an app)
if this is the case:
you could add some kind of : if (domain 1) {add this tracking script} else {add that tracking script}