Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin: define sets of websites and generate Piwik report based on the sum of these websites #455

Closed
mattab opened this issue Dec 3, 2008 · 5 comments
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@mattab
Copy link
Member

mattab commented Dec 3, 2008

Define sets of sites in order to present sum of data for them.
1. define set by listing sites to sum (i.e. idsite 1, 2 and 5)
2. define set by listing sites not to sum (i.e. all sites except idsite 1, 2 and 5)

Database. Each of set is defined by an entry in piwik_site table. We make the following modifications in tables:

```

  • convert idsite to string, so we can define site set i.e. “1,2,4”, “all”, “all but 1,2”
    ```

Admin User interface.

```

  • we use Site chooser to define set of sites
  • we define set of sites, i.e. ‘Client 1 sites’
    ```

Archiving. We compute sets of sites from summing archives of sites + lookup the number of unique visitors. Data concering unique visitors for certain countries, keywords will be inaccurate in the first version of plugin. We need to change/disable archiving done by exising plugins, so we do not archive data like for normal site, but we just sum data archived for sites in siteset.

Notes: when we edit siteset we need to recompute all the data!

Permissions:

```

  • we define permissions for site set the same as for sites,
  • we can view siteset as different site
    ```

Some work is already done (i.e. ArchiveProcessing_Siteset class, plugin base code). The solution is already working in some form on my site network)
Keywords: outofscope

@mattab
Copy link
Member Author

mattab commented Jan 30, 2009

Maciej, could you please post the plugin if it’s working already? thanks

see with mzawadzinski att gmail for any more info

@zawadzinski
Copy link
Contributor

Current version in the attachment.

Now working on core to optimize Archive/Array/*.php

@zawadzinski
Copy link
Contributor

attachment was not for this plugin, see #389

The plugin I use is in very poor ‘dev’ state. When I finish dealing with other piwik issues I will go back to it.

@mattab
Copy link
Member Author

mattab commented May 18, 2009

mauser did let me know that this plugin will be ported to the latest Piwik in the next few weeks. Stay tuned

@mattab
Copy link
Member Author

mattab commented Mar 21, 2010

This could be done in a 3rd party plugin but probably doesn't fit in core. Marking as won't fix for now.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants