Once you have the JavaScript code you want, copy the code.
Then go to your Xanga Look and Feel page, and paste it into the WEBSITE STATS section: