Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: Google analytics outside the tag

New Front EN Support Forums Kanso Theme Support Google analytics outside the tag Reply To: Google analytics outside the tag

#9425
mmsatori
Keymaster

Hey Arunsatori,

placing the Analytics code inside the “head” tab is an official recommendation by Google, yet since it’s asynchronous, it can really be placed anywhere inside the page’s code (please see this and this source for more information and explanations). So as long as the code works and is actually recording the visits, it should be totally fine.

Sincerely,
Andrii / Satori Studio