Here is the step by step guide to add google analytics code in to your website without need of any plugin just few simple steps.
Following are the step to get the code from google analytics
1. Go to your google analytics account and login. ( if you already created google analytics account and generated the tracking code code.
Here is the video guide to How to setup google analytics account and get the code
2. Scroll down below goto admin gear icon
2. Click on tracking info
3. Click on tracking code copy the entire code.
Here is the step to add your analytics code into your wordpress website
- After login to your dashboard,
- Go to the appearance
- Theme editor
- Find header.php (before editing anything in header take a code backup)
- Paste your google analytics javascript code in the header before Closing of </head>