Skip to content

Commit

Permalink
feat: add tracking classes to homepage (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
sragabor authored Jan 12, 2024
1 parent 9512bb9 commit 218b62a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const IndexPage = () => {
image={"graph-scale.png"}
buttonPrimaryTitle={"Learn Celestia"}
buttonPrimaryUrl={"/what-is-celestia/"}
buttonPrimaryClass={"plausible-event-name=Learn_Celestia_Button-Homepage--Access_abundance_section"}
/>
<TwoColumnH2
direction={"rtl"}
Expand All @@ -68,8 +69,10 @@ const IndexPage = () => {
image={"graph-ecosystem.png"}
buttonPrimaryTitle={"Build modular"}
buttonPrimaryUrl={"/build/"}
buttonPrimaryClass={"plausible-event-name=Build_Modular_Button-Homepage--Build_whatever_section"}
buttonSecondaryTitle={"Deploy"}
buttonSecondaryUrl={"/build#deploy"}
buttonSecondaryClass={"plausible-event-name=Deploy_Button-Homepage--Build_whatever_section"}
/>

<section id={`${heroData.buttons[1]?.url.replace(/\s+/g, "-").toLowerCase()}`} className='explore-celestia'>
Expand Down

0 comments on commit 218b62a

Please sign in to comment.