WC_Settings_Tracking::track_settings_page_view()
Send a Tracks event for WooCommerce settings page views.
Method of the class: WC_Settings_Tracking{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Settings_Tracking = new WC_Settings_Tracking(); $WC_Settings_Tracking->track_settings_page_view();
WC_Settings_Tracking::track_settings_page_view() WC Settings Tracking::track settings page view code WC 7.7.0
public function track_settings_page_view() { global $current_tab, $current_section; $properties = array( 'tab' => $current_tab, 'section' => empty( $current_section ) ? null : $current_section, ); WC_Tracks::record_event( 'settings_view', $properties ); }