FrancescoXX / rustcrab

An Open Source project with everything you need to learn about Rust.
https://rustcrab.com
MIT License
391 stars 67 forks source link

Use Simple Analytics in place of GA #39

Open Astrodevil opened 1 month ago

Astrodevil commented 1 month ago

Google Analytics collects a lot of unnecessary data that are not required for small projects. Instead, try using a simpler analytics tool like Umami. It also has a public page feature, allowing you to easily share analytics with others.

Simple for you, good for site visiters.

FrancescoXX commented 1 month ago

I never used this. I am open to discussions, but at least we have something working for now.

dansholds commented 1 month ago

Umami is a simple one-liner in your head and most importantly:

Screenshot 2024-07-13 at 13 16 08

I'm not sure Google abide by the same rules?

FrancescoXX commented 1 month ago

good points @dansholds . I am not familiar with it. How long would it take to set it up and what's needed on my end?

dansholds commented 1 month ago

good points @dansholds . I am not familiar with it. How long would it take to set it up and what's needed on my end?

You can add it here, in place of the Google implementation - https://github.com/FrancescoXX/rustcrab/blob/b92495782c100fb09b3d3499d3031bb6f008c811/src/app/layout.tsx#L20

Just log in to https://umami.is , Click "add website" grab the code, and add it to the head.

The site mentioned installation but that's not required 🤙

(I would submit a PR but it needs you to grab the umami code)

Astrodevil commented 1 month ago

I would say, less than 5 minutes.

dansholds commented 1 month ago

I would say, less than 5 minutes.

* Signup

* Add Site domain

* Copy tracking script and paste in your ... section of main file

* All set, enjoy simple analytics

+1

I was genuinely surprised how fast I had a accurate analytics dashboard up and running!

Astrodevil commented 1 month ago

I would say, less than 5 minutes.

* Signup

* Add Site domain

* Copy tracking script and paste in your ... section of main file

* All set, enjoy simple analytics

+1

I was genuinely surprised how fast I had a accurate analytics dashboard up and running!

I was using GA before but when I found out umami is great and has a feature similar to plausible public page. I signed up

soham901 commented 1 month ago

@FrancescoXX , I am using Umami in my recent freelance project. It's very easy, fast, and cheap, and you can create custom reports as well. You should try it once.

github-actions[bot] commented 1 week ago

Hello! :wave:

This issue has been automatically marked as stale due to inactivity :sleeping:

It will be closed in 180 days if no further activity occurs. To keep it active, please add a comment with more details.