diff options
| author | XhmikosR <[email protected]> | 2018-11-05 13:23:37 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-11-09 15:02:42 +0200 |
| commit | e1b5b4f9890adaefaffe53976aa9a0f0dcbc5987 (patch) | |
| tree | 9b1666b49aaa845e9a027d221dfaa6fc2a561573 | |
| parent | a933f076f47bdb20725a6ad8884596884b3618a9 (diff) | |
| download | bootstrap-e1b5b4f9890adaefaffe53976aa9a0f0dcbc5987.tar.xz bootstrap-e1b5b4f9890adaefaffe53976aa9a0f0dcbc5987.zip | |
Move analytics to an include file.
| -rw-r--r-- | site/_includes/analytics.html | 6 | ||||
| -rw-r--r-- | site/_includes/header.html | 10 |
2 files changed, 7 insertions, 9 deletions
diff --git a/site/_includes/analytics.html b/site/_includes/analytics.html new file mode 100644 index 000000000..e0989cda5 --- /dev/null +++ b/site/_includes/analytics.html @@ -0,0 +1,6 @@ +<script> + window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; + ga('create', 'UA-146052-10', 'getbootstrap.com'); + ga('send', 'pageview'); +</script> +<script async src='https://www.google-analytics.com/analytics.js'></script> diff --git a/site/_includes/header.html b/site/_includes/header.html index 8f52ebfb8..83d051fa8 100644 --- a/site/_includes/header.html +++ b/site/_includes/header.html @@ -13,14 +13,6 @@ </title> {% include stylesheet.html %} - {% include favicons.html %} - {% include social.html %} - -<script> - window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; - ga('create', 'UA-146052-10', 'getbootstrap.com'); - ga('send', 'pageview'); -</script> -<script async src='https://www.google-analytics.com/analytics.js'></script> +{% include analytics.html %} |
