How to Add Google Analytics to WordPress Without a Plugin

Before you start please make sure you've set up Google Analytics, if not, please view this guide from Google here.

  1. Log into your WordPress website (i.e. www.yourwebsite.com/wp-admin)
  2. Expand Appearance on the left side menu
  3. Click Theme Editor
  4. Find and select Theme Header (Header.php)
  5. Copy your tracking code from your site property in Google Analytics
  6. Paste the code just below the <head> tag.
  7. Click Update File

Your Google Analytics should now be set up to track your website. 
To confirm if it's working, go to your website and in another tab, open and view your analytics and check Active Users right now.

 Please contact us here if you need any Technical Support.

Analytics Google Website WordPress

← Older Post Newer Post →



Leave a comment