Skip to main content
grammar
Source Link
user42
user42

I'd like to go to the asynchronous Google Analytics script, but I'd rather not have it in the head (even though I know this is best practice).

So, is there any benefit of using the async code if it isn't in the head, and alternatively, would it be safe to place elsewhere high in the page, like just inside the opening body tag, or in a .NET user control that loads at the top of the page?

EDIT:

In the instructions Google states:

If that isn't an option, you can still put the asynchronous snippet at the bottom of the page. You can also split your snippet to retain some of the benefits of asynchronous tracking.

If I place the code there (without splitting) do I still benefit from asynchronous loading or is it negligible since it is at the bottom anyway.?

I'd like to go to the asynchronous Google Analytics script, but I'd rather not have it in the head (even though I know this is best practice).

So, is there any benefit of using the async code if it isn't in the head, and alternatively, would it be safe to place elsewhere high in the page, like just inside the opening body tag, or in a .NET user control that loads at the top of the page?

EDIT:

In the instructions Google states:

If that isn't an option, you can still put the asynchronous snippet at the bottom of the page. You can also split your snippet to retain some of the benefits of asynchronous tracking.

If I place the code there (without splitting) do I still benefit from asynchronous loading or is it negligible since it is at the bottom anyway.

I'd like to go to the asynchronous Google Analytics script, but I'd rather not have it in the head (even though I know this is best practice).

So, is there any benefit of using the async code if it isn't in the head, and alternatively, would it be safe to place elsewhere high in the page, like just inside the opening body tag, or in a .NET user control that loads at the top of the page?

EDIT:

In the instructions Google states:

If that isn't an option, you can still put the asynchronous snippet at the bottom of the page. You can also split your snippet to retain some of the benefits of asynchronous tracking.

If I place the code there (without splitting) do I still benefit from asynchronous loading or is it negligible since it is at the bottom anyway?

clarification
Source Link
user42
user42

I'd like to go to the asynchronous Google Analytics script, but I'd rather not have it in the head (even though I know this is best practice).

So, is there any benefit of using the async code if it isn't in the head, and alternatively, would it be safe to place elsewhere high in the page, like just inside the opening body tag, or in a .NET user control that loads at the top of the page?

EDIT:

In the instructions Google states:

If that isn't an option, you can still put the asynchronous snippet at the bottom of the page. You can also split your snippet to retain some of the benefits of asynchronous tracking.

If I place the code there (without splitting) do I still benefit from asynchronous loading or is it negligible since it is at the bottom anyway.

I'd like to go to the asynchronous Google Analytics script, but I'd rather not have it in the head (even though I know this is best practice).

So, is there any benefit of using the async code if it isn't in the head, and alternatively, would it be safe to place elsewhere high in the page, like just inside the opening body tag, or in a .NET user control that loads at the top of the page?

I'd like to go to the asynchronous Google Analytics script, but I'd rather not have it in the head (even though I know this is best practice).

So, is there any benefit of using the async code if it isn't in the head, and alternatively, would it be safe to place elsewhere high in the page, like just inside the opening body tag, or in a .NET user control that loads at the top of the page?

EDIT:

In the instructions Google states:

If that isn't an option, you can still put the asynchronous snippet at the bottom of the page. You can also split your snippet to retain some of the benefits of asynchronous tracking.

If I place the code there (without splitting) do I still benefit from asynchronous loading or is it negligible since it is at the bottom anyway.

Source Link
user42
user42

Is there any benefit of Google Analytics asynchronous tracking code if it isn't placed in the <head>?

I'd like to go to the asynchronous Google Analytics script, but I'd rather not have it in the head (even though I know this is best practice).

So, is there any benefit of using the async code if it isn't in the head, and alternatively, would it be safe to place elsewhere high in the page, like just inside the opening body tag, or in a .NET user control that loads at the top of the page?