umami-software / umami

Umami is a simple, fast, privacy-focused alternative to Google Analytics.
https://umami.is
MIT License
22.91k stars 4.26k forks source link

[Bug?] Missing URL links in page view, titles are displayed correctly however #2353

Closed zenminimalist closed 10 months ago

zenminimalist commented 1 year ago

Describe the Bug

I'm not 100% this is a bug, but I think it is.

When looking at the pages section, I only see on entry that seems to aggregate all page views under /and not the actual URL, like so:

CleanShot 2023-10-18 at 01 10 33@2x

If I switch to titles, the titles are display and the views are separated by percentage, like so:

CleanShot 2023-10-18 at 01 10 40@2x

I did enable the REMOVE_TRAILING_SLASH = 1 variable during docker deployment. Not sure if that plays a rule, but that is supposed to just remove the trailing slash, right? Not the whole link...

Overall, it's a very strange behavior. Let me know what I need or can provide in order to narrow in if this is a bug.

Database

PostgreSQL

Relevant log output

No response

Which browser are you using? (if relevant)

Vivaldi (Chrome based)

How are you deploying your application? (if relevant)

selfhosted

mikecao commented 1 year ago

Can you send us a CSV export of your website_events table?

zenminimalist commented 1 year ago

That is empty. Or am I looking in the wrong place?

CleanShot 2023-10-18 at 10 51 29@2x

I quickly checked the logs of the two containers, no errros.

zenminimalist commented 1 year ago

Maybe just to add, I checked my CF account (the website that is using the Umami tracker is behind CF proxy). However, the server (different from the website using umami) that is serving the tracker is not behind the CF proxy.

In just 24 hours, I'm seeing more visitors. I don't know how many bots that includes.

CleanShot 2023-10-18 at 11 28 37@2x

Update I managed to export the dump of Postgres of my current DB (took me a while to figure out how to do it). It seems that the events are logged in there with ID, URLs etc. I'd be happy to provide the dump (27KB in size, as I just started using Umami 1-1.5 days ago) via PM if you want to take a look.

Strange that this info is not displayed on the web UI even though they are saved in the DB. Makes no sense why that's the case. The docker logs of Umami indicate that the db connection is successful - no erros...

blyamur commented 1 year ago

I have the same problem for several versions already. On the WordPress blog, there are no proxies or restrictions and have not changed, it’s just that after some update the statistics began to be displayed that way.

Снимок экрана 2023-10-24 092046

zenminimalist commented 1 year ago

@blyamur Interesting.

So it seems that it is not just related to my setup. Maybe there are some commonalities in terms of setup. That might rule out some things, I don't know. What are you using?

I'm using WP, Cyberpanel and Openlitespeed and CF to proxy traffic.

blyamur commented 1 year ago

@blyamur Интересно.

Похоже, это связано не только с моей настройкой. Возможно, есть некоторые общие моменты в плане настройки. Это может исключить некоторые вещи, я не знаю. Что вы используете?

Я использую WP, Cyberpanel и Openlitespeed и CF для обработки трафика через прокси.

I have the blog hosted on its own server, previously under CF, now without and running directly. I tried recreating the statistics code as well. Did a clean install avlival umami. Installed a plugin for WP umami but the result is the same. Next is the same blog and on it all normal. Probably it's a matter of individual settings and a specific set of plugins such as firewalls and so on

But you gave me an idea, turn off all plugins and see 24 hours what the result will be.

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.