Marketing

How do we connect Google Analytics with our site?

google-analytics

Google Analytics is one of the most important Google services for analyzing websites and applications

We will learn how to link our site with it.

First, we go to the link:

https://analytics.google.com/analytics/web/

Google_Analytics

We log in with a Gmail email Then the following image appears and we click on the admin button :

Then we continue and click on Create account as in the following picture:

Analytics

Now write the name of the site and press next :

new account

Then we write the name of the property, i.e. project as in the following picture and press next :

property

Now we choose the size of the company and the tools we want Analytics to help us with :

 

business size

Then we agree to the usage agreement as in the following picture:

 

agree

It asked if we need a site or an application, and in this case we will choose a site:

collecting

 

Here we write the site name without the prefix: “https://” :

stream

 

after press create stream A tracking code will appear for us to make a copy to be placed in the header file on our site to complete the link between the site and Google Analytics :

tracking code

 

Now we go to our website and to the link https://www.domainname.com/wp-admin/theme-editor.php , choose the header file, and peel the code between the head tags as in the following picture:

header

 

After clicking to update the file, we go to the homepage of analytics homepage to see the visitor count and statistics for our website as in the following picture:

Analytics_Home

 

With these previous simple and quick steps, we have linked our site with google analytics to easily measure the site’s performance.

Previous post
General settings in wordpress quick start !
Next post
The best way to create a sitemap and send it to Google Search Console

Leave a Reply