Question: How To Setup Google Analytics On WordPress?
Our experts say.
Introduction
Setting up Google Analytics on WordPress is an easy task and can help provide insight into how well your website is performing. Knowing how to use Google Analytics can provide useful information to improve the design and content of your WordPress site. In this guide we will explore how to set up Google Analytics on WordPress.
Step by Step Directions
1. Go to your WordPress dashboard. This can be done by typing your domain name and adding /wp-admin (e.g. www.example.com/wp-admin). At the bottom of the menu on the left side select “Appearance” then “Editor”.
2. Go to the “Theme Header (header.php)” file and add the following code just above the tag:
3. Go back to your WordPress dashboard, hover over “settings” then click on “Google Analytics”
4. Enter your Google Analytics ID and click “Save Changes”
5. Create a new file in the “Themes” folder under “Editor”, call it “analyticstracking.php”
6. In the analyticstracking.php page, below the