feat(analytics): intégration de Google Analytics et mise à jour du sitemap

- Remplacement de Google Tag Manager par Google Analytics (gtag.js) dans index.html pour le suivi des performances.
- Ajout d'une fonction de suivi des pages vues dans le routeur pour améliorer l'analyse des données.
- Mise à jour des dates de dernière modification dans sitemap.xml pour refléter la date actuelle.
- Révision des règles dans robots.txt pour un meilleur contrôle d'indexation.
This commit is contained in:
Mr¤KayJayDee
2025-07-07 18:06:43 +02:00
parent a8509416ae
commit c79b818302
4 changed files with 65 additions and 90 deletions

View File

@@ -1,30 +1,5 @@
# Robots.txt pour killiandalcin.fr
# Optimisé pour un crawling Google efficace
# Googlebot
User-agent: Googlebot
Allow: /
Crawl-delay: 0
# Bingbot
User-agent: Bingbot
Allow: /
Crawl-delay: 1
# Tous les bots légitimes
User-agent: *
Allow: /
Disallow: /api/
Disallow: /admin/
Disallow: /*.json$
Disallow: /api/
Disallow: /*?*
Allow: /*.css$
Allow: /*.js$
Allow: /*.webp$
Allow: /*.jpg$
Allow: /*.png$
Allow: /*.svg$
Allow: /*.woff2$
# Sitemap
Sitemap: https://killiandalcin.fr/sitemap.xml
Sitemap: https://killiandalcin.fr/sitemap.xml

View File

@@ -3,52 +3,40 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!-- Home Page - Maximum Priority -->
<!-- Home Page -->
<url>
<loc>https://killiandalcin.fr/</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Fiverr Services Page - High Priority (Business Focus) -->
<!-- Fiverr Services Page -->
<url>
<loc>https://killiandalcin.fr/fiverr</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Projects Portfolio Page -->
<url>
<loc>https://killiandalcin.fr/projects</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Contact Page -->
<url>
<loc>https://killiandalcin.fr/contact</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- About Page -->
<url>
<loc>https://killiandalcin.fr/about</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Formation/Training Page -->
<url>
<loc>https://killiandalcin.fr/formation</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Dynamic Project Detail Pages -->
@@ -56,57 +44,43 @@
<!-- Virtual Tour Project -->
<url>
<loc>https://killiandalcin.fr/project/virtual-tour</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Xinko Discord Bot Project (Featured) -->
<!-- Xinko Discord Bot Project -->
<url>
<loc>https://killiandalcin.fr/project/xinko</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Image Manipulation NPM Package (Featured) -->
<!-- Image Manipulation NPM Package -->
<url>
<loc>https://killiandalcin.fr/project/image-manipulation</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Flowboard Project Management App (Featured) -->
<!-- Flowboard Project Management App -->
<url>
<loc>https://killiandalcin.fr/project/flowboard</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Primate Web Admin Project -->
<url>
<loc>https://killiandalcin.fr/project/primate-web-admin</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Instagram Bot Project -->
<url>
<loc>https://killiandalcin.fr/project/instagram-bot</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
<lastmod>2025-07-07</lastmod>
</url>
<!-- Crowdin Status Bot Project -->
<url>
<loc>https://killiandalcin.fr/project/crowdin-status-bot</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
<lastmod>2025-07-07</lastmod>
</url>
</urlset>