在 phpBB 加入 Google Analytics code

要在 phpBB 加入 Google Analytics code 的步驟:

  1. vim styles/prosilver/template/overall_footer.html
  2. 於 </body> 前加入

    <script..... Google Analytics code ..</script>

放最下面除了頁面比較快外, 主要是 Analytics code 有時後會把頁面卡住, 雖然可以設 async 避免(Google Analytics goes async), 不過, 盡量不想去改 Google 本身提供的語法.