WooCommerce Code Reference

WC_Extensions_Tracking
in package

This class adds actions to track usage of the WooCommerce Extensions page.

Table of Contents

init()  : mixed
Init tracking.
track_addon_install()  : mixed
Send a Tracks event when addon is installed via the Extensions page.
track_extensions_page()  : mixed
Send a Tracks event when an Extensions page is viewed.
track_helper_connection_cancelled()  : mixed
Send a Tracks even when a Helper connection process is cancelled.
track_helper_connection_complete()  : mixed
Send a Tracks even when a Helper connection process completed successfully.
track_helper_connection_start()  : mixed
Send a Tracks even when a Helper connection process is initiated.
track_helper_disconnected()  : mixed
Send a Tracks even when a Helper has been disconnected.
track_helper_subscriptions_refresh()  : mixed
Send a Tracks even when Helper subscriptions are refreshed.

Methods

track_addon_install()

Send a Tracks event when addon is installed via the Extensions page.

public track_addon_install(string $addon_id, string $section) : mixed
Parameters
$addon_id : string

Addon slug.

$section : string

Extensions tab.

Return values
mixed