How Easily Add Google Analytics To WordPress Blog



To create this plugin, you’ll follow five steps:-

  • Check your active theme’s header.php file to ensure it includes the wp_head hook.
  • Create a new file in your plugins folder.
  • Get your analytics tracking code from the Google analytics site.
  • Add some code including the tracking code to your plugin.
  • Activate the plugin.