diff --git a/src/components/GalleryImage/GalleryImage.js b/src/components/GalleryImage/GalleryImage.js index b9fd028..4141445 100644 --- a/src/components/GalleryImage/GalleryImage.js +++ b/src/components/GalleryImage/GalleryImage.js @@ -18,6 +18,8 @@ const logKeyShortcut = (keyCode) => { try { // eslint-disable-next-line window.plausible("KeyShortcut", { props: { keyCode } }); + // eslint-disable-next-line + _paq.push(['trackEvent', 'GalleryImage', 'KeyShortcut', keyCode]); } catch (e) { /* do nothing */ } diff --git a/src/html.js b/src/html.js index b7dbba7..fb1a5f8 100644 --- a/src/html.js +++ b/src/html.js @@ -31,7 +31,7 @@ export default function HTML(props) { {env === "production" && ( )} - {true && ( + {env === "production" && (