GCP にインストールされた Discourse インスタンスで、分析用の Facebook ピクセルコードを追加する方法

I have installed Discourse in our server and we need to add facebook pixel code in our installations, any idea how to make it happen?

i saw there’s an inbuilt plugin for google analytics but not facebook analytics.

「いいね!」 1

You should be able to add that code as a theme component. Probably stick it in the head section.

「いいね!」 6

単にヘッドに埋め込むだけでは、バーチャルページビューはカウントされないのでしょうか?おそらく、バーチャルページビューがトリガーされるたびに、ページビューイベントを発火させる必要があるのでしょう。

「いいね!」 1