File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/app/(proper_react)/(redesign)/(public) Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,11 @@ export const FreeScanCta = (
2828 const [ cookies ] = useCookies ( [ "attributionsFirstTouch" ] ) ;
2929 const metricsFlowContext = useContext ( AccountsMetricsFlowContext ) ;
3030
31- const telemetryButtonId = `${ props . eventId . cta } ${ props . experimentData [ "landing-page-free-scan-cta" ] . enabled ? `-${ props . experimentData [ "landing-page-free-scan-cta" ] . variant } ` : "" } ` ;
31+ const freeScanVariantId = props . experimentData [ "landing-page-free-scan-cta" ]
32+ . enabled
33+ ? `-${ props . experimentData [ "landing-page-free-scan-cta" ] . variant } `
34+ : "" ;
35+ const telemetryButtonId = `${ props . eventId . cta } ${ freeScanVariantId } ` ;
3236 const refViewTelemetry = useViewTelemetry ( "ctaButton" , {
3337 button_id : telemetryButtonId ,
3438 } ) ;
You can’t perform that action at this time.
0 commit comments