@@ -369,6 +369,11 @@ const HomePage = ({
369
369
variant = "outline"
370
370
isSecondary
371
371
className = "max-sm:self-start"
372
+ customEventOptions = { {
373
+ eventCategory : "Homepage" ,
374
+ eventAction : "learn" ,
375
+ eventName : "learn" ,
376
+ } }
372
377
>
373
378
{ t ( "page-index:page-index-popular-topics-action" ) } { " " }
374
379
< ChevronNext />
@@ -396,7 +401,16 @@ const HomePage = ({
396
401
{ t ( "page-index:page-index-builders-description" ) }
397
402
</ p >
398
403
< div className = "flex flex-wrap gap-6 py-8" >
399
- < ButtonLink href = "/developers/" size = "lg" className = "w-fit" >
404
+ < ButtonLink
405
+ href = "/developers/"
406
+ size = "lg"
407
+ className = "w-fit"
408
+ customEventOptions = { {
409
+ eventCategory : "Homepage" ,
410
+ eventAction : "builders" ,
411
+ eventName : "developers" ,
412
+ } }
413
+ >
400
414
{ t ( "page-index:page-index-builders-action-primary" ) } { " " }
401
415
< ChevronNext />
402
416
</ ButtonLink >
@@ -406,6 +420,11 @@ const HomePage = ({
406
420
variant = "outline"
407
421
isSecondary
408
422
className = "w-fit"
423
+ customEventOptions = { {
424
+ eventCategory : "Homepage" ,
425
+ eventAction : "builders" ,
426
+ eventName : "dev docs" ,
427
+ } }
409
428
>
410
429
{ t ( "page-index:page-index-builders-action-secondary" ) }
411
430
</ ButtonLink >
@@ -528,7 +547,15 @@ const HomePage = ({
528
547
< p > { t ( "page-index:page-index-community-description-3" ) } </ p >
529
548
</ div >
530
549
< div className = "flex flex-wrap gap-3 py-8" >
531
- < ButtonLink href = "/community/" size = "lg" >
550
+ < ButtonLink
551
+ href = "/community/"
552
+ size = "lg"
553
+ customEventOptions = { {
554
+ eventCategory : "Homepage" ,
555
+ eventAction : "community" ,
556
+ eventName : "community" ,
557
+ } }
558
+ >
532
559
{ t ( "page-index:page-index-community-action" ) } < ChevronNext />
533
560
</ ButtonLink >
534
561
< div className = "flex gap-3" >
@@ -538,6 +565,11 @@ const HomePage = ({
538
565
variant = "outline"
539
566
isSecondary
540
567
hideArrow
568
+ customEventOptions = { {
569
+ eventCategory : "Homepage" ,
570
+ eventAction : "community" ,
571
+ eventName : "discord" ,
572
+ } }
541
573
>
542
574
< FaDiscord />
543
575
</ ButtonLink >
@@ -547,6 +579,11 @@ const HomePage = ({
547
579
variant = "outline"
548
580
isSecondary
549
581
hideArrow
582
+ customEventOptions = { {
583
+ eventCategory : "Homepage" ,
584
+ eventAction : "community" ,
585
+ eventName : "github" ,
586
+ } }
550
587
>
551
588
< FaGithub />
552
589
</ ButtonLink >
@@ -711,6 +748,11 @@ const HomePage = ({
711
748
className = { cn (
712
749
idx === 0 && "col-span-1 sm:col-span-2 md:col-span-1"
713
750
) }
751
+ customEventOptions = { {
752
+ eventCategory : "Homepage" ,
753
+ eventAction : "posts" ,
754
+ eventName : title ,
755
+ } }
714
756
>
715
757
< CardBanner >
716
758
{ imageUrl ? (
@@ -748,7 +790,16 @@ const HomePage = ({
748
790
</ div >
749
791
</ div >
750
792
< div className = "flex justify-start py-8" >
751
- < ButtonLink href = "/community/events/" size = "lg" className = "mx-auto" >
793
+ < ButtonLink
794
+ href = "/community/events/"
795
+ size = "lg"
796
+ className = "mx-auto"
797
+ customEventOptions = { {
798
+ eventCategory : "Homepage" ,
799
+ eventAction : "events" ,
800
+ eventName : "community events" ,
801
+ } }
802
+ >
752
803
{ t ( "page-index:page-index-events-action" ) } < ChevronNext />
753
804
</ ButtonLink >
754
805
</ div >
0 commit comments