How can I add Google Analytics to my wiki?

On Google side :

  1. Create an account here :
  2. Retrieve your tracking code

On your wiki side :

  1. On the wiki administration page, click on the "Advanced options" link
  2. Put your tracking code in the "<head> tag content" field
  3. Submit the form