Giter VIP home page Giter VIP logo

Comments (5)

arp242 avatar arp242 commented on May 27, 2024 2

I decided to not implement this after all @duarteocarmo; I can't find a good solution for it that I like, and have been hung up on this for a few days now. I'm going to go ahead and merge the branch in a bit.

You can still add the path manually, which is not ideal but should cover the common use case; from the new docs:

screenshot_2020-04-14-14-35-26_border

I'd like to fix this in the future, but right now I'd also like to move on with other stuff and not get too hung up over this 😅

from goatcounter.

duarteocarmo avatar duarteocarmo commented on May 27, 2024 2

Hey there! No worries, thanks for letting me know. Appreciate all the hard work you are putting in here.
Good news from my side. I managed to compile the project, so will start playing around with it 😄

from goatcounter.

duarteocarmo avatar duarteocarmo commented on May 27, 2024

Oh this looks cool!!!

Would it support things like when a user clicks a specific link on a specific page??

from goatcounter.

arp242 avatar arp242 commented on May 27, 2024

Right now it re-uses the path field for the event name, so if both /a.html and /b.html has <a href=".." data-goatcounter-click="click-foo">..</a> then there's no real way to know from which page it was sent.

To be honest, I hadn't really thought about that 😅 But yeah, I see how that's useful.

I think the referrer is pretty useless for events, so we could store the path in that perhaps, or just add a new name attribute (but this would be quite a big change), or change event from a bool to a string.

I thought #215 was done, but I think I'll change that 😅 Just need to think about the best way 🤔

from goatcounter.

duarteocarmo avatar duarteocarmo commented on May 27, 2024

Sure, that sounds good. If you need some feedback do let me know!

from goatcounter.

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.