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" title: "Sorry, we can't find that page"
permalink: /404.html permalink: /404.html
skip_feedback: true
notoc: true notoc: true
sitemap: false sitemap: false
skip_read_time: true skip_read_time: true

View File

@ -15,7 +15,9 @@ exclude:
# Google Analytics, etc. # Google Analytics, etc.
google_analytics: GTM-WL2QLG5 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 # Assets
# #

View File

@ -1,5 +1,5 @@
{%- if site.hotjar_id != '' and page.skip_feedback != true -%} {%- if site.hotjar_id != '' and page.skip_feedback != true -%}
<!-- Hotjar Tracking Code for https://docs.docker.com --> <!-- Hotjar Tracking Code -->
<script> <script>
(function(h,o,t,j,a,r){ (function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; 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` - search auto-completion, and generation of `js/metadata.json`
- Google Analytics - Google Analytics
- page feedback
- `sitemap.xml` generation - `sitemap.xml` generation
- minification of stylesheets (`css/style.css`) - minification of stylesheets (`css/style.css`)
- adjusting "edit this page" links for content in other repositories - 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" description: "Glossary of terms used around Docker"
keywords: "glossary, docker, terms, definitions" keywords: "glossary, docker, terms, definitions"
notoc: true notoc: true
skip_feedback: true
skip_read_time: true skip_read_time: true
redirect_from: redirect_from:
- /engine/reference/glossary/ - /engine/reference/glossary/

View File

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