WooCommerce Code Reference

WC_Admin_Setup_Wizard_Tracking
in package

This class adds actions to track usage of the WooCommerce Onboarding Wizard.

Table of Contents

$steps  : array<string|int, mixed>
Steps for the setup wizard
add_footer_scripts()  : mixed
Add footer scripts to OBW via woocommerce_setup_footer
add_step_save_events()  : mixed
Track various events when a step is saved.
dequeue_non_allowed_scripts()  : mixed
Dequeue unwanted scripts from OBW footer.
get_current_step()  : string
Get the name of the current step.
init()  : mixed
Init tracking.
set_obw_steps()  : mixed
Set the OBW steps inside this class instance.
track_jetpack_activate()  : mixed
Tracks when Jetpack is activated through the OBW.
track_next_steps()  : mixed
Tracks when last next_steps screen is viewed in the OBW.
track_payments()  : mixed
Track payment gateways selected.
track_ready_next_steps()  : mixed
Track the marketing form on submit.
track_recommended()  : mixed
Track recommended plugins selected for install.
track_shipping()  : mixed
Track shipping units and whether or not labels are set.
track_skip_step()  : mixed
Track skipped steps.
track_start()  : mixed
Track when tracking is opted into and OBW has started.
track_store_setup()  : mixed
Track store setup and store properties on save.

Properties

Methods

track_start()

Track when tracking is opted into and OBW has started.

public track_start(string $option, string $value) : mixed
Parameters
$option : string

Option name.

$value : string

Option value.

Tags
deprecated
4.6.0
Return values
mixed