Comments (7)
any thoughts around using open source analytics?
i know ga is king, but lean towards not using them when its avoidable.
just a thought
from jkan.
Interesting. i'm friends with @laurenancona who's a GA whiz so I don't really know what the other options are. JKAN could absolutely support other tags though - it could just be a liquid template conditional. What did you have in mind?
from jkan.
The downside of most of the OSS analytics options is the overhead of configuring/maintaining the store yourself, and for sites with significant traffic there are some other performance tweaks that are necessary for client-side tracking. That said, I could probably create a pluggable simple custom event config for Piwik as well as GA without too much hassle. I need to go back the Piwik's docs for tag structure, but it could likely be easily enabled by the presence of an account number in either a Google Analytics
or Piwik
property number in _config.yml
.
Alternately, though it's another Google product, I typically just recommend using Google Tag Manager for this purpose. It's configurable outside the context of the application and allows swapping analytics tools at any time without changing the codebase directly.
Happy to expound on any of the above options, @jalbertbowden, and submit a PR, @timwis.
from jkan.
i'd love to hear anything else you could offer. especially to hear plus/minus of ga vs ossa (in an acronym i just made up for this conversation) more in depth.
perhaps you are aware of any pain points or low hanging fruit for ossa?
from jkan.
Thanks for the thoughtful response @laurenancona. One other point comes to mind -- given JKAN is a static site, there's no way to sort datasets by popularity. I'd love to leverage the analytics product to offer this. If there's a way to query the analytics API to get a list of pages under the /datasets/
directory sorted by popularity, without having to authenticate (or using a public-safe key), that would be pretty cool.
from jkan.
@timwis Provided we don't hit it too frequently, we could likely get away with using the superProxy to query top n sets, etc, which handles auth via a server-side Google Apps Engine app (blerg), but has lower API limits than other methods. If you'd like, you might make a separate issue for that & assign both to me - I'll work through a few scenarios.
from jkan.
@timwis Though on further thought, I'm not sure this would be super easy for forks to implement. It's sort of a catch22: use the Goog to surface top sets dynamically (which will still require forkers to set and configure a separate Apps Engine instance for their GA account), or go with OSSA (ht/ @jalbertbowden ) and they'd have to go through the not insignificant task of deploying Piwik or similar before they could take advantage of that. I'll think on it some more.
from jkan.
Related Issues (20)
- Update docs & website to reflect Netlify as recommended hosting provider HOT 2
- Document how to self-host Editor UI HOT 1
- Move categories into a collection HOT 1
- Netlify CMS still supported? HOT 4
- Consider replacing search with Lunr
- Get github-metadata gem working on Netlify HOT 3
- Add a Deploy to Netlify button
- Netlify should automatically use the correct build command HOT 1
- Validate data.json
- Netlify CMS shows empty category when category is a string
- Update docs for v2, and move them to version control
- Check browser support
- Consider publishing an upgrade plugin
- Update jkan.io for v2 HOT 1
- After v2 release, delete the wiki
- Improve the default styles HOT 11
- When should we markdownify things? HOT 2
- strict_front_matter: true important for GitHub flow
- does JKAN server host the data or is it just a list of links for data hosted somewhere else? HOT 3
- Bump GitHub Action workflows
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 jkan.