Tag Archives: Google analytics how to add code to wordpress

How to add Google Analytics to WordPress [Step-by-step]

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:

1ga

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:

2ga

Enjoy!