Per page widget

Is this possible or do I have to create a new site per page?

TIA,
Richard

A better description of need.

I have a page created for each user and I want that user to have analytics just for their page.
~/frank
~tom
and I want them to be able to see their stats (using an iFrame) here:
~/frank/stats
etc etc.

I have the pages created and the stat pages but can’t figure out how to only show stats for ~/ page, instead I get siteID only.

If you’re only using 1 Piwik database, then each user needs a unique/distinct site id to use on their page.

In the Piwik admin panel, you would set the privileges for each user.

[quote=vipsoft @ Mar 14 2009, 12:14 AM]If you’re only using 1 Piwik database, then each user needs a unique/distinct site id to use on their page.

In the Piwik admin panel, you would set the privileges for each user.[/quote]

vipsoft,

We don’t need to do logins for each user. We would like to just give each user their own page we make with an iFrame. Can this be done?

Data is organized by site id, not by url or user id. Other web analytics take the same approach.

I can’t think of a workaround.

Have you considered the services of a Piwik Consultant to customize Piwik for your unique needs?

[quote=vipsoft @ Mar 14 2009, 12:31 AM]Data is organized by site id, not by url or user id. Other web analytics take the same approach.

I can’t think of a workaround.

Have you considered the services of a Piwik Consultant to customize Piwik for your unique needs?[/quote]

I was hoping to not go that route as I’m not getting paid for the implementation myself style_emoticons/<#EMO_DIR#>/wink.gif

Will there be any performance issues with creating many many siteID’s? What if I created 10,000?

thanks.

Performance issues aren’t generally tied to the number of site IDs.

While your overall system performance is obviously constrained by your hardware (memory, disk space, disk access/read/write times, etc), the demands on your system will largely depend on the number of visitors and the number of concurrent visits hitting the same piwik database (i.e., due to table locking and triggered archiving).

You might be able to offset this through a cronjob (see misc/cron/archive.sh) and disabling enable_browser_archiving_triggering.

See: http://piwik.org/docs/setup-auto-archiving/

Further performance improvements are being tracked in tickets #374 and #386.

Ok I understand that currently I have to have a different site per user. I found this command in the api reference:

http://piwik.org/demo/?module=API&meth…p://example.org

Then I can run this api call to make sure of the siteID:
http://piwik.org/demo/?module=API&meth…_auth=anonymous

I am surprised this hasn’t come up before. To me it seems like content sharing sites would use my method to keep track of single pictures/videos/blog posts etc.

thanks for the help.