Git Product home page Git Product logo

counter.dev's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

counter.dev's Issues

Page views for single user

It would be nice if the tracking was counting more the one visit, it's not very useful if you want to know if someone would open main website and click on for instance documentation page.

If think it's good idea to send tracking code once for first visit and send smaller ajax requests on each visited page. If the tracking is per sessionStorage it will give single session on the website what pages he visited.

`exec: plash: not found`

Hi,
I'm trying to run counter.dev on Windows using this simulated Linux environment called Cygwin (little uncommon to succeed on big projects), So It is very likely not to work at all, but let's try.

So what's Plash ?
I couldn't spot any reference on the net to what it is actually.

Sint Maarten flag missing

It seems if you have a visitor from Sint Maarten, which somehow I happened to have, it just shows SX instead of the flag. One exists though: 🇸🇽
image

Hardcoded utcoffset in client tracker?

Hello!
Love this tool! Really useful to see how my site is doing.

When looking through the client tracker script, this line seemed weird to me: utcoffset: "x"
The number seems to be referring to the dashboard owner's timezone, but then it just seems redundant, as the server already has access to that.

I would guess (but cannot confirm) that it instead would be used to get the client's timezone for use in the "Time" module.
If so, the script to use would need to be something like: utcoffset: (-(new Date()).getTimezoneOffset()/60) (https://stackoverflow.com/a/9149604)

If that is correct, then I can open a pull request and plop it in.
If not, feel free to close this issue.

Use your own profile by default rather than stock profile

The standard javascript you need to copy-paste has a hardcoded account name that makes your data public. It might be nicer to automatically fill in the users own username, or include some text to say that you should substitute your own username instead of the pre-filled value.

Also, the script preview is blocked by my ad blocker. I don't really mind not tracking users with add blockers, though I would prefer if the admin screen settings page worked.

shorter uuids strings

They leak into the script include, it would look nicer if they are shorter. Collisions, maintaining counter in redis as state yadda yadda yadda

<script src="https://cdn.counter.dev/script.js" data-id="33671ad4-a966-4a52-b48f-56c92d10a678" data-utcoffset="1"></script>

Possiblity to Share Only Specific URL Information

Hi, thanks before for this awesome tool.
I just curious, is there an option to share our dashboard to guest but only specific URL?
Currently guest link will share all URL/Domain in our dashboard, so if it possible.

Thanks

Self-hosting instructions

I am very fond of the self-hosting philosophy, and I have my own VPS where I would love to self-host my Counter instance. Nevertheless, I definitely lack the technical skills to do so without proper instructions.

Furthermore, my server runs with YunoHost, and it would be awesome if Counter could be wrapped into a YunoHost package.

Lastly, self hosting could bypass the problem of counter.dev being blocked by ad-blockers, as reported in #6.

counter.dev shows .local and local IP addresses

I have counter.dev analytics on neofetch-js, and I saw @webdev03 's phone loading a site from their computer in counter.dev . I think analytics requests from .lan, .local, 10.*.*.*, and 192.168.*.*, and domain names without a . (and maybe others) need to be discarded and hidden from users by default, because I should not see their computer's hostname or the port their web server was running on. Please fix this.

Tracking outbound links

I would really like to be able to track outbound links. Are there any plans on adding such a feature?
Or is it possible to do it somehow with the current code?

Fix timezones

  • They are currently just an offset from UTC, not a timezone. My Europe/Berlin changes the offset depending on summer or winter time.

  • My entries right after 0:00 am (you know, 24:00 - midnight) get collected into "yesterday" and not "today" now in the summer. I believe because something is relative to the browsers timezone.

  • If the local memory cache as done with the uuid turns out feasable the timezone can be a setting and not a GET parameter from the tracking code.

Nobody complained about this yet

You were added to awesome-humane-tech

This is just a FYI issue to notify that you were added to the curated awesome-humane-tech in the 'Analytics' category, and - if you like that - are now entitled to wear our badge:

Awesome Humane Tech

By adding this to the README:

[![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech)

https://github.com/humanetech-community/awesome-humane-tech

(If you were already notified or aware of the badge program before, then I humbly pardon for the disturbance)

Is a GDPR cookie notice necessary?

It seems like there isn't a lot of analysis regarding individual users, which makes a GDPR cookie banner obsolete?
Would be great to have an official statement somewhere in the documentation or on the website.

whitelist domains

only allow user given domains to be added.
A very common feature request.

Aliasing own domain to point to counter.dev

Would it be possible to support aliasing under own domain, so one can fetch tracking script from analytics.owndomain.com which would be CNAMEd to counter.dev?

Would help against adblockers.

Private user names

Quote

Hello,

I like your product, but I do feel like having your email displayed openly in the code of the website for this to work is.. questionable. Enough so that I might stop using it, or at the least setup a dummy email for the account.

Thank you!

github badge for site?

can it be possible to provide an endpoint to generate a github badge to show total visitors of a site?

like ?

Thanks.

Find replacement for HTTP push

Cloudflare is not supporting it anymore blaming Chromium for removing it's support. I need to find another way to serve many small component js files.

Entry pages show only root "/"

image

Hello people, thanks a lot for the app. I was wondering if you could help me here, I have a static website and I've added the tracking code, the thing is the "Entry pages" section is always showing the /. Any idea what might be the issue?
Here's the dashboard: https://counter.dev/dashboard.html?user=Woile&token=uDRZvvv2oM7q8Rga

And here's my blog:
https://github.com/Woile/woile.github.io/blob/cc3787c410415c0f728daba0d90f4dc9a546585b/conf.py#L1239-L1243

I've checked the network tab and there's a call being made from the blog posts, like this: https://woile.dev/posts/helm-3-crafting-a-chart/

Thanks!

Import data from other services

Rather than developing direct migration from Google Analytics, Plausible, or other counter.dev alternatives, I believe that in order to allow users to move to counter.dev it is very, very important to provide them the possibility of importing data from other analytics services via CSV.

Add the ability to test on localhost

I was not able to figure out how to use counter.dev locally. I assume a domain name with a live website is needed in order to use counter.dev to view the dashboard stats? Just pasting in the javascript into the head tag is easy enough but what do you do afterwards?

counter.dev not available via VPN

Hello,

Counter.dev is not available when you're accessing the website while connected to (Mullvad)VPN.
Also CORS issue occurs on tracking link when you're on VPN.

CORS message ;-) Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://counter.dev/

Any idea why?
If you require any details, just ask :-)

Best regards,
spectral369

Rework "Last visits"

Would be handy if it also shows the device used as icon (e.G. phone, maybe also a browser and os symbol). Also have that internal data as json.

Page visits aren't detected on brave and safari

I pasted the script into the html head and went to brave to test if I implemented the script correctly. But even after 30min the page view didn't show up on the dashboard. So I tried it on Safari which also didn't work. In the end I opened the page on chrome and the page view showed up in the same second on the dashboard.

Why isn't it working for safari and brave?

Bots recognition

Hi!
I tested it with the lighthouse and it seems that there is no bots recognition implemented. Every test made with this tool increments the visits counter. Would it be possible to ignore bots' track requests?

Support for projects

Does your service support projects? I was looking at the tracking code and it looks that it's not. I would be good idea to add projects with Id, where users can set different projects with different IDs and show statistics for different projects.

It support domains but I would like to have same project for different domains? For instance I would be able to track the usage of bookmarklet for my Open source project.

Add the ability to change email address

As far as I can tell this isn't possible and no issue has been opened for it, so here goes nothing: it should be possible to change the email address associated with your Counter account. Currently you'd have to delete it and make a new one, which means you'd lose everything. This isn't ideal.

Donation don't work

I just wanted to donate and the paypal button don't work. Looks like error in PayPal you should report this.
This is the error in console

assertion.js:64 Uncaught TypeError: Parameter `currency.value` must be a number or a string representing a canonical number (e.g, `"9999.99"`), not string `"20,00"`
    at u (assertion.js:64)
    at c (assertion.js:118)
    at assertCanonicalNumberType (numberHelpers.js:34)
    at h.value [as formatCurrency] (number.js:238)
    at y (formator.js:114)
    at Object../utility/getTemplateData.js (getTemplateData.js:71)
    at n (bootstrap:19)
    at Module../routes/member.js (member.js:4177)
    at n (bootstrap:19)
    at bootstrap:83

which is stupid because you can't type 20.00 only 20,00 that is not valid according to assertion.js. Maybe the issue with localization some countries use , (like Poland) some . (USA).

Fix `ERR_BLOCKED_BY_ADBLOCKER`

A user complained about this error on his browser.

(index):173 GET https://simple-web-analytics.com/track?referrer=&site=XXXXXX&utcoffset=0 net::ERR_BLOCKED_BY_ADBLOCKER
(anonymous) @ (index):173
(index):1 Uncaught (in promise) TypeError: Failed to fetch

I'd need to inspect that and know how much traffic could be affected.

Support utm_source

Hey guys,
Been using Counter for a while now and loving it! 

Just a quick question, can I track the referral (utm_source) of the url? How do I do that?

Thanks a ton

[Next.js/React] Always same entrypoint

Hello,

First of all, thanks a lot for your solution it save a lot of time and money and appreciate a lot your works on it.

Currently I have several Next.js (React) website. When i use counter, it tell always the same entrypoint (/).
Do you know how i can solve this ?
If needed i can make a reproductive repository.

Thanks :)
Quentin

Biased anti-war activity

You seems to miss 8 years of war in Donbass. Ukraine killed over 3000 civilians, including over 200 kids. Donbass become a training ground for Nazi units.

"Our kids will go to schools, their will hide in cellars. That way we'll win the war", said Poroshenko back in 2014.

Get real, man.

Collect pageLoadTime

Since JavaScript can record the constant pageLoadTime, I believe it would be wonderful and extremely useful if Counter could collect and store it, too.

Dark mode

Supporting an automatic dark interface for the dashboard

Tracking JavaScript not compatible with every browser - IE not tracked.

A user noted that his browser does not support URLSearchParams and that for some browses like IE and older browsers fetch is not supported.

Each of this features are independently from each others supported by ~95% percent of all browsers.[1] With IE not supporting these two features at all and therefore not being tracked.

Not tracking IE is of course undesirable since it could be interesting for users to know how many of it's users are using IE in order to better evaluate if supporting it is worth it. Additionally I know there are potential users where a considerable percentage of users could be IE - for example internal webpages for corporations or governments where most users have to use IE.

On the other hand, we have that one of the design decisions of SWA is to not have a separate javascript file that is included but instead the tracking javascript embedded into the source. This is done like this for security reasons and because it's cheaper and SWA is a free service that is privacy friendly.

Having the embedded inline script not use fetch and URLSearchParams may be possible, but would make it longer and more complex.

Weighting this, my current opinion is that having a shorter and more legible tracking code and the transparency with that is more valuable than supporting more browsers and track IE. With time this issue may become more and more irrelevant.

I am very open to other opinions, a discussion or a concrete suggestion how the tracking code could look like so more browsers are supported :-)

[1]
https://caniuse.com/#search=fetch
https://caniuse.com/#search=URLSearchParams

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.