diff --git a/site/.vuepress/components/JPTranslatorNotice.vue b/site/.vuepress/components/JPTranslatorNotice.vue index 269ec3a..f2f3847 100644 --- a/site/.vuepress/components/JPTranslatorNotice.vue +++ b/site/.vuepress/components/JPTranslatorNotice.vue @@ -46,6 +46,7 @@ export default { try { if (localStorage.getItem('jp-translator-notice-dismissed') !== 'y') { this.dismissed = false; + window._paq.push(['trackEvent', 'GCT Generator', 'Translator Notice', 'Show Notice']); } } catch {} }, @@ -54,6 +55,7 @@ export default { try { localStorage.setItem('jp-translator-notice-dismissed', 'y'); this.dismissed = true; + window._paq.push(['trackEvent', 'GCT Generator', 'Translator Notice', 'Dismiss Notice']); } catch {} }, },