FactsLab

Product Reviews, Tutorials, How-To's and Tech news

  • PHP
    • Basics
  • Entrepreneur
    • Money Online
  • JavaScript
    • JQuery
  • Android
  • WordPress
    • Genesis
  • Articles
You are here: Home / WordPress / Genesis / How to Add Google Analytics Tracking Code to Any Genesis Child Theme

October 14, 2015

How to Add Google Analytics Tracking Code to Any Genesis Child Theme

The process for adding your Google Analytics Code to any of the Genesis Child Theme is same, without using any plugin.

For that just follow these simple steps.

  1. Just copy the the Google Analytics tracking code from your Google Analytics Account.Capture
  2. Now  Login to your WordPress Dashboard
  3. Go to Genesis theme settings Capture
  4. Scroll down to Header and Footer Scripts, then add the code to the header script box.Capture

the script is added to the header box instead of footer box so that the tracking script can be loaded before the other scripts.

NOTE: It may take 2 to 3 days from the date of inclussion of the tracking script on your site to get detected by the Google Analytics’ dashboard and reflecting of  the stats from your site.

Sharing is Caring:

  • Facebook
  • Twitter
  • Pinterest
  • Pocket
  • Email
  • More
  • Reddit
  • Print
  • Tumblr
  • LinkedIn

Related

Article by Rishabh Jain / Genesis, WordPress / genesis, google analytics, wordpress 2 Comments

About Rishabh Jain

Rishabh Jain is a professional web developer and graphic designer, with a special interest in WordPress, Reactsjs, Angularjs. His forte lies in nodejs and php. when he is not on his desk he can be found hitting gym. He is passionate about entrepreneurship and all things startups.

Comments

  1. Rita says

    October 16, 2015 at 7:38 am

    Not sure, if it’s a good idea to include any JS in header. My personal experience says that it’s better to include it in footer. That way site speed is not affected and JS gets to scan complete content of the page to fetch contextual ads from Google servers.

    Reply
    • Rishabh Jain says

      October 16, 2015 at 7:57 am

      Greetings.

      As per any JS is concern it is correct to add them in the footer area but, like Google Analytics script its the best practice to add them in the header area as its an asynchronous so it wont affect loading of any other content of that site and by adding them in the header, one can expect more accurate stats ..

      Reply

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Social

  • View factslab.in’s profile on Facebook
  • View factslab1’s profile on Twitter
Home · Contact Us
Copyright © 2021 · Factslab · Powered by Gounik Technocrats
MENU
  • PHP
    • Basics
  • Entrepreneur
    • Money Online
  • JavaScript
    • JQuery
  • Android
  • WordPress
    • Genesis
  • Articles
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.