diff --git a/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx b/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx index 943021b3ae..b8f6c94523 100644 --- a/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx +++ b/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx @@ -98,6 +98,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin { } const modalResult = await this.call('notification', 'modal', modal) if (!modalResult) return + _paq.push(['trackEvent', 'template-selection', 'createWorkspace', item.value]) this.emit('createWorkspaceReducerEvent', workspaceName, item.value, item.opts, false, async (e, data) => { if (e) { const modal: AppModal = { @@ -115,6 +116,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin { } const addToCurrentWorkspace = async (item) => { + _paq.push(['trackEvent', 'template-selection', 'addToCurrentWorkspace', item.value]) this.emit('addTemplateToWorkspaceReducerEvent', item.value, item.opts, false, async (e, data) => { if (e) { const modal: AppModal = {