ihucos / counter.dev

Web Analytics made simple
https://counter.dev
GNU Affero General Public License v3.0
902 stars 39 forks source link

Group referrers (e.G. google.nl, google.de) #75

Closed ihucos closed 1 year ago

ihucos commented 1 year ago

Straight from twitter: https://twitter.com/notifications

@DevCounter Here's a thought -- some of the sources in my sources list are broken down in funny ways. Like... http://google.com, http://google.nl, http://google.de... Is there any way to group like sources together? At least subdomains?

ihucos commented 1 year ago

implamanted

DanHakimi commented 1 year ago

Nice! Thank you!

I still notice a few that could be wrapped together:

com.google.android.googlequicksearchbox/ into Google Search

out.reddit.com, new.reddit.com and old.reddit.com into Reddit.

com.pinterest into Pinterest.

mobile.twitter.come into Twitter.

ihucos commented 1 year ago

thanks, I'll take a look later.

This can be relatively easily configured here: https://github.com/ihucos/counter.dev/blob/master/static/components/dashboard/sources-countries.js#L7

DanHakimi commented 1 year ago

I made a commit... I think... idk, I tried doing it in Github's UI but I can't tell if it went through.

ihucos commented 1 year ago

Hello DanHakimi.

Thanks, that is nice. No, I do not see a pull request in the counter github project and your fork does not contain commits I can find.

What you could do though is to send the diff of your code changes here in this github issue. That would actually be quite helpfull. Your name won't be protocolled in the git history though.

Have a nice one

Irae

ihucos commented 1 year ago

It's implemented