How to set up google analytics in WordPress website

Install a WordPress Plugin (Easiest Way)

Recommended: Site Kit by Google

 

  1. Go to WordPress Dashboard > Plugins > Add New

  2. Search for Site Kit by Google.

  3. Click Install Now > Activate

  4. After activation, click Start Setup

  5. Sign in with your Google account and allow permissions.

  6. Connect Google Analytics during setup.

  7. Site Kit will automatically add the tracking code to your blog.