' . esc_html__( 'Enable marker click tracking using Clarity custom events.', 'wp-google-map-plugin' ) . '
'; $form_fields = [ [ 'type' => 'checkbox', 'name' => 'clarity_enable_marker_click', 'label' => __( 'Enable Marker Click Tracking', 'wp-google-map-plugin' ), 'desc' => __( 'Send a Clarity custom event on marker click.', 'wp-google-map-plugin' ), ], ]; $form = new WPGMP_Integration_Form( 'clarity', $form_fields ); $form->render_form(); echo '' . esc_html__( 'This integration sends "MarkerClick" events to Microsoft Clarity. You must first install the Clarity tracking script in your site header.', 'wp-google-map-plugin' ) . '
'; echo 'Clarity Event Name: MarkerClick