Asnyc Google Analytics Controls Locations

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/2/2013 12:34:11 PM
Gravatar
Total Posts 10

Asnyc Google Analytics Controls Locations

Hi Joe,

Looks like the controls are in the wrong location. According to Google the asynchronous code should be located just before the closing </head> tag, not in the body tag.

http://support.google.com/analytics/bin/answer.py?hl=en&answer=1008083&topic=1008079&ctx=topic

Burl

 

 

3/4/2013 10:51:16 AM
Gravatar
Total Posts 18439

Re: Asnyc Google Analytics Controls Locations

Hi Burl,

It is not required to have it in the head, the documentation used to say it was ideal to have it there but it works just fine at the top of the body.

You are free to move the <portal:AnalyticsAsyncTopScript id="analyticsTop" runat="server" /> out of the body and into the head of your layout.master file if you wish but I have a vague recollection of there being a reason we did not put it there though i can't remember why at the moment.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.