# Est-il possible d'intégrer des compteurs dans le pied de page du site ?

**URL:** https://meta.discourse.org/t/is-it-possible-to-embed-counters-in-the-footer-of-the-site/372049
**Category:** Development
**Created:** [Juin 27, 2025, 7:34 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-counters-in-the-footer-of-the-site/372049 "2025-06-27T19:34:37Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![DigneZzZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dignezzz/32/506171_2.png) [@DigneZzZ](https://meta.discourse.org/u/DigneZzZ)
#### Post date: [Juin 27, 2025, 7:34 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-counters-in-the-footer-of-the-site/372049/1 "2025-06-27T19:34:37Z")

</div>

Salutations à tous !

J’ai cherché et exploré avec diligence sur l’ensemble du forum depuis un certain temps. Malheureusement, je n’ai pas encore trouvé de plugin ou de composant de thème qui me permettrait d’intégrer des compteurs dans le forum, spécifiquement dans le pied de page.

Pourriez-vous s’il vous plaît m’aider ?

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [Juin 27, 2025, 11:08 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-counters-in-the-footer-of-the-site/372049/2 "2025-06-27T23:08:36Z")

</div>

Qu’aimeriez-vous compter ?

![](https://media.tenor.com/bjssZudAFvAAAAAC/sesame-street-muppets.gif)

---

<div class="post-metadata">

### Author: ![DigneZzZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dignezzz/32/506171_2.png) [@DigneZzZ](https://meta.discourse.org/u/DigneZzZ)
#### Post date: [Juin 28, 2025, 7:52 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-counters-in-the-footer-of-the-site/372049/3 "2025-06-28T07:52:57Z")

</div>

Je souhaite intégrer le compteur Yandex.Metrica uniquement pour le suivi des visites et des métriques d’audience.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [Juin 28, 2025, 9:16 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-counters-in-the-footer-of-the-site/372049/4 "2025-06-28T21:16:07Z")

</div>

Voir [Adding Yandex Metrica counter to Discourse](https://meta.discourse.org/t/adding-yandex-metrica-counter-to-discourse/293282)

---

<div class="post-metadata">

### Author: ![DigneZzZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dignezzz/32/506171_2.png) [@DigneZzZ](https://meta.discourse.org/u/DigneZzZ)
#### Post date: [Juin 28, 2025, 9:28 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-counters-in-the-footer-of-the-site/372049/5 "2025-06-28T21:28:16Z")

</div>

J’ai déjà rencontré ce sujet, mais je reste perplexe quant à la manière de l’accomplir. La description concernait une tâche complètement différente.

---

<div class="post-metadata">

### Author: ![DigneZzZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dignezzz/32/506171_2.png) [@DigneZzZ](https://meta.discourse.org/u/DigneZzZ)
#### Post date: [Juillet 4, 2025, 4:50 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-counters-in-the-footer-of-the-site/372049/6 "2025-07-04T16:50:41Z")

</div>

Très bien.  
Je vais me répondre.  
J’ai réussi à créer un compteur ; cela s’est avéré remarquablement simple.

Pour y parvenir, il faut :

1. Développer un nouveau composant.
2. Insérer le code requis dans le corps.  
 ![L'image montre l'interface d'un éditeur de code avec coloration syntaxique, un fichier HTML est ouvert avec le code ajouté pour Yandex.Metrica. (Légende de l'image par IA)](https://global.discourse-cdn.com/meta/original/4X/d/4/2/d427fbae4beba4094deb4e14b5cb4f1abce90722.png)
3. Appliquer le composant à tous les thèmes.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [Août 3, 2025, 4:50 UTC](https://meta.discourse.org/t/is-it-possible-to-embed-counters-in-the-footer-of-the-site/372049/7 "2025-08-03T16:50:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
