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

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

Open
simsong opened this issue Nov 18, 2024 · 0 comments
Open

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

simsong opened this issue Nov 18, 2024 · 0 comments
Assignees
Labels
analytics pages stuff for github pages

Comments

@simsong
Copy link
Member

simsong commented Nov 18, 2024

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.

@simsong simsong added pages stuff for github pages analytics labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analytics pages stuff for github pages
Projects
None yet
Development

No branches or pull requests

3 participants