jekyll: add hotjar for prod environment (#15978)

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-10-27 14:30:12 +02:00 committed by GitHub
parent 0d084752cf
commit 98d9938975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 2 deletions

1
404.md
View File

@ -1,6 +1,7 @@
---
title: "Sorry, we can't find that page"
permalink: /404.html
skip_feedback: true
notoc: true
sitemap: false
skip_read_time: true

View File

@ -15,7 +15,9 @@ exclude:
# Google Analytics, etc.
google_analytics: GTM-WL2QLG5
onetrust_id: 8e0ebfd9-035d-4ec2-9b2f-a2de9c09f906
polldaddy_id: 8453675
onetrust_id: 8e0ebfd9-035d-4ec2-9b2f-a2de9c09f906
hotjar_id: 3169877
# Assets
#

View File

@ -1,5 +1,5 @@
{%- if site.hotjar_id != '' and page.skip_feedback != true -%}
<!-- Hotjar Tracking Code for https://docs.docker.com -->
<!-- Hotjar Tracking Code -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};

View File

@ -103,6 +103,7 @@ local builds, and builds that are deployed to [docs.docker.com](/):
- search auto-completion, and generation of `js/metadata.json`
- Google Analytics
- page feedback
- `sitemap.xml` generation
- minification of stylesheets (`css/style.css`)
- adjusting "edit this page" links for content in other repositories

View File

@ -3,6 +3,7 @@ title: "Glossary"
description: "Glossary of terms used around Docker"
keywords: "glossary, docker, terms, definitions"
notoc: true
skip_feedback: true
skip_read_time: true
redirect_from:
- /engine/reference/glossary/

View File

@ -1,6 +1,7 @@
---
description: Docker documentation search results
keywords: Search, Docker, documentation, manual, guide, reference, api
skip_feedback: true
notoc: true
notags: true
title: "Docs search"