Code Monkey home page Code Monkey logo

Comments (4)

jesade-vbg avatar jesade-vbg commented on August 22, 2024

image
It feels like some clicks like this might already be tracked automatically in Matomo? Atleast some filetypes.
https://matomo.org/faq/new-to-piwik/faq_47/#:~:text=Matomo%20(Piwik)%20automatically%20track%20these,reports%20them%20under%20Behavior%20%3E%20Downloads.

from hajk.

jacobwod avatar jacobwod commented on August 22, 2024

Thanks. This got me to actually search Plausible's docs too and it seems they have something similar: https://plausible.io/docs/file-downloads-tracking. I'll look into it.

from hajk.

jacobwod avatar jacobwod commented on August 22, 2024

Okay, so the official Plausible tracker is lacking some of the more recent updates (such as support for file download tracking), as well as it has a bug in the auto-tracking of outbound links (the bug is rather irritating as it makes browser to ignore the target property, so everything opens in the same window as Hajk, which is a bit buggy for files that we want to open in separate tabs…).

So, I decided to replace the official tracker with a new(er) fork: https://github.com/Barbapapazes/plausible-tracker, where this issues are fixed. There are some internal code changes on how the tracker is initialised, but the external config API remains the same.

from hajk.

jacobwod avatar jacobwod commented on August 22, 2024

See e744adb for code.

from hajk.

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.