Web Technologies

Google Search Console & Analytics

What to do when you are up & live with new website and now you have to integrate Google verification code into website to start monitoring with search console & Analytics?

Google Search Console helps you monitor your website’s performance generally and in search engine results. Google Analytics helps you learn more about your users, including who they are, how they found you, and how they interact with your website.

First you have to create a search console account where you have to verify your ownership of domain by adding TXT record or CNAME record into your DNS zone editor. So edit your DNZ zone by adding new records there and Google will Generate a Code which you can insert into Yoast manager to verified the ownership of website.

Once Google search console is setup, you have to create a new property in Google Analytics and link/associate search console account with that new property. You can’t see the user traffic data instantly, you have to copy past the JS code generated by Analytics setting and which will be exists on each page of your website. To link using Plugin in WordPress you can use Google Site Kit plugin and simply link your account and that plugin will automatically place that JS code to each page. You can check source code by searching element :

<!-- Google Analytics snippet added by Site Kit --> 
<script type="text/javascript" id="google_gtagjs-js-after">

So it’s 2 main process:

  1. Verify your ownership of domain and website
  2. Placing JS code to website backend for every page

That’s it and you are good to go with advance SEO optimization now. It will take few minutes to see live traffic on Analytics dashboard after configuration very first time.