How To Put Google Analytics In WordPress?

 width=1280

Where do I put Google Analytics code in WordPress?

Add Google Analytics to WordPress Without a Plugin

  • Click on Admin in the left taskbar.
  • In the property column, click Tracking Info, and then Tracking Code.
  • Now you can get the tracking code under the Website tracking section.
  • Step 2: Add the Tracking Code to the header.php file.

How do I add Google Analytics to WordPress 2019?

How to Install Google Analytics to WordPress | 2019 –

How do I add Google Analytics to my free WordPress blog?

How To Add Google Analytics To WordPress Blog

  1. Sign in to your Google Analytics account.
  2. Collect the tracking code for your site.
  3. Copy the code.
  4. Log in to your WordPress dashboard.
  5. In the left navigation, go to Appearance and click on Editor.
  6. Open your theme’s header. php file.
  7. Paste the code just below <body> tag.
  8. Click Update the File button to save the changes.

Where do I put the Google Analytics code?

The code should be added near the top of the <head> tag and before any other script or CSS tags, and the string ‘UA-XXXXX-Y’ should be replaced with the property ID (also called the “tracking ID”) of the Google Analytics property you wish to track.”

Leave a Reply

Your email address will not be published. Required fields are marked *