I added my statcounter code but it appears to not work. Anyone know how to solve this?
No. No one can possibly help answer that question.
If you world like to answer a question that has an answer it should include the following: What did you do? What code did you add. Where did you add it? What happens when you try to run it? What do you do to try to run it? What did you expect to happen?
Let me rephrase: Has anyone got statcounter code working and tracking visitors on their discourse community?
Discourse comes out of the box with a dashboard and reports for various statistics. I believe many also have Google stats.
I see that. But not what I am looking for.
Inserisci quel codice nella sezione </head> di un componente del tema. Puoi leggere ulteriori informazioni qui.
Discourse è un’applicazione a pagina singola. Pertanto, l’implementazione potrebbe differire dalla documentazione fornita da Statcounter. La tua implementazione deve tenerne conto; altrimenti, otterrai le statistiche solo per la visualizzazione iniziale della pagina.
Ecco un esempio di come inviamo le statistiche durante le transizioni di pagina per Google Analytics (questa funzionalità è integrata e inizia a funzionare non appena aggiungi le tue credenziali di Google Analytics nelle impostazioni di amministrazione).
Dovrai anche assicurarti che gli script di Statcounter siano consentiti dalla CSP, sia tramite il tuo componente del tema sia nelle impostazioni del sito.
