Add Your Analytics Tracking Code to Your Header.php File
To add your Google Analytics tracking code to your header.php file, log in your WordPress back office and scroll down to the Appearance tab, then click on Editor. Now, click on the header.php file which is located on the right-hand side of the editor page under Templates.
Now, paste the tracking code you’ve already copied from Analytics before the </head> tag. Click on the Update File button.
How to Add Your Google Analytics Tracking ID to Your WordPress Website
You just learned how you can add Google Analytics code to your WordPress site. However, if you don't want to insert any code at all on your site, you can alternatively copy your tracking ID and paste directly in the appropriate box in your WordPress dashboard.
Click on the "All in One SEO" tab which is located on the left-hand side of your WordPress dashboard. Select General Settings and scroll down to Google Settings. Locate the Google Analytics tracking ID box and paste your tracking ID. Now, scroll down to the bottom and click on Save Changes. You can then begin to track your visitors without inserting any code at all.
As I have always said and believe, Israel, you are sooo welcomed in my journey to creating an awesome website. In fact you play a BIG PART to my success, my dear friend.
I know I missed a ton of your education, but nothing gets passed me. I do cherry pick those that, at the time, are important for me to learn.
I., I am a slow learner. With your unlimited and powerful braincells you have, I can only fill my head with so much to be absorbed into my quite empty head. =)
I am not intimidated my brother, I accept myself for who I am.
No worries my brother I am still confident and proud. lols!
Thank you Mr. Ambassador. You rock my brother!
frank =)