Why I removed google analytics (what how I track analytics now)

  Рет қаралды 10,020

Web Dev Cody

Web Dev Cody

Күн бұрын

00:00 - Introduction
01:06 - Alternative Approach for Analytics
02:02 - Using CloudWatch for Analytics
05:20 - Using Matomo for Analytics
07:26 - Conclusion
📘 T3 Stack Tutorial: 1017897100294.gumroad.com/l/j...
🤖 SaaS I'm Building: www.icongeneratorai.com/
▶️ ytchaptersgenerator.com
💬 Discord: / discord
🔔 Newsletter: newsletter.webdevcody.com/
📁 GitHub: github.com/webdevcody
📺 Twitch: / webdevcody
🤖 Website: webdevcody.com
🐦 Twitter: / webdevcody

Пікірлер: 75
@oscarljimenez5717
@oscarljimenez5717 9 ай бұрын
¨I love deploying everything to AWS because i love wasting time¨ 🤣🤣🤣
@WebDevCody
@WebDevCody 9 ай бұрын
Some good alternatives mentioned from people in the comment (thank you awesome community) - Plausible - plausible.io/ - Matomo - matomo.org/ - Umami - umami.is/ - Mixpanel - mixpanel.com/
@HeavenNextHD
@HeavenNextHD 9 ай бұрын
Just a heads-up: 1. KZfaq somehow messed up your links, including the closing parenthesis in the links, making them invalid. 2. Mamotoa is actually Matomo. 3. Unami is actually Umami, with an "m" instead of "n".
@WebDevCody
@WebDevCody 9 ай бұрын
@@HeavenNextHD thanks for pointing all that out! those should all be fixed now
@arthur936
@arthur936 9 ай бұрын
Plausible is also a popular alternative which is self hostable.
@WebDevCody
@WebDevCody 9 ай бұрын
awesome, I'll check that out
@ultimatescript
@ultimatescript 9 ай бұрын
Your site is amazing, good-looking, and well-designed. I think it will be more comfortable for users if you change the color of the "Get Started Now" button from red to light green (the same color as your logo). I think the red color may confuse the users that it feels like a dangerous button.
@WebDevCody
@WebDevCody 9 ай бұрын
Good feedback, I’ll change that
@zaritzki
@zaritzki Ай бұрын
What library you used for your cookie banner? Thanks!
@luiswebdev8292
@luiswebdev8292 12 күн бұрын
so how to set up self-hosted matomo?
@TheZhouh12
@TheZhouh12 9 ай бұрын
the google tag manager consent configuration/mode will help a lot regarding the cookie issue.
@luiswebdev8292
@luiswebdev8292 12 күн бұрын
I have this same exact problem and this video was super useful. I really love these kind of utility "no hype" videos that are just "hey this is my advice as a solo dev" Thanks!
@naylord5
@naylord5 9 ай бұрын
I see your processed captions "Huevos al albañil | La capital" and I can tell you are a man of culture :p I'm curious, do you watch his content regularly or just did it for testing?
@WebDevCody
@WebDevCody 9 ай бұрын
haha no someone uploaded this video to test my system. It turns out videos not in english cause openai some problems, so I'm happy that person uploaded that video in spanish
@user-ci5hf5oe1f
@user-ci5hf5oe1f 9 ай бұрын
thanks for video! What do you use for logging?
@WebDevCody
@WebDevCody 9 ай бұрын
Aws cloudwatch
@ajzack983
@ajzack983 9 ай бұрын
hey G I just checked the website, the image with ".scale-150" is causing overflow and a scroll bar on the body
@WebDevCody
@WebDevCody 9 ай бұрын
Thanks I’ll fix that
@Kevin-fl4rn
@Kevin-fl4rn 9 ай бұрын
would caching not affect those logs though? Good solution if all you care about is page views. Any other data such as events or conversion actions require a more in depth solution.
@WebDevCody
@WebDevCody 9 ай бұрын
I actually just double checked this and yes, unless your landing page is set to be dynamic, cloudfront will cache your landing page and the middleware will never run again. Adding export const dynamic = "force-dynamic" will force the middleware to re-run each request (at the cost of a slower to load landing page 😭).
@miro0o92
@miro0o92 9 ай бұрын
funny i did the same logging solution as u did in the middleware :D I have my portoflio website build on next js and for its content I also build a headless cms. So in the headless cms dashboard i wanted to check how many unique users and which pages were getting more requests from the portfolio (content consumer) site :) (i have a logic to save the loggs over my db). But yeah middleware kinda works for simple stuff like that.
@WebDevCody
@WebDevCody 9 ай бұрын
yeah, it's simple and it works for my needs
@amorto3420
@amorto3420 9 ай бұрын
Hey Cody! I am completely new to stripe and I was wondering how you are selling and keeping track of your user's credit? Could you please make a video on that?
@WebDevCody
@WebDevCody 9 ай бұрын
I have a video publishing tomorrow on exactly that
@amorto3420
@amorto3420 9 ай бұрын
@@WebDevCody Thank you! I will be waiting for it.
@FlygOnLiTe
@FlygOnLiTe 9 ай бұрын
Nice, in one of my apps im using 'party town' to run the analytics script in a service worker, kinda cool.
@yashsolanki069
@yashsolanki069 9 ай бұрын
Does vercel also have analytics? I guess they have for server monitoring logs not sure if they also have for data logs.
@WebDevCody
@WebDevCody 9 ай бұрын
They have analytics on which endpoints are hit and which ones are cache hits, etc. that’s the extent of what I know
@Kurogane-el2vq
@Kurogane-el2vq 5 ай бұрын
But the sad thing is they don't have api for the analytics though.
@luiswebdev8292
@luiswebdev8292 12 күн бұрын
Vercel has built in Analytics but the free tier is more limited than other products. It doesn't make a lot of sense to use Vercel analytics imo if you have other alternatives like Umami, Matomo or Plausible (which are plug and play)
@luiswebdev8292
@luiswebdev8292 12 күн бұрын
actually I should recitify myself: plausible and matomo do not have a free tier (just trial) but umami has free tier. All these 3 tools can be self hosted, and to self host them you only need a UI frontend and a database (so you can get it for free with Vercel or Netlify and Supabase free tiers)
@king-virat-kohli
@king-virat-kohli 9 ай бұрын
It will be really helpfull if u make a video how to add logs to aws 2 cloudfront
@zamarinen
@zamarinen 9 ай бұрын
Im not primarly a developer, im actully a devops guy, who have lots of experience in tooling, scripting, infrastructure, etc. But would love to learn React. Do you have any longer form of education content available or could consider making it? :) Let's say i want to create a pokedex, or a simple portfolio page.
@WebDevCody
@WebDevCody 9 ай бұрын
I have one course that is like $20 that builds a dumbed down version of my icon generator ai site, and I have a couple of longer videos on my channel you'd have to kind of search to find. I may try to make a longer form introduction to React video if I get some free time.
@zamarinen
@zamarinen 9 ай бұрын
​@@WebDevCody Yeah, if you find the free time, please consider a "longer form" tutorial for 2023/2024, react. You are very good with reat, and good communication and teaching skills, and i dont mind paying for it!
@romaind4853
@romaind4853 9 ай бұрын
im using vercel analytics its pretty cool and simple
@TheStruders
@TheStruders 9 ай бұрын
Any sensible dev is going to have a retention period set on CW logs, usually 2 weeks to a month, so this approach will only allow you to query logs and hack together analytics from the previous few weeks. Maybe this is good enough for you but long term analytics are usually important to give you a bigger image of what is happening
@parlor3115
@parlor3115 9 ай бұрын
Is there a reason you'd want a retention period?
@abdirahmann
@abdirahmann 9 ай бұрын
@@parlor3115 yes there is a big reason, you can track back what happened on your systems if any problem occurs, there are also some legal requirements depending on the business to keep log data infinitely. so yeah, retention period is a great factor when it comes to choosing a method to store analytics and tracking data.
@AmirulAbu1
@AmirulAbu1 9 ай бұрын
​@@parlor3115usually because cost
@javierperezmarin6039
@javierperezmarin6039 9 ай бұрын
How u deploy your next, aws amplify?
@WebDevCody
@WebDevCody 9 ай бұрын
Sst
@miromannino
@miromannino 9 ай бұрын
Not sure why is this all needed, isn’t the new GA4 with its IP anonymization enough?
@WebDevCody
@WebDevCody 9 ай бұрын
No because they still use cookies to track I believe. If your app stores anything on a users device (cookie, local storage, etc) they must be informed in your privacy policy or cookie policy page. Now, if you store a cookie that is not necessary for the app to function (google analytics), you must provide a consent banner and allow users to opt out.
@zi_t
@zi_t 9 ай бұрын
"I like deploying everything to AWS because I like wasting time" 2:03 that is hilarious
@yunyang6267
@yunyang6267 9 ай бұрын
why are other services allowed to track user's data without setting up the consent? is it because google analytics collect more data than those services?
@WebDevCody
@WebDevCody 9 ай бұрын
If you use a cookie to track user information, you need their consistent; therefore, you'd need a cookie banner and preference page. Google analytics uses cookies. Other services do not use cookies, and instead they probably just store events in a secure database to track when users click buttons, load pages, etc.
@shakapaker
@shakapaker 9 ай бұрын
I use mixpanel
@eshw23
@eshw23 9 ай бұрын
Because "I like wasting time" lmaooo
@jakubmatousek9429
@jakubmatousek9429 9 ай бұрын
"You're probably gonna laugh." Absolutely not. Simple and it works. +1
@lookingforbino
@lookingforbino 6 ай бұрын
The site still working?
@WebDevCody
@WebDevCody 6 ай бұрын
not right now, I decided to take it down as I focus on other projects
@st-jn2gk
@st-jn2gk 9 ай бұрын
You said you’d use Remix 😔
@WebDevCody
@WebDevCody 9 ай бұрын
I went back to next 🤣 the DX with server actions just feels better than the actions in remix honestly
@st-jn2gk
@st-jn2gk 9 ай бұрын
That's fair. How has the caching and the whole parameters revealing secrets thing been? (you could just make a video on this honestly) @@WebDevCody
@wezter96
@wezter96 9 ай бұрын
Are you actually certain that your "new" approach is GDPR compliant? all type of analytics/tracking, even if it uses Google Analytics or something else requires you to ask for consent and your consent needs to explain exactly what type of data you are tracking and for what it's used for. The lawyers from a big company in a current project required us to do it even if there is no user data at all involved and not even any ip addresses (because we go through our own server first)
@WebDevCody
@WebDevCody 9 ай бұрын
From what I understand, if you can’t associate the data with an ip or user, then it’s not applicable. But your lawyers probably either know more or are just extra cautious.
@SeibertSwirl
@SeibertSwirl 9 ай бұрын
Good job babe!!!
@WebDevCody
@WebDevCody 9 ай бұрын
thanks babe!
@jfluffydog2110
@jfluffydog2110 9 ай бұрын
what how I track analytics now?
@WebDevCody
@WebDevCody 9 ай бұрын
umami and matoma is another alternative to google analytics. I'm not sure if analytics really are that helpful from what I understand. It's nice to just see your app getting more traffic or not, but other than that I haven't seen anything on the google analytics dashboard that is super useful to track
@tugrulerdemdogru
@tugrulerdemdogru 9 ай бұрын
I use umami
@wriddhihazra
@wriddhihazra 9 ай бұрын
First?
@ooogabooga5111
@ooogabooga5111 9 ай бұрын
HAHAH you stole the idea from the hackathon. Well done, as expected of every "hackathon".
@WebDevCody
@WebDevCody 9 ай бұрын
it’s slightly similar, but I wouldn’t say stole. His idea was to allow users to lookup locations in a video using search, my app just summarized the video into timestamps which is something I’ve was wanting to do before the hackathon
@luiswebdev8292
@luiswebdev8292 12 күн бұрын
I have done little research and I'm going with Umami: very generous free tier, no cookies, easy to selfhost. (Matomo would be easy to selfhost too, but does not offer free tier)
@luiswebdev8292
@luiswebdev8292 12 күн бұрын
Umami UI also looks way better than Matomo's
@gadgetboyplaysmc
@gadgetboyplaysmc 9 ай бұрын
For some reason my comment got deleted uhh (maybe because it's a link?) But "umami" is also a good alternative to Google Analytics, one I really like.
@WebDevCody
@WebDevCody 9 ай бұрын
I'll have to check it out
How do I like to do freelance work?
13:45
Web Dev Cody
Рет қаралды 23 М.
Why I'm moving my side project from Vercel to AWS
15:47
Web Dev Cody
Рет қаралды 63 М.
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 33 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 43 МЛН
Why I'd never host my apps on a VPS
13:43
Web Dev Cody
Рет қаралды 32 М.
What services might you need when building a SaaS product?
13:58
Web Dev Cody
Рет қаралды 42 М.
How to scale a web application to a million users in 10 steps
0:57
Software Nerd
Рет қаралды 24 М.
Astro Google Analytics Tutorial For Beginners
6:38
Darwin Tech
Рет қаралды 1,5 М.
You're Losing HALF Of Your Data
9:06
Theo - t3․gg
Рет қаралды 23 М.
3 features you should NOT use in Google Analytics 4
13:04
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 22 М.
This is why testing is hard
22:18
Web Dev Cody
Рет қаралды 8 М.
Please Stop Using Google Analytics
10:59
Theo - t3․gg
Рет қаралды 92 М.
If I had to host on a single VPS, this is how I'd do it
9:35
Web Dev Cody
Рет қаралды 15 М.
This is why I love drizzle ORM
4:03
Web Dev Cody
Рет қаралды 11 М.