Landing pages stats


#1

Hello,

I have the following problem: We have a unique website with many landing-pages, so all our pages are:

http://example.com/pages/page-customer1/
http://example.com/pages/page-customer2/
http://example.com/pages/page-customer3/
http://example.com/pages/page-customerX/

We want to have separate statistics for each landing-page (and ideally, give to ours customers user / password to access only the statistics of they page).

Is this possible with Piwik? or I need to create separate websites for each landing page?

I was thinking about doing the following with Apache, creating separate logs for each page based on the path, and then import each log in separate websites on Piwik.

Something like this on Apache config:

SetEnvIf Request_URI ^/pages/page-customer1(/|$) web1
CustomLog /var/log/apache2/web1.access_log common env=web1

SetEnvIf Request_URI ^/pages/page-customer2(/|$) web2
CustomLog /var/log/apache2/web2.access_log common env=web2

SetEnvIf Request_URI ^/pages/page-customer3(/|$) web3
CustomLog /var/log/apache2/web3.access_log common env=web3

and then associate each log to a separate website on Piwik

Do you think this will work? Is there any other way to do this, that you know of?

Thanks,

Simon