Comments (17)
I doubt Github Pages or Netlify offers any native analytics. One (free) option is Google Analytics, which would give us unique visitors and locations. This might be nice to know what translations we might want to tackle. This is just a script tag we add to the page, so we could use this with any deployment method.
Do you happen to have more info on either Cloudflare analytics or how it was deployed? I might be able to dig something up.
from numpy.org.
Google Analytics should give us enough info. Some Cloudflare data, also useful as a reference so we can see how much more traffic a new site gets :)
from numpy.org.
Relevent discussion: Shekharrajak/poc-hugo#3 (comment)
from numpy.org.
One (free) option is Google Analytics, which would give us unique visitors and locations. This might be nice to know what translations we might want to tackle. This is just a script tag we add to the page, so we could use this with any deployment method.
@joelachance @rgommers Now, that we are so close to the launch, let's set up an account with Google Analytics.
from numpy.org.
@rgommers I thought we were leaning towards GitHub Actions.
It's just a "can't keep postponing the launch forever" - it's not a hard requirement to do via CI, so can do after first launch (if we want it to be in the next 5-10 days ...).
If Cloudflare is preferred, frankly I'd still set up with Google Analytics to get insight on keywords/phrases that are driving traffic to the website. That would give us a better understanding of what content is missing or needs to be expanded, as well as optimize the footer by including the links to the most visited pages. I’m sure we will uncover some interesting data that I’m not even thinking of right now.
That sounds good, if Hugo support (https://gohugo.io/templates/internal/#google-analytics) works it should not be too much work. I'd also keep it for later though - we're really stretching to get the must-haves done.
from numpy.org.
If moving from GitHub pages is an option, then I would prefer GitLab Pages. They support Hugo out of the box (and many other site generators as well):
This means that as soon as a commit is made (or a merge request accepted), the website will be updated automatically. This simplifies and improves the workflow for making changes to the website, because everyone can contribute, even small changes/correction, straight from the web interface of GitLab.
This would also simplify the workflow for translations, in case we decide to support them. The translators can work directly on the web interface of GitLab, and finally submit a merge request, which can be accepted by language admins.
from numpy.org.
If moving from GitHub pages is an option
I think you mean moving the repo away from GitHub? That's not really an option. Moving the deployment is, whatever works.
from numpy.org.
I mean moving numpy/numpy.org to GitLab, not numpy/numpy etc. I know that it is not convenient to have repositories hosted in different places, so I am almost sure that nobody will accept this.
from numpy.org.
@dashohoxha I'm pretty sure Github has the same functionality you're mentioning. See below:
https://pages.github.com/
https://github.com/features/integrations
Netlify gives us a little more visibility into bandwidth, but both should be very similar for deployment.
from numpy.org.
One thing I liked about Cloudflare is that you get good statistics, e.g. unique visitors per month. Stefan just moved numpy.org under the NumFOCUS Cloudflare account. Not sure if GitHub Pages offers that. For scipy.org (not admin'ed by NumFOCUS) we just have raw server logs, which is much more painful.
from numpy.org.
Looks like either would work great!
from numpy.org.
GitHub does not do Hugo page builds, so for that we'd currently use Travis-CI—as we currently do to build the NEPs and devdocs. I think there's nothing stopping us, in principle, from using GitLab or Netlify for deployment. As mentioned by others, we already have Cloudflare set up to handle the bandwidth issue.
from numpy.org.
@stefanv for staying with GitHub Pages there's now GitHub Actions, which since today has CI/CD in beta. That saves messing around with permissions and API tokens to run a simple website build and deploy.
from numpy.org.
We already have Cloudflare set up, which gives the analytics I put a screenshot for above. I think we're good here for now, I don't see an issue staying with GitHub Pages + Cloudflare.
from numpy.org.
I mostly haven't been apart of any work in this ticket, but is there still work to be done here or can we close this ticket? @rgommers
from numpy.org.
Let's close it - we'll do the first deploy manually I think, and deal with auto-deploy to GH Pages once we have some more safeguards in place.
from numpy.org.
@stefanv for staying with GitHub Pages there's now GitHub Actions, which since today has CI/CD in beta. That saves messing around with permissions and API tokens to run a simple website build and deploy.
@rgommers I thought we were leaning towards GitHub Actions.
If Cloudflare is preferred, frankly I'd still set up with Google Analytics to get insight on keywords/phrases that are driving traffic to the website. That would give us a better understanding of what content is missing or needs to be expanded, as well as optimize the footer by including the links to the most visited pages. I’m sure we will uncover some interesting data that I’m not even thinking of right now.
from numpy.org.
Related Issues (20)
- Changes in NumPy PDF documentation. HOT 4
- Adding package to ecosystem HOT 6
- BUG: The website says that 1.24.0 was released when in fact 1.24.1 is the latest version HOT 3
- Add instructions for reaching steering council HOT 4
- Would it be appropriate to propose Awkward Array as an array library on NumPy's homepage? HOT 3
- Release block on landing page shows overflowing text HOT 2
- Cannot install no module named distutils HOT 2
- Docs pdf link broken HOT 5
- Server Not Starting HOT 4
- Website looks weird, stable doc gives 404 HOT 1
- Makefile's `serve` rule checks out submodules, making testing theme changes difficult HOT 3
- Consider unifying common parts of Makefiles in numpy.org and scientific-python.org projects HOT 2
- @gokceneraslan a division by a positive number is well-conditioned therefore I think it is quite safe to to divide by `log(2)`. HOT 1
- Get Help IRC still points to freenode HOT 5
- OVAX 𝖦𝖫𝖮𝖡𝖠𝖫 Limited - Facebook HOT 1
- BUG: overlapping links on landing page HOT 7
- Enable dark mode HOT 13
- Atry4
- BUG: team page rendering is broken
- ## Deploying with <a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> Cloudflare Pages HOT 1
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 numpy.org.