mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
docs: remove Google Analytics
It no longer works
This commit is contained in:
parent
99562ba37c
commit
a55151cb7e
@ -15,7 +15,7 @@ Download ready-to-use compiled code for **Bootstrap v{{< param current_version >
|
|||||||
|
|
||||||
This doesn't include documentation, source files, or any optional JavaScript dependencies like Popper.
|
This doesn't include documentation, source files, or any optional JavaScript dependencies like Popper.
|
||||||
|
|
||||||
<a href="{{< param "download.dist" >}}" class="btn btn-bd-primary" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download Bootstrap');">Download</a>
|
<a href="{{< param "download.dist" >}}" class="btn btn-bd-primary">Download</a>
|
||||||
|
|
||||||
## Source files
|
## Source files
|
||||||
|
|
||||||
@ -26,13 +26,13 @@ Compile Bootstrap with your own asset pipeline by downloading our source Sass, J
|
|||||||
|
|
||||||
Should you require our full set of [build tools]({{< docsref "/getting-started/contribute#tooling-setup" >}}), they are included for developing Bootstrap and its docs, but they're likely unsuitable for your own purposes.
|
Should you require our full set of [build tools]({{< docsref "/getting-started/contribute#tooling-setup" >}}), they are included for developing Bootstrap and its docs, but they're likely unsuitable for your own purposes.
|
||||||
|
|
||||||
<a href="{{< param "download.source" >}}" class="btn btn-bd-primary" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
|
<a href="{{< param "download.source" >}}" class="btn btn-bd-primary">Download source</a>
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
If you want to download and examine our [examples]({{< docsref "/examples" >}}), you can grab the already built examples:
|
If you want to download and examine our [examples]({{< docsref "/examples" >}}), you can grab the already built examples:
|
||||||
|
|
||||||
<a href="{{< param "download.dist_examples" >}}" class="btn btn-bd-primary" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download Examples');">Download Examples</a>
|
<a href="{{< param "download.dist_examples" >}}" class="btn btn-bd-primary">Download Examples</a>
|
||||||
|
|
||||||
## CDN via jsDelivr
|
## CDN via jsDelivr
|
||||||
|
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p>
|
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p>
|
||||||
{{ if eq .Title "Examples" }}
|
{{ if eq .Title "Examples" }}
|
||||||
<div class="d-flex flex-column flex-md-row gap-3">
|
<div class="d-flex flex-column flex-md-row gap-3">
|
||||||
<a href="{{ .Site.Params.download.dist_examples }}" class="btn btn-lg bd-btn-lg btn-bd-primary d-flex align-items-center justify-content-center fw-semibold" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download Examples');">
|
<a href="{{ .Site.Params.download.dist_examples }}" class="btn btn-lg bd-btn-lg btn-bd-primary d-flex align-items-center justify-content-center fw-semibold">
|
||||||
<svg class="bi me-2" aria-hidden="true"><use xlink:href="#box-seam"></use></svg>
|
<svg class="bi me-2" aria-hidden="true"><use xlink:href="#box-seam"></use></svg>
|
||||||
Download examples
|
Download examples
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ .Site.Params.download.source }}" class="btn btn-lg bd-btn-lg btn-outline-secondary" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');">
|
<a href="{{ .Site.Params.download.source }}" class="btn btn-lg bd-btn-lg btn-outline-secondary">
|
||||||
Download source code
|
Download source code
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,9 +1 @@
|
|||||||
<script defer src="https://cdn.usefathom.com/script.js" data-site="ITUSEYJG"></script>
|
<script defer src="https://cdn.usefathom.com/script.js" data-site="ITUSEYJG"></script>
|
||||||
|
|
||||||
<script>
|
|
||||||
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
|
||||||
ga('create', 'UA-146052-10', 'getbootstrap.com');
|
|
||||||
ga('set', 'anonymizeIp', true);
|
|
||||||
ga('send', 'pageview');
|
|
||||||
</script>
|
|
||||||
<script async src="https://www.google-analytics.com/analytics.js"></script>
|
|
||||||
|
@ -33,19 +33,19 @@
|
|||||||
<hr class="d-lg-none text-white-50">
|
<hr class="d-lg-none text-white-50">
|
||||||
<ul class="navbar-nav flex-row flex-wrap bd-navbar-nav">
|
<ul class="navbar-nav flex-row flex-wrap bd-navbar-nav">
|
||||||
<li class="nav-item col-6 col-lg-auto">
|
<li class="nav-item col-6 col-lg-auto">
|
||||||
<a class="nav-link py-2 px-0 px-lg-2{{ if eq .Page.Layout "docs" }} active" aria-current="true{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Docs</a>
|
<a class="nav-link py-2 px-0 px-lg-2{{ if eq .Page.Layout "docs" }} active" aria-current="true{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/">Docs</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item col-6 col-lg-auto">
|
<li class="nav-item col-6 col-lg-auto">
|
||||||
<a class="nav-link py-2 px-0 px-lg-2{{ if eq .Page.Title "Examples" }} active" aria-current="true{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a>
|
<a class="nav-link py-2 px-0 px-lg-2{{ if eq .Page.Title "Examples" }} active" aria-current="true{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/examples/">Examples</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item col-6 col-lg-auto">
|
<li class="nav-item col-6 col-lg-auto">
|
||||||
<a class="nav-link py-2 px-0 px-lg-2" href="{{ .Site.Params.icons }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Icons');" target="_blank" rel="noopener">Icons</a>
|
<a class="nav-link py-2 px-0 px-lg-2" href="{{ .Site.Params.icons }}" target="_blank" rel="noopener">Icons</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item col-6 col-lg-auto">
|
<li class="nav-item col-6 col-lg-auto">
|
||||||
<a class="nav-link py-2 px-0 px-lg-2" href="{{ .Site.Params.themes }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');" target="_blank" rel="noopener">Themes</a>
|
<a class="nav-link py-2 px-0 px-lg-2" href="{{ .Site.Params.themes }}" target="_blank" rel="noopener">Themes</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item col-6 col-lg-auto">
|
<li class="nav-item col-6 col-lg-auto">
|
||||||
<a class="nav-link py-2 px-0 px-lg-2" href="{{ .Site.Params.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');" target="_blank" rel="noopener">Blog</a>
|
<a class="nav-link py-2 px-0 px-lg-2" href="{{ .Site.Params.blog }}" target="_blank" rel="noopener">Blog</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<div class="d-inline-block v-align-middle fs-5">
|
<div class="d-inline-block v-align-middle fs-5">
|
||||||
{{ highlight (printf ("npm i bootstrap@%s") .Site.Params.current_version) "sh" "" }}
|
{{ highlight (printf ("npm i bootstrap@%s") .Site.Params.current_version) "sh" "" }}
|
||||||
</div>
|
</div>
|
||||||
<a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/" class="btn btn-lg bd-btn-lg btn-bd-primary d-flex align-items-center justify-content-center fw-semibold" onclick="ga('send', 'event', 'Jumbotron actions', 'Get started', 'Get started');">
|
<a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/" class="btn btn-lg bd-btn-lg btn-bd-primary d-flex align-items-center justify-content-center fw-semibold">
|
||||||
<svg class="bi me-2" aria-hidden="true"><use xlink:href="#book-half"></use></svg>
|
<svg class="bi me-2" aria-hidden="true"><use xlink:href="#book-half"></use></svg>
|
||||||
Read the docs
|
Read the docs
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user