Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Story
How we grew from 0 to 3 million users
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

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

10.2K views
•
October 4, 2023
by
Web Dev Cody
YouTube video player
Why I removed google analytics (what how I track analytics now)

TL;DR

Discover a simple method for tracking website analytics without using cookies or Google Analytics.

Transcript

so if you are building a website and you are using cookies to track some type of analytics on users that are not specific for core functionality of your application typically you have to add a cookie Banner especially if you live in the European Union you should be doing it if you live in the US anyway and your application based in the US but these... Read More

Key Insights

  • 👤 Compliance with cookie regulations like GDPR is essential for websites that track user data through cookies, necessitating the use of consent banners.
  • 💨 AWS CloudWatch provides a practical way to log and analyze user interactions without needing cookie consent, making it accessible for developers.
  • 👣 The tracked method presented is straightforward but may not fulfill advanced analytics needs, emphasizing a do-it-yourself approach for smaller projects.
  • 👤 Matomo is a noteworthy alternative that ensures user privacy while offering features comparable to Google Analytics for comprehensive data tracking.
  • 👤 Simplifying analytics processes can enhance user experience and motivate developers to explore privacy-friendly solutions for tracking engagement.
  • 🫡 Developers must balance between effective analytics and user privacy, exploring cookie-free options that respect data protection regulations.
  • 💨 Community-driven approaches and shared solutions could significantly benefit developers searching for efficient ways to implement analytics on their sites.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What are the legal implications of using cookies for tracking analytics on websites?

Using cookies to track analytics poses legal challenges associated with privacy laws such as GDPR in the European Union and CCPA in California. Website owners must inform users about cookie usage, offer the option to opt in or out, and potentially establish consent mechanisms. Non-compliance can lead to hefty fines, making it essential for developers to understand the regulations applicable to their audience.

Q: What is the alternative method presented for tracking website analytics?

The author presents a rudimentary analytics tracking method by using AWS CloudWatch to capture backend logs in their Next.js application. When users hit specific endpoints, a tracking JSON object is logged, which includes the URL accessed. This provides a basic way to analyze user traffic without implementing cookie consent banners, although it is not as comprehensive as traditional analytics solutions.

Q: Can you explain how AWS CloudWatch works for tracking website analytics?

AWS CloudWatch collects and monitors log data generated by applications hosted on AWS. By configuring the application to log specific user interactions (like URL accesses), developers can query logs to see user engagement and traffic patterns. Although this method is basic, it allows developers to gather insights into user behavior without needing advanced analytics tools.

Q: What are the advantages of using Matomo for analytics?

Matomo offers a user-friendly, cookie-free analytics tracking solution, prioritizing user privacy. It provides an assortment of analytics similar to Google Analytics, including insights on visitor behavior, traffic sources, and usage patterns over time. Matomo can be deployed as a cloud solution or installed on-premises, giving users full control over their data without incurring costs associated with traditional analytics services.

Q: Why might someone prefer not to use Google Analytics for their website?

Users may prefer alternatives to Google Analytics due to concerns over data privacy, the complexity of its interface, and issues surrounding cookie consent regulations. By choosing non-cookie-based analytics, they can comply with privacy laws more easily, simplify user consent processes, and maintain greater control over user data.

Q: How does the suggested tracking method cater to privacy concerns?

The tracking method described does not use cookies to collect user data, thereby eliminating the need for cookie consent banners. This approach ensures user privacy is respected while still allowing site owners to analyze traffic patterns and engagement metrics in a compliant manner.

Q: What does the author recommend for users with larger-scale analytics needs?

For larger projects with multiple sites requiring comprehensive tracking, the author recommends considering paid services like Matomo. Such services offer advanced features and support while ensuring user data privacy, making them suitable for larger companies unable to rely on basic self-coded solutions.

Q: What improvements does the author suggest for their simplified tracking method?

The author acknowledges the basic nature of their tracking approach and suggests that further enhancements could include capturing additional request data, such as HTTP headers to track referrers or implementing more sophisticated data analytics tools. They encourage feedback from the community to discover better, cookie-free analytics solutions that others may be using.

Summary & Key Takeaways

  • Using cookies for tracking website analytics requires compliance with laws like GDPR, including displaying cookie consent banners to users. This can be cumbersome for website developers.

  • The author introduces a basic tracking approach using AWS CloudWatch instead of Google Analytics, leveraging backend logs to retrieve analytics data without needing user consent.

  • For users seeking alternatives, Matomo is suggested as a cookie-free analytics solution, offering both cloud-based and on-premise options, while prioritizing user data privacy.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Web Dev Cody 📚

Live Coding a Shopping Cart using React thumbnail
Live Coding a Shopping Cart using React
Web Dev Cody
I got my first DDoS (and what you can do to help prevent it) thumbnail
I got my first DDoS (and what you can do to help prevent it)
Web Dev Cody
How I'm doing authentication on my simple Go app (with Fiber) thumbnail
How I'm doing authentication on my simple Go app (with Fiber)
Web Dev Cody
How Does the MacBook Air M1 Compare for Coding? thumbnail
How Does the MacBook Air M1 Compare for Coding?
Web Dev Cody
How I setup pagination in my Next.js app (with Drizzle ORM) thumbnail
How I setup pagination in my Next.js app (with Drizzle ORM)
Web Dev Cody

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots
  • Open Graph Checker

Company

  • About us
  • Our Story
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.