Comments (15)
Jim Blake said:
From Jon C-R:
Jim,
Kathy uses Google Analytics here in Cornell VIVO to track not only the amount of traffic but what people are doing.
In my ideal world, Vitro (and by extension VIVO) would have Google Analytics configuration in deploy.properties where any site could enter their preferred key or indicate that Analytics should be disabled, and appropriate modifications would be made as Vitro or VIVO is deployed. Barring that, it would be helpful to have a section in the installation and/or upgrade guides pointing out where Analytics can be activated and a key specified.
Katy Börner was in favor of VIVO having a unique worldwide Google Analytics key so that all use of VIVO software anywhere could be tracked. This seems a little big brother-ish, but it might be a provocative topic for conversation at the implementation fest.
There is no longer any need to differentiate between NIH-funded sites and other sites since the NIH grant is over.
Thanks for pointing out the inconsistencies --
Jon
from vivo.
Jim Blake said:
It would not be difficult to turn this into a runtime option, as Jon suggests. For example:
analytics.google.siteInfo = UA-5164622-5 vivo.cornell.edu, UA-12531954-1 none
This would duplicate our current tracking, using our own GA code and domain, and the "rollup" GA code, with domain = "none"
That still leaves some questions:
Currently, a table on the Cornell Confluence page "Google Analytics for UI" specifies the domain, GA code, and contact information for seven institutions. Do we still need/want to publish this information? Publicly or privately? Where?
Do we still want to record analytics for all seven institutions on a single "rollup" account?
from vivo.
Jim Blake said:
As I said in my previous message, it will not be difficult to invoke the Google Analytics code using a runtime property. But what is the best way to do this?
Is support for Google Analytics a function of Vitro? Is it a function of a particular site?
If this is a function of Vitro, then either FreemarkerHttpServlet or FreemarkerConfiguration can read the runtime property and make it available to the templates.
If this is a function of a particular site, then create a mechanism that exposes the configuration properties to the templates, and Google Analytics becomes a feature of the template/theme.
Other options? Your thoughts?
from vivo.
Mike Conlon said:
We need to help our sites – Vitro and VIVO sites – configure and use Google Analytics with their local key.
We can open a separate issue regarding runtime.properties and automatic configuration.
from vivo.
Christian Hauschke said:
I would prefer a "service-agnostic" solution, that can be used for services like Matomo (ex-PIWIK, [https://matomo.org/]), too. This would mean there is a place to include any javascript tracking code. This place should not be named after Google Analytics.
The documentation process for this should be done regardless of which service is used, too.
PS: I just added Matomo on https://wiki.duraspace.org/display/VIVO/Web+Analytics+for+VIVO
from vivo.
Mike Conlon said:
Agree. Would be good to generalize the analytics capability. At the moment, we have a template called googleAnalytics.ftl where a key can be inserted. I plan to document that under this ticket. New VIVO admins want to know how to enable Google Analytics.
I have opened a new ticket to dal with the more general problem of web analytics for VIVO. See
from vivo.
Mike Conlon said:
Work started. See https://wiki.duraspace.org/display/VIVODOC110x/Configuring+Google+Analytics
from vivo.
Mike Conlon said:
Complete first draft. The assumption is that the page is for people relatively new to VIVO. And new to their production site. Configuring Google Analytics is something a site might do before they are VIVO experts. I have tried to keep things as simple as possible.
from vivo.
Christian Hauschke said:
Can we change the title to "Configuring Web analytics" with two sections about Google Analytics and Matomo as an example? Matomo is basically the same, you just insert a different tracking code. We at TIB even use the googleAnalytics.ftl for this.
from vivo.
Christian Hauschke said:
Reviewed. Please note my comment on https://wiki.duraspace.org/display/VIVODOC110x/Configuring+Google+Analytics.
from vivo.
Andrew Woods said:
Pending response to review comment.
from vivo.
Christian Hauschke said:
Everything fine (reviewed), but I would like to add the following:
h2. Other analytics plattforms
It is possible to use other analytics plattforms. E.g., if you want to use Matomo, you can substitute the tracking script by Google Analytics with the one provided by Matomo.
from vivo.
Mike Conlon said:
I added the material regarding other platforms. Please take a look.
from vivo.
Muhammad Javed said:
Reviewed and Passed.
from vivo.
Mike Conlon said:
completed and reviewed.
from vivo.
Related Issues (20)
- Add new object property button shouldn't be available if neither of 'select from existing' nor 'provide selection' options set HOT 2
- Form to create new faux object property should have 'select from existing' and 'provide selection' options predefined as set in base property
- UILabelsVocabulary.ttl namespace and PropertyKey class name should be modified to avoid confusion with core ontology
- Data property edit form doesn't return valid values with " character
- Faux property participant doesn't work
- Having a classgroup with a missing label causes index page not to render HOT 1
- Some freemarker templates don't have escaped values HOT 1
- Properties do not have the correct settings to suggest creating a new value or selecting an existing value HOT 2
- Upload RDF data with blank nodes results in shredded ontology data in TBOX HOT 1
- Extend Dynamic API ontology with UI elements
- vivo_home/api/rest/{version}/persons
- vivo_home/api/rest/{version}/organizationUnits
- vivo_home/api/rest/{version}/events
- vivo_home/api/rest/{version}/projects
- vivo_home/api/rest/{version}/publications
- SPARQL Operation - Pageable and sortable flag HOT 1
- Add documentation for DOI claiming tool HOT 1
- Some inferred TBox axioms are not removed when assertions are deleted HOT 3
- Long delay when logging in to populated instance HOT 6
- Some i18n labels are missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vivo.