1. Login on your Google Analytics account. Go to Admin / Tracking Info / Tracking Code and COPY (CTRL+C) the script from the tracking code box:
2. Login to your wordpress platform and go to: Appearance / Editor / Header (header.php) and PASTE (CTRL+V) the code just after <BODY>.
When you’re done, Click Update File:
Enjoy!