It is important to see the traffic to your WordPress website. With the help of Google Analytics, we can easily track your website’s traffic and other important metrics. I will walk you through how to setup Google Analytics tracking on your WordPress website in easy to follow steps below:
Step 1: Setup Google Analytics Account
Go to the Google Analytics Website and on the right side of the page, click the dropdown and select ‘Analytics’ and sign in.
On the left side, select ‘Admin’:
Now, click ‘Create new account’ under the ‘Account’ dropdown:
Now, complete the following fields and click ‘Get Tracking ID’.
Step 2: Install and Configure Google Analytics Plugin
We are half way there! Now go back to your WordPress dashboard and install the plugin Google Analytics Dashboard for WP.
Once the plugin installed, hover over Google Analytics and click General Settings:
Now click Authorize Plugin, and then Get Access Code. Follow the prompts and select the gmail account you used when setting up the website on the Google Analytics Website. After agreeing to the terms and conditions, you should be shown the access code. Copy the access code. Now paste the access code into the access code input field you saw when you clicked on Authorize Plugin and click Save Access Code:
We are getting close! On the next screen, under the Select View dropdown, select the website you wish to track (i.e. the one you setup in Step 1). Click Save Changes.
Go to your WordPress dashboard. You can now view Google Analytics data right on your dashboard!
The plugin also injects your tracking code into each page so you don’t need to do this yourself.
If you have any questions or need help, don’t hesitate to comment below.