Browse Source

site: 📝 Add GA event for opening in stackblitz

pull/19760/head
afc163 5 years ago
parent
commit
5ecd32a83f
  1. 1
      site/theme/template/Content/Demo.jsx

1
site/theme/template/Content/Demo.jsx

@ -293,6 +293,7 @@ ${sourceCode.replace('mountNode', "document.getElementById('container')")}
<span
className="code-box-code-action"
onClick={() => {
this.track({ type: 'stackblitz', demo: meta.id });
stackblitzSdk.openProject(stackblitzPrefillConfig);
}}
>

Loading…
Cancel
Save