Skip to content

Set up web analytics for both planttracer.com and for the app #23

Description

@simsong

ChatGPT:

Correct, GitHub Pages does not provide access to web server log files because it's a static hosting service and does not expose server-level controls or logs. If you need analytics, you'll have to rely on JavaScript-based tracking solutions. Some common options include:

  1. Google Analytics :
  • Free and robust.

  • Insert a small JavaScript snippet into your site's HTML to track visits, user behavior, and more.

  1. Plausible Analytics :
  • A privacy-focused, lightweight alternative.

  • Requires adding a small script to your site.

  1. Fathom Analytics :
  • Another privacy-respecting solution.

  • Simple setup with a script snippet.

  1. Matomo :
  • Open-source and self-hosted analytics (if you want full control).

  • Adds JavaScript to your site but requires a separate hosting setup for Matomo.

  1. Simple Custom Tracking :
  • Use a lightweight JavaScript snippet to send data to a service or your own endpoint, e.g., tracking page views.

These tools collect data on the client side (in the browser) and send it to a remote server for processing and reporting. They are effective replacements for server-side log analysis on static sites like those hosted on GitHub Pages.

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions