@@ -10,6 +10,7 @@ import { useStartUrl, CONSULT_URL } from '@/components/home/hooks/useStartUrl';
1010import { LangSwitcher } from '@/components/header/LangSwitcher' ;
1111import Image from 'next/image' ;
1212import { localeConfigs } from '@/lib/locales' ;
13+ import { RYBBIT_EVENTS , rybbitClickAttrs } from '@/lib/rybbitEvents' ;
1314
1415interface NavLink {
1516 label : string ;
@@ -176,6 +177,7 @@ export default function Navbar({ links = [], t }: { links?: NavLink[]; t: NavCta
176177 < a
177178 href = { desktopStartUrl }
178179 rel = "noopener noreferrer nofollow"
180+ { ...rybbitClickAttrs ( RYBBIT_EVENTS . cloudServiceClick , 'home_nav_trial' ) }
179181 aria-label = { t . trial }
180182 className = "px-4 py-1.5 rounded-full bg-white border border-hairline-soft text-[12px] font-medium text-ink hover:bg-gray-50 transition-colors"
181183 >
@@ -185,6 +187,7 @@ export default function Navbar({ links = [], t }: { links?: NavLink[]; t: NavCta
185187 href = { CONSULT_URL }
186188 target = "_blank"
187189 rel = "noopener noreferrer nofollow"
190+ { ...rybbitClickAttrs ( RYBBIT_EVENTS . businessConsultClick , 'home_nav_consult' ) }
188191 aria-label = { t . consult }
189192 className = "px-4 py-1.5 rounded-full text-[12px] font-medium text-white bg-btn-dark hover:opacity-90 transition-opacity"
190193 >
@@ -197,6 +200,7 @@ export default function Navbar({ links = [], t }: { links?: NavLink[]; t: NavCta
197200 href = { CONSULT_URL }
198201 target = "_blank"
199202 rel = "noopener noreferrer nofollow"
203+ { ...rybbitClickAttrs ( RYBBIT_EVENTS . businessConsultClick , 'home_nav_mobile_consult' ) }
200204 aria-label = { t . consult }
201205 className = { `px-4 py-1.5 rounded-full text-[12px] font-medium text-white bg-btn-dark transition-opacity duration-300 ${
202206 showMobileCta && ! mobileOpen ? 'opacity-100' : 'opacity-0 pointer-events-none'
@@ -290,6 +294,7 @@ export default function Navbar({ links = [], t }: { links?: NavLink[]; t: NavCta
290294 < a
291295 href = { mobileStartUrl }
292296 rel = "noopener noreferrer nofollow"
297+ { ...rybbitClickAttrs ( RYBBIT_EVENTS . cloudServiceClick , 'home_nav_mobile_trial' ) }
293298 className = "h-10 inline-flex items-center justify-center rounded-full bg-white border border-hairline-soft text-[13px] font-medium text-ink"
294299 onClick = { ( ) => setMobileOpen ( false ) }
295300 >
@@ -299,6 +304,7 @@ export default function Navbar({ links = [], t }: { links?: NavLink[]; t: NavCta
299304 href = { CONSULT_URL }
300305 target = "_blank"
301306 rel = "noopener noreferrer nofollow"
307+ { ...rybbitClickAttrs ( RYBBIT_EVENTS . businessConsultClick , 'home_nav_mobile_menu_consult' ) }
302308 className = "h-10 inline-flex items-center justify-center rounded-full text-[13px] font-medium text-white bg-btn-dark"
303309 onClick = { ( ) => setMobileOpen ( false ) }
304310 >
0 commit comments