diff --git a/packages/site/src/site.tsx b/packages/site/src/site.tsx index f23e2cc4a..bc0867d10 100644 --- a/packages/site/src/site.tsx +++ b/packages/site/src/site.tsx @@ -147,7 +147,15 @@ const Page: React.StatelessComponent = (): JSX.Element => { target="_blank" rel="noopener" > - + + ReactGA.event({ + category: 'interest', + action: 'Learn how to prototype with code components' + }) + } + > Learn how to prototype with code components @@ -172,6 +180,12 @@ const Page: React.StatelessComponent = (): JSX.Element => { style={{ textDecoration: 'none' }} target="_blank" rel="noopener" + onClick={() => + ReactGA.event({ + category: 'interest', + action: 'Learn how to integrate your designs' + }) + } > Learn how to integrate your designs @@ -195,6 +209,12 @@ const Page: React.StatelessComponent = (): JSX.Element => { style={{ textDecoration: 'none' }} target="_blank" rel="noopener" + onClick={() => + ReactGA.event({ + category: 'interest', + action: 'Learn how to work with interactions' + }) + } > Learn how to work with interactions @@ -207,7 +227,15 @@ const Page: React.StatelessComponent = (): JSX.Element => { image="https://media.meetalva.io/background.jpg" headline="Our mission is to enable designers and engineers to build better products together. Without friction." > -
+
+ ReactGA.event({ + category: 'interest', + action: 'Watch video' + }) + } + >