added ai_switch to matamo

pull/4554/head
Stéphane Tetsing 8 months ago
parent ef6589edec
commit 89745cb035
  1. 1
      libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx

@ -269,6 +269,7 @@ export const TabsUI = (props: TabsUIProps) => {
onClick={async () => {
await props.plugin.call('settings', 'updateCopilotChoice', !ai_switch)
setAI_switch(!ai_switch)
ai_switch ? _paq.push(['trackEvent', 'ai', 'solcoder', 'copilot_enabled']) : _paq.push(['trackEvent', 'ai', 'solcoder', 'copilot_disabled'])
}}
>
<i

Loading…
Cancel
Save