Paste the following code just after the closing tag of your web page.
Google Analytics