How To Setup Google Analytics on WordPress
Google Analytics is a web analytics service offered by Google that tracks and reports website traffic, currently as a platform inside the Google Marketing Platform brand. … Google Analytics provides an SDK that allows gathering usage data from iOS and Android app, known as Google Analytics for Mobile Apps.Learn How To Setup Google Analytics on WordPress
If you are unsure about Google Analytics ,you can always check are Top 11 Google Analytics Plugins for WordPress
Set up your Google Analytics account
Head over to Google Analytics, and sign up for a new account. Enter your website details and add it to your account.
Get your Google Analytics tracking code
Log into your Google Analytics account and click on Admin on the sidebar.
Select the website that you want to get the tracking code for by selecting the right Account and Property from the drop-down.
In the Property column, click Tracking Info followed by Tracking Code.
On the next screen, you should be able to see the script that you need to add to your WordPress site. Simply click on it to select the script and copy it.
Add Google Analytics tracking code to header.php file
Log into your WordPress Admin dashboard and go to Appearance > Editor. Click on header.php file on the right sidebar.
Note: Make sure you’re editing your child theme so you don’t lose your tracking code when you updated your theme.
Paste the code that you copied right before the tag.
Click Update and you’ done!
If you have finished your Google Analytics setup , we recommend you indexing your website to Google.
Also we highly recommend on doing SEO on every page and Post for High Ranking Results