Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit 950b7df

Browse files
committed
WIP
1 parent cce81f7 commit 950b7df

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/pages/groot.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ export default function Groot() {
1616

1717
useEffect(() => {
1818
openPopup();
19+
(window.plausible =
20+
window.plausible ||
21+
function () {
22+
(window.plausible.q = window.plausible.q || []).push(arguments);
23+
})
1924
}, []);
2025

21-
2226
const renderTooltip = (message, props) => {
2327
return (
2428
<Tooltip id="button-tooltip" className={styles.toolTip} {...props}>
@@ -60,6 +64,7 @@ export default function Groot() {
6064
(" ");
6165
}
6266
mootrack("loadForm", "419144d798774876bcfcd1e1f0b6a2ad");
67+
plausible('Signup');
6368
};
6469

6570
return (
@@ -109,7 +114,6 @@ export default function Groot() {
109114
<button
110115
data-mooform-id="419144d7-9877-4876-bcfc-d1e1f0b6a2ad"
111116
className="button button--primary button--lg umami--click--signup-button"
112-
data-analytics='"Signup"'
113117
onClick={openPopup}
114118
>
115119
Keep me up to date

0 commit comments

Comments
 (0)