Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get past 'No data received' #759

Open
corinarace opened this issue Aug 15, 2024 · 3 comments
Open

Can't get past 'No data received' #759

corinarace opened this issue Aug 15, 2024 · 3 comments

Comments

@corinarace
Copy link

Newly joined and copy-pasted the <script> code I was given inside the main <div> inside the <body> of every html file on my blog, which is hosted on Neocities. Despite waiting around 1 hour and multiple refreshes, the analytics data is still not showing up on GoatCounter.

I've visited my blog on my phone and tablet to generate visits; I've added gc.zgo, goatcounter.com and corinnemercury.goatcounter.com to my Trusted Sites in my ublockOrigin browser extension; I've opened GoatCounter in a private window without any browser extensions active to see if they were interferring with it - still nothing.

I'm not sure what else to do to get it to work. Any advice appreciated.

@arp242
Copy link
Owner

arp242 commented Aug 18, 2024

If I load your site, then I do see the pageviews being sent, and if I check the database then I see them being recorded:

        hour         │ total │ path
─────────────────────┼───────┼──────
 2024-08-18 13:00:00 │     1 │ /
 2024-08-18 22:00:00 │     1 │ /

The one at 22:00:00 is me; the one this afternoon is someone else.

Looking further, I see a bunch of pageviews on the 15th being blocked as bots:

 bot │     created_at      │                      path
─────┼─────────────────────┼─────────────────────────────────────────────────
   7 │ 2024-08-15 14:24:16 │ /
   7 │ 2024-08-15 14:33:35 │ /essays/art-book-gifting
   7 │ 2024-08-15 14:33:46 │ /essays/let-books-find-you
   7 │ 2024-08-15 14:34:14 │ /inspiration/ludwig-van-beethoven-wrong-notes
   7 │ 2024-08-15 14:34:27 │ /inspiration/edvard-munch-rotting-flowers
   7 │ 2024-08-15 14:34:27 │ /inspiration/andre-breton-mad-love
   7 │ 2024-08-15 14:34:30 │ /inspiration/ludwig-van-beethoven-faith
   7 │ 2024-08-15 14:35:11 │ /pages/adored-albums
   7 │ 2024-08-15 14:35:21 │ /playlists/the-feeling-of-2023
   7 │ 2024-08-15 14:35:36 │ /reviews/a-review-of-national-gallery-artemisia
   7 │ 2024-08-15 14:35:47 │ /reviews/a-review-of-national-gallery-raphael
   7 │ 2024-08-15 14:54:59 │ /piano/bach-air
   7 │ 2024-08-15 14:58:42 │ /piano/bach-air
   7 │ 2024-08-15 15:01:07 │ /piano/bach-air
   7 │ 2024-08-15 15:06:55 │ /piano/bach-air
   7 │ 2024-08-15 15:08:29 │ /piano/bach-air
   7 │ 2024-08-15 15:12:25 │ /piano/bach-air
   7 │ 2024-08-15 15:13:52 │ /
   7 │ 2024-08-15 15:14:47 │ /

Code 7 is "BotShort", which is triggered if the User-Agent header is less than 10 characters or doesn't contain a space or /.

Is this you? If so, then you probably set a custom User-Agent in your browser or something like that?

@corinarace
Copy link
Author

corinarace commented Aug 21, 2024

If I load your site, then I do see the pageviews being sent, and if I check the database then I see them being recorded:

        hour         │ total │ path
─────────────────────┼───────┼──────
 2024-08-18 13:00:00 │     1 │ /
 2024-08-18 22:00:00 │     1 │ /

The one at 22:00:00 is me; the one this afternoon is someone else.

Looking further, I see a bunch of pageviews on the 15th being blocked as bots:

 bot │     created_at      │                      path
─────┼─────────────────────┼─────────────────────────────────────────────────
   7 │ 2024-08-15 14:24:16 │ /
   7 │ 2024-08-15 14:33:35 │ /essays/art-book-gifting
   7 │ 2024-08-15 14:33:46 │ /essays/let-books-find-you
   7 │ 2024-08-15 14:34:14 │ /inspiration/ludwig-van-beethoven-wrong-notes
   7 │ 2024-08-15 14:34:27 │ /inspiration/edvard-munch-rotting-flowers
   7 │ 2024-08-15 14:34:27 │ /inspiration/andre-breton-mad-love
   7 │ 2024-08-15 14:34:30 │ /inspiration/ludwig-van-beethoven-faith
   7 │ 2024-08-15 14:35:11 │ /pages/adored-albums
   7 │ 2024-08-15 14:35:21 │ /playlists/the-feeling-of-2023
   7 │ 2024-08-15 14:35:36 │ /reviews/a-review-of-national-gallery-artemisia
   7 │ 2024-08-15 14:35:47 │ /reviews/a-review-of-national-gallery-raphael
   7 │ 2024-08-15 14:54:59 │ /piano/bach-air
   7 │ 2024-08-15 14:58:42 │ /piano/bach-air
   7 │ 2024-08-15 15:01:07 │ /piano/bach-air
   7 │ 2024-08-15 15:06:55 │ /piano/bach-air
   7 │ 2024-08-15 15:08:29 │ /piano/bach-air
   7 │ 2024-08-15 15:12:25 │ /piano/bach-air
   7 │ 2024-08-15 15:13:52 │ /
   7 │ 2024-08-15 15:14:47 │ /

Code 7 is "BotShort", which is triggered if the User-Agent header is less than 10 characters or doesn't contain a space or /.

Is this you? If so, then you probably set a custom User-Agent in your browser or something like that?

Yes, I think that was probably me, I made a bunch of updates that day, then didn't go on my blog since. I have no idea whether i set a custom User-Agent in my browser, I don't think I have - but I do have a lot of privacy-focused browser extensions enabled, if that affects it in any way?

Neocities shows stats as 25-40 visits daily after 15 Aug, and those weren't mine, but they're not registering on GoatCounter either. I can understand if maybe my own visits are blocked, and that's fine - it's probably more accurate if they are blocked - but don't understand why all the other visits are not being registered.

Again, does it matter where the <script> is saved? I moved the one on the index.html just before the </body> tag, maybe that made the difference because I think index.html is now showing up in GoatCounter. But no other pages are.

@corinarace
Copy link
Author

My user-agent (as per whatmyuseragent.com) is Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0, which does include both spaces and slashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants