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

Add possibility to manage and view Intranet websites #7724

Closed
mattab opened this issue Apr 21, 2015 · 5 comments · Fixed by #13473
Closed

Add possibility to manage and view Intranet websites #7724

mattab opened this issue Apr 21, 2015 · 5 comments · Fixed by #13473
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.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Apr 21, 2015

Piwik can be used to track websites (including intranet websites) and mobile apps.

Currently if you measure Intranet portal using Piwik, it works well but users may need some ini config change (eg. faq).

Maybe we can design a simple but better way to manage Intranet websites for users?

How creating intranet website brings value to users?

What's the value in creating an intranet website VS a normal website?

  • when a website is set as intranet, we could ignore the ini setting trust_visitors_cookies and enable it always for this intranet site
    • enabling the setting helps data accuracy as many computers on an intranet have often shared IP addresses and same fingerprint hash
    • currently users have to manually enable the setting trust_visitors_cookies, as documented in How do I track visits on my intranet?, and it would help users to remove this step
  • in 'All Websites' dashboard (and in 'Manage websites') the Intranet websites could be clearly marked as 'Intranet' , maybe displayed differently (or "highlighted" in some way)
    • eg. setting the intranet website with a group attribute will put all intranet websites in one group like in Website groups plugin)

Notes

@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Apr 21, 2015
@mattab mattab added this to the Short term milestone Apr 21, 2015
@mattab
Copy link
Member Author

mattab commented Apr 21, 2015

if you want to see better Intranet analytics in Piwik feel free to post your comments and suggestions on how we could improve reporting for Intranet websites, we're listening :-)

@gaumondp
Copy link

Small comment: I was always reluctant to set "trust_visitors_cookies = 1" because I currently host both Public websites and Intranets on the same Piwik installation.

Reading the FAQ 2 years ago I decided to not set that setting and I stayed with the impression that setting up "trust_visitors_cookies" I would need a second Piwik installation.

At least, at the documentation level, you could add something about hosting both kind of sites and the impact/possibility to set trust_visitors_cookies and hosting a public website.

@mattab mattab changed the title App possibility to manage and view Intranet websites Add possibility to manage and view Intranet websites Apr 23, 2015
@AlroneRhyn
Copy link

Hi !
Managing intranet/internet sites separatly seems to me a great idear. I'm tracking both too and i would like to enable the do not track option for internet sites and disable it for my intranet sites. Or why not for a given site.

Thx a lot !

@mattab
Copy link
Member Author

mattab commented Sep 7, 2018

Moving to 3.6.1 (one of our customer directly needs this). it is still important to bring more flexibility, as one does not want to enable trust_visitors_cookies across all sites. We are getting this problem from time to time and the consequences are ugly. It simply does not make sense to have this as a global setting and end up creating buggy data for internet sites. So let's improve this behavior. Thoughts:

  • At the minimum, one could specify in a config setting, the list of idsites that are "intranet" sites.
  • Much better could be to create a new "Intranet" website type in Core Matomo. For Intranet websites, we directly enable the trust_visitor_cookies setting. This setting becomes a "website setting" de-activable in the UI and visible only for intranet sites.

@mattab mattab modified the milestones: Backlog (Help wanted), 3.7.0 Sep 7, 2018
@mattab mattab added the Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. label Sep 9, 2018
@mattab mattab modified the milestones: 3.7.0, 3.6.1 Sep 21, 2018
@tsteur tsteur self-assigned this Sep 24, 2018
diosmosis pushed a commit that referenced this issue Oct 7, 2018
* Add possibility to manage and view Intranet websites #7724

* more tweaks

* ui tests

* fix some tests

* added missing name

* remove intranet setting, added test for tracking

* fix various tests

* remove test

* Update RequestProcessor.php

* Update en.json

* fix some tests

* do not throw exception if site does not exist

* seeing just now it is fine to trigger exception

* debug error

* log only certain requests

* Update piwik.php

* Update JsProxyTest.php

* trying to fix tests

* remove debug code

* trying to fix tests
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this issue Oct 11, 2018
* Add possibility to manage and view Intranet websites matomo-org#7724

* more tweaks

* ui tests

* fix some tests

* added missing name

* remove intranet setting, added test for tracking

* fix various tests

* remove test

* Update RequestProcessor.php

* Update en.json

* fix some tests

* do not throw exception if site does not exist

* seeing just now it is fine to trigger exception

* debug error

* log only certain requests

* Update piwik.php

* Update JsProxyTest.php

* trying to fix tests

* remove debug code

* trying to fix tests
@mattab
Copy link
Member Author

mattab commented Oct 18, 2018

FYI: updated the FAQ How do I track visits on my intranet?

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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
@tsteur @mattab @gaumondp @AlroneRhyn and others