File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import titleStyles from '../styles/Title.module.css';
18
18
import { classNames } from '../utils/classNames' ;
19
19
import Prism from 'prismjs' ;
20
20
import LogoSection from '../components/LogoSection/LogoSection' ;
21
- import { PLAUSIBLE_BOOK_A_DEMO_CTA_PRESSED , PLAUSIBLE_INSTALL_DOCS_CTA_LOCATION_TITLE_CARD } from '../utils/plausible' ;
21
+ import { PLAUSIBLE_BOOK_A_DEMO_CTA_PRESSED , PLAUSIBLE_COPIED_PIP_INSTALL_MITOSHEET , PLAUSIBLE_INSTALL_DOCS_CTA_LOCATION_TITLE_CARD } from '../utils/plausible' ;
22
22
import { MITO_GITHUB_LINK } from '../components/GithubButton/GithubButton' ;
23
23
import CaseStudies from '../components/CaseStudyCard/CaseStudies' ;
24
24
@@ -167,7 +167,7 @@ const Home: NextPage = () => {
167
167
</ p >
168
168
< p className = 'only-on-desktop-inline-block' >
169
169
Get started with Mito in seconds. It's easy as: < br > </ br > < br > </ br >
170
- < span className = 'code-background' onClick = { async ( ) => {
170
+ < span className = { classNames ( PLAUSIBLE_COPIED_PIP_INSTALL_MITOSHEET , 'code-background' ) } onClick = { async ( ) => {
171
171
// Copy to clickboard on click
172
172
await navigator . clipboard . writeText ( 'pip install mitosheet' ) ;
173
173
setCopied ( true ) ;
Original file line number Diff line number Diff line change @@ -21,4 +21,7 @@ export const PLAUSIBLE_COPIED_CODE_NON_MITO_EXPORTED_FUNCTION = 'plausible-event
21
21
22
22
// The user clicked a book a demo CTA
23
23
export const PLAUSIBLE_BOOK_A_DEMO_CTA_PRESSED = 'plausible-event-name=book_a_demo_cta_pressed+location_title_card'
24
- export const PLAUSIBLE_BOOK_A_DEMO_CTA_PRESSED_PLANS_PAGE = 'plausible-event-name=book_a_demo_cta_pressed+location_plans_page'
24
+ export const PLAUSIBLE_BOOK_A_DEMO_CTA_PRESSED_PLANS_PAGE = 'plausible-event-name=book_a_demo_cta_pressed+location_plans_page'
25
+
26
+ // The user copies the pip install mitosheet command from the homepage
27
+ export const PLAUSIBLE_COPIED_PIP_INSTALL_MITOSHEET = 'plausible-event-name=copied_pip_install_mitosheet+location_homepage'
You can’t perform that action at this time.
0 commit comments