Skip to content

Commit 75dd19e

Browse files
author
mcarbonell
committed
feat: Analytics GA4 para categorías + README actualizado con 33 herramientas
1 parent 66ac361 commit 75dd19e

File tree

2 files changed

+73
-11
lines changed

2 files changed

+73
-11
lines changed

README.md

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@
77

88
> **Herramientas online rápidas, seguras y sin registro. Todo se procesa en tu navegador.**
99
10-
FastTools es una suite de 28 utilidades web que funcionan completamente del lado del cliente, sin necesidad de subir archivos a servidores. Privacidad total, acceso instantáneo y compatible con dispositivos móviles.
10+
FastTools es una suite de 33 utilidades web que funcionan completamente del lado del cliente, sin necesidad de subir archivos a servidores. Privacidad total, acceso instantáneo y compatible con dispositivos móviles.
1111

1212
## ✨ Características Principales
1313

1414
- 🔒 **100% Privado**: Todos los archivos se procesan localmente en tu navegador
1515
- 🚀 **Acceso Instantáneo**: Sin registro, sin esperas, sin configuración
1616
- 📱 **Responsive Design**: Funciona perfectamente en móviles y escritorio
17-
- 🎯 **SEO Optimizado**: Cada herramienta tiene su propia página optimizada
17+
- 🎯 **SEO Optimizado**: Cada herramienta tiene su propia página optimizada + Schema.org JSON-LD
18+
- 📂 **Categorías por Perfil**: Navegación optimizada para desarrolladores, diseñadores, escritores, etc.
1819
- 💰 **Gratis con Publicidad**: Modelo sostenible con anuncios no intrusivos
19-
- 🌐 **Offline Ready**: Funciona sin conexión a internet una vez cargado
20+
- 🌐 **Offline Ready**: PWA con Service Worker v3.0.3
2021

21-
## 🛠️ Herramientas Disponibles (28)
22+
## 🛠️ Herramientas Disponibles (33)
2223

2324
### 🖼️ Imagen (7 herramientas)
2425
- **Redimensionar imagen** - Cambia el tamaño manteniendo proporción
@@ -52,13 +53,41 @@ FastTools es una suite de 28 utilidades web que funcionan completamente del lado
5253
- **Comparar textos** - Encuentra diferencias (diff)
5354
- **Generador Lorem Ipsum** - Texto placeholder
5455

55-
### 🔧 Utilidades (4 herramientas)
56+
### 🔧 Utilidades (5 herramientas)
5657
- **Generador QR** - Crea códigos QR desde texto/URL
5758
- **Generador contraseñas** - Contraseñas seguras personalizables
5859
- **Calculadora Hashes** - MD5, SHA-1, SHA-256, SHA-512
5960
- **Selector de color** - Conversor HEX ↔ RGB ↔ HSL
6061
- **Cronómetro/Temporizador** - Herramienta de tiempo
6162

63+
### 🤖 IA (5 herramientas)
64+
- **Chat con IA** - Conversa con Google Gemini
65+
- **Resumir Texto con IA** - Resume textos largos automáticamente
66+
- **Mejorar Texto con IA** - Mejora gramática y estilo
67+
- **Chat con PDF** - Haz preguntas sobre tus PDFs
68+
- **Editar Imagen con IA** - Edita imágenes con instrucciones de texto
69+
70+
## 📂 Navegación por Categorías
71+
72+
FastTools organiza las herramientas por perfil de usuario:
73+
74+
- **💻 Desarrolladores** (10 herramientas): JSON, CSV, YAML, XML, TOML, Base64, URL encoder, HTML encoder, Hash calculator, Diff
75+
- **🎨 Diseñadores** (8 herramientas): Redimensionar, convertir, recortar, comprimir imágenes, paletas de colores, EXIF, editar con IA
76+
- **✍️ Escritores** (6 herramientas): Limpiar texto, comparar, Lorem Ipsum, resumir con IA, mejorar con IA, chat IA
77+
- **📊 Analistas de Datos** (6 herramientas): JSON, CSV, YAML, XML, TOML, extraer texto de PDF
78+
- **📱 Marketing** (6 herramientas): QR, redimensionar imágenes, convertir, comprimir, paletas, chat IA
79+
- **⚡ Productividad** (8 herramientas): Cronómetro, contraseñas, QR, limpiar texto, PDFs (extraer, unir, dividir, comprimir)
80+
- **🤖 IA** (5 herramientas): Chat, resumir, mejorar texto, chat PDF, editar imágenes
81+
82+
**URLs de categorías:**
83+
- `/developers.html` - Herramientas para desarrolladores
84+
- `/designers.html` - Herramientas para diseñadores
85+
- `/writers.html` - Herramientas para escritores
86+
- `/data-analysts.html` - Herramientas para analistas
87+
- `/marketers.html` - Herramientas para marketing
88+
- `/productivity.html` - Herramientas de productividad
89+
- `/ai.html` - Herramientas con IA
90+
6291
## 🚀 Empezar Localmente
6392

6493
### 🌐 Acceder a la Web (Para usuarios finales)
@@ -102,12 +131,18 @@ fasttools/ # 📁 Raíz del proyecto
102131
│ ├── manifest.json # PWA Manifest
103132
│ ├── privacy.html # Política de privacidad
104133
│ ├── sitemap.xml # Sitemap para SEO
105-
│ ├── tools/ # Páginas individuales de herramientas
106-
│ │ ├── image/ # 🖼️ Herramientas de imagen (7)
107-
│ │ ├── files/ # 📁 Herramientas de archivos (6)
108-
│ │ ├── data/ # 📊 Herramientas de datos (5)
109-
│ │ ├── text/ # 📝 Herramientas de texto (6)
110-
│ │ └── utils/ # 🔧 Utilidades varias (4)
134+
│ ├── tools/ # 33 herramientas (URLs simplificadas)
135+
│ │ ├── image-resizer.html # Ejemplo: /tools/image-resizer.html
136+
│ │ ├── json-formatter.html # Ejemplo: /tools/json-formatter.html
137+
│ │ └── ... # (sin subcarpetas por categoría)
138+
│ ├── developers.html # Página categoría Desarrolladores
139+
│ ├── designers.html # Página categoría Diseñadores
140+
│ ├── writers.html # Página categoría Escritores
141+
│ ├── data-analysts.html # Página categoría Analistas
142+
│ ├── marketers.html # Página categoría Marketing
143+
│ ├── productivity.html # Página categoría Productividad
144+
│ ├── ai.html # Página categoría IA
145+
│ ├── 404.html # Página 404 personalizada
111146
│ ├── js/ # JavaScript
112147
│ │ ├── main.js # Funcionalidad común
113148
│ │ ├── service-worker.js # Service Worker PWA

web/js/analytics.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,33 @@ class QuickToolsAnalytics {
114114
});
115115
}
116116

117+
trackCategoryView(categoryName) {
118+
if (typeof gtag === 'undefined') return;
119+
gtag('event', 'category_view', {
120+
'category_name': categoryName,
121+
'language': this.language,
122+
'page_location': window.location.href
123+
});
124+
}
125+
126+
trackCategoryClick(categoryName, fromPage = 'homepage') {
127+
if (typeof gtag === 'undefined') return;
128+
gtag('event', 'category_click', {
129+
'category_name': categoryName,
130+
'from_page': fromPage,
131+
'language': this.language
132+
});
133+
}
134+
135+
trackToolClickFromCategory(toolName, categoryName) {
136+
if (typeof gtag === 'undefined') return;
137+
gtag('event', 'tool_click_from_category', {
138+
'tool_name': toolName,
139+
'category_name': categoryName,
140+
'language': this.language
141+
});
142+
}
143+
117144
setupExitTracking() {
118145
window.addEventListener('beforeunload', () => {
119146
this.trackEngagement();

0 commit comments

Comments
 (0)