Merge pull request #32933 from woocommerce/add/task-view-tracks-experimental-products
Add task_view tracks prop for experimental products
This commit is contained in:
commit
7e722e0698
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: Add
|
||||||
|
|
||||||
|
Add task_view tracks prop for experimental products #32933
|
|
@ -20,6 +20,8 @@ export const trackView = ( taskId ) => {
|
||||||
|
|
||||||
recordEvent( 'task_view', {
|
recordEvent( 'task_view', {
|
||||||
task_name: taskId,
|
task_name: taskId,
|
||||||
|
experimental_products:
|
||||||
|
window.wcAdminFeatures[ 'experimental-products-task' ],
|
||||||
wcs_installed: installedPlugins.includes( 'woocommerce-services' ),
|
wcs_installed: installedPlugins.includes( 'woocommerce-services' ),
|
||||||
wcs_active: activePlugins.includes( 'woocommerce-services' ),
|
wcs_active: activePlugins.includes( 'woocommerce-services' ),
|
||||||
jetpack_installed: installedPlugins.includes( 'jetpack' ),
|
jetpack_installed: installedPlugins.includes( 'jetpack' ),
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: Add
|
||||||
|
|
||||||
|
Add task_view tracks prop for experimental products #32933
|
Loading…
Reference in New Issue