Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1059411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:10:02+00:00 2026-05-16T18:10:02+00:00

Does exist reason to put google analytics in head and not in the end

  • 0

Does exist reason to put google analytics in head and not in the end of body?
(I working on big website that its works in this way)

Option 1:

<head>
<script src="http://www.google-analytics.com/ga.js"></script>
</head>

Option 2 – in bottom of body :

<body>
//html code

<script src="http://www.google-analytics.com/ga.js"></script>
</body>

Edit1:
Also the same question with jquery ui

Edit2:
add ga.js in the end of script (fix)

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:10:02+00:00Added an answer on May 16, 2026 at 6:10 pm

    I suggest to use the asynchronous google analytics code.

    Asynchronous Google Analytics

    If you use the non-asynchronous code and put it into the head section, it may block the load of your website if the ga code would be slow to load, because it waits until the scripts are loaded. And because google analytics is an external script you may have no influence on the load performance (normally it should not matter, but it can happen that even google has server problems).

    So, no i don’t see a real reason to do it that way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

MUTANT TABLE DOES NOT EXIST.MY QUERY IS WORKING FINE BUT WHEN I AM TRYING
Is there a particular reason why a generic ICloneable<T> does not exist? It would
What differences does exist between that two commands. NSLog(@Hello World!!); and LOG(@Hello World!!); NSLog
Does there exist a free Windows software program that will help you generate regular
I keep getting a 'List does not exist' error whenever I try and use
There are always the log showing: file does not exist c:/wamp/www/favicon.ico in apache error_log.
For some reason, this didn't work (although the keypath does exist): The Entity is
My problem is that memcache logic inside my cakePHP application is not working on
Is there a reason why my code does not want to write to my
rmdir() displays a few warnings like the dir does not exist, or permissions did

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.