Giter Club home page Giter Club logo

Comments (5)

mikeal avatar mikeal commented on May 29, 2024

Is there a preferred analytics tool we use? @lgierth

from protoschool.github.io.

 avatar commented on May 29, 2024

Google Analytics usually (I hate it) -- make sure to add it in a way that it's only active on https://proto.school, not on localhost:8080/ipns/proto.school or ipfs.io/ipns/proto.school

from protoschool.github.io.

vmx avatar vmx commented on May 29, 2024

As a user I also dislike Google Analytics (I disabled it). I think there should be a clear plan on what we want to track and why instead of doing a "let's collect as much as possible just in case".

from protoschool.github.io.

mikeal avatar mikeal commented on May 29, 2024

On the Node.js website we came up with a little code snippet that disables GA when "do not track" is set in the browser as GA ignores it by default. That might be a good compromise in the short term so that we can get analytics into a tool our team is familiar with until we find a better alternative.

from protoschool.github.io.

 avatar commented on May 29, 2024

If you're already doing a check, make it if url.host == "proto.school" too :) It'd be good to keep up the expectation that websites in IPFS are self-contained and don't make external requests (at least when requested as /ipns/example.com or through a local gateway). And it'd be something that we can rather easily copy to all other websites that make use of GA, I guess (ipfs.io, protocol.ai, etc.)

from protoschool.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.