Move the Google Analytics tracking code in the head element

Issue #7449 invalid
Kaz Nishimura
created an issue

Google instructs to place the tracking code before </head> in their help page:

If not, I cannot use their Webmaster Tools with Google Analytics together:

Comments (2)

  1. Zachary Davis

    Hi Kaz,

    Unfortunately you won't be able to use Webmaster Tools for your Bitbucket repository pages (eg,*) for many reasons. If instead you're looking to use Webmaster Tools with a static website hosted on Bitbucket (eg,, then you already have complete control over the source code and should be able to follow the instructions provided by Google.

  2. Log in to comment