Process 1: With Using Plugins :
- Google Analytics for WordPress by MonsterInsights
- Insert Headers and Footers Plugin
Process 2: With Out Using Plugins :
- 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>