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

Comments

Projects
None yet
4 participants
@mattab
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

  • we need the possibility to manage and view Apps #7131.
  • measuring intranet websites is a step towards our grand vision of building a generic Analytics platform that measures 'Mobile App', 'Wearable', 'Sensor', any 'Thing' that emits data: #4734
  • how do we spread the word about this Intranet feature? update FAQ: Intranet analytics faq and this one, and user guide/page Intranet Analytics)

@mattab mattab added the Enhancement label Apr 21, 2015

@mattab mattab added this to the Short term milestone Apr 21, 2015

@mattab

This comment has been minimized.

Member

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

This comment has been minimized.

gaumondp commented Apr 21, 2015

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 from App possibility to manage and view Intranet websites to Add possibility to manage and view Intranet websites Apr 23, 2015

@AlroneRhyn

This comment has been minimized.

AlroneRhyn commented Apr 23, 2015

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

This comment has been minimized.

Member

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 label Sep 9, 2018

@mattab mattab modified the milestones: 3.7.0, 3.6.1 Sep 21, 2018

tsteur added a commit that referenced this issue Sep 24, 2018

@tsteur tsteur self-assigned this Sep 24, 2018

diosmosis added a commit that referenced this issue Oct 7, 2018

Add possibility to manage and view Intranet websites (#13473)
* 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 added a commit to InfinityVoid/matomo that referenced this issue Oct 11, 2018

Add possibility to manage and view Intranet websites (matomo-org#13473)
* 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

This comment has been minimized.

Member

mattab commented Oct 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment