From d53ead75149f48c7da1c58f678c2ded81108a90d Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Fri, 25 Jun 2021 13:34:50 +0200 Subject: [PATCH] docs: website: rename event Signed-off-by: Andrea Luzzardi --- website/src/theme/DocPage/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/theme/DocPage/index.js b/website/src/theme/DocPage/index.js index eae8cfc2..8e226730 100644 --- a/website/src/theme/DocPage/index.js +++ b/website/src/theme/DocPage/index.js @@ -178,7 +178,7 @@ function DocPage(props) { var amplitudeInstance = amplitude.getInstance().init(process.env.REACT_APP_AMPLITUDE_ID, userAccessStatus?.login.toLowerCase(), { apiEndpoint: `${window.location.hostname}/t` }); - amplitude.getInstance().logEvent('Docs View', { "hostname": window.location.hostname, "path": window.location.pathname }); + amplitude.getInstance().logEvent('Docs Viewed', { "hostname": window.location.hostname, "path": window.location.pathname }); } }) }