Saturday, 30 December 2017

Install Google Analytice Tracking"Shocho keise kare" Code in WordPress

Install Google Analytics Tracking Code in WordPress "Shocho keise kare"


hello and welcome back again in this video session. I'm going to Quickly show you how to install Google Analytics tracking code on a WordPress site simply we open up your favorite internet browser and simply log into your Google Analytics account surely if you do not have Google Analytics account. I made a video tutorial that takes you step-by-step showing you had to create one ok se. I will presume that you already have Google Analytics account and you just want to install your tracking code on a WordPress site don't worry it's pretty simple and I'll also a give you couple hints keeps and as to concede the certain elements while you installing your tracking code on your WordPress site so basically load your Analytics account then locate menu option named admin press on it then will give you this interface because this is the latest interface for 2017. locate your analytics and under your property option,
you will have this menu option simply press on tracking info then locate tracking code then simply copy the JavaScript it gives you and then simply log into your WordPress site ok and on the left-hand side you have Appearance panel here. Then locate it and go into editor press on it and once you do there you have an issue template files and files that fire your WordPress site right near most templates use header dot PHP file ok simply locate that and press on it so that you can now edit it. new where you should place this is located the end of yes the head element so simply locate that.just on the  WordPress head function ok. and just simply paste the code yet. you've just copied from analytics that's where it goes new this is universal tracking code can show you may have the classic tracking code makes on the difference. It still does there some people will tell you that you should place it all inside the body element or in the footer element and so on that's correct and so no that's correct you can split this code if its asynchronous code that you have which is the universal tracking code right but I strongly encourage you to simply places it there and forget about splitting and worrying about like where should place the code ok. instead focus your energy on creating great conternt insted of wasting your time thinking about oh where should I place the code n so on ok the Google Analytics tracking code goes just before the closing of your head element here ok because this is header file thatmeans once you save your changes new once you save that file now if you were to go and refresh your homepage and let's look at the source code control u  on Firefox now you will see  that our tracking code is installed and regardless of which page that you visit it should be there as ll as we can see it's there now what will h appenis you've basically installed Google tracking code on a WordPress site it is that simple and that's all there is to it once again I don't worry about splitting and all that stuff. Ok, that's where the code goes and where you can learn how to take an advantage of Google Analytics.
"<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-109089592-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-119089592-1');
</script>
"

No comments:

Post a Comment

Decision Making CSAT for HCS I UPSC