mirror of https://github.com/docker/docs.git
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:
parent
0d084752cf
commit
98d9938975
1
404.md
1
404.md
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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)};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue