We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 312db25 commit 6f560f2Copy full SHA for 6f560f2
web/components/Steps/index.tsx
@@ -29,6 +29,13 @@ export default function Steps(): ReactElement {
29
const [screenName, setScreenName] = useState<string>('');
30
const [exploding, setExploding] = useState<boolean>(false);
31
32
+ useEffect(() => {
33
+ if (typeof window !== 'undefined' && window._paq) {
34
+ window._paq.push(['trackEvent', 'Demo', 'Step', steps[step]]);
35
+ }
36
+ }, [step]);
37
+
38
39
useEffect(() => {
40
const checkExtension = () => {
41
//@ts-ignore
0 commit comments