To leave a comment, please Login or Register

1. Once you have copied your tracking code, login to your WordPress website and go to “Appearance >> Editor”.

2. On the right side of the screen you will see a list of templates. Find here the “header.php” template file. The easiest way to find this file is to press CTRL + F and search for "header.php".

3. After that again search using CTRL + F and paste the copied Google Analytics tracking code before .

4. After pasting the code, click on the “Update File” button.

5. After a few hours, go back to the Google Analytics tools from where you copied your tracking code. If you are not receiving any analytics data of the site, click on “Send test traffic” button to check it.

Usually Google Analytics takes 12-24 hours to show your web analytics data.
24 days ago   1

Related Questions

1. What is WordPress Customizer?

Wordpress offers a lot of customisation like page titles, icons, tagline, colors including theme options like header, sidebar, blo...

2. What is MySQL in WordPress?

MySQl is an open source relational database used by Wordpress to manage records. Mysql contains database with a set of tables link...

3. What is JavaScript?

JavaScript is a dynamic computer programming language. It is an Interpreted/Oriented Language. JavaScript is also known as client...

4. What is Nonce in WordPress?

Nonce are Number only used once which is used when there is a secure operation need to be done. Nonces are valid for short period...

5. what is author role in WordPress?

Author. As the name suggests, users with the author role can write, edit, and publish their own posts. They can also delete their...