_content/js: adjust HaTS sample rate, disable on playground
Change-Id: Ia49852d76c03dd79f1904df415e849a0af3dd4d4
Reviewed-on: https://go-review.googlesource.com/c/website/+/432875
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
diff --git a/_content/js/hats.js b/_content/js/hats.js
index 5fa6d56..ec6b6fd 100644
--- a/_content/js/hats.js
+++ b/_content/js/hats.js
@@ -55,7 +55,9 @@
(function () {
// HaTS - go.dev
- requestHaTs('HaTS_BKT', 'RLVVv5Lf10njVvnD1rP0QUpmtosS', 0.1, 0.5);
+ if (location.pathname !== '/play/') {
+ requestHaTs('HaTS_BKT', 'RLVVv5Lf10njVvnD1rP0QUpmtosS', 0.03, 0.5);
+ }
// All download links on the go.dev homepage may trigger a survey.
[