Owes Shubho

How to Add Google Analytics to WordPress

Process 1: With Using Plugins :
  1. Google Analytics for WordPress by MonsterInsights
  2. Insert Headers and Footers Plugin
Process 2: With Out Using Plugins :
  1. Install Google Analytics in WordPress Theme
      • Open Your Theme Directory and open header.php file
      • Then Inset Your Google Analytics Tracking Code
      • After the <body> Tag
      • Past Your Code
      • That Look Like
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-0000000-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-000000-1');
</script>

 

Leave a Reply

Your email address will not be published. Required fields are marked *