How to add facebook pixel code for analytics in the discourse instance, installed on our GCP?

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.

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

헤드에만 넣는다고 가상 페이지뷰가 누락되지 않나요? 가상 페이지뷰가 트리거될 때마다 페이지뷰 이벤트가 발화되어야 할 것 같습니다.