Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 2.56 KB

faq.md

File metadata and controls

46 lines (34 loc) · 2.56 KB

Documentation table of contents

Frequently asked questions


Why is the Google Analytics code at the bottom? Google recommends it be placed in the <head>.

The main advantage of placing it in the <head> is that you will track the user's pageview even if they leave the page before it has been fully loaded.

Here's a handy quote from Mathias Bynens about our placement choice.

I should point out that it’s Google — not me — recommending to place this script before all other scripts in the document. The only real advantage is to catch a pageView call if your page fails to load completely (for example, if the user aborts loading, or quickly closes the page, etc.). Personally, I wouldn’t count that as a page view, so I actually prefer to place this script at the bottom, after all other scripts. This keeps all the scripts together and reinforces that scripts at the bottom are the right move. (Usually I concatenate and minify all my scripts into one .js file — the GA snippet being the suffix.)

How can I integrate Bootstrap with this HTML5 template?

Here's Nicolas Gallagher writing about how HTML5 Boilerplate and Bootstrap complement each other. (appliciable since our template used the HTML5 Boilerplate as a base.)

Do I need to upgrade my site each time a new version of this HTML5 tempplate is released?

No, same as you don't normally replace the foundation of a house once it was built. However, there is nothing stopping you from trying to work in the latest changes, but you'll have to assess the costs/benefits of doing so. See the WIKI page for a how to when such changes arise and how to implement them.

Where can I get help with support questions?

Please ask for help on Our Github Page.