Create a free account to start optimising your website, no credit card required.
Get Started for Free
VWO Dashboard?
Visit our knowledge base to learn how to use the VWO dashboard.
Go to Dashboard
'vwo_clicks',
'label' => 'No. of Heatmap Clicks',
'type' => 'number',
'tooltip' => 'Set the number of heatmap clicks to record',
'min' => 3,
'default' => 10,
]);
vwo_clhf_render_field([
'id' => 'settings_tolerance',
'label' => 'Settings Timeout',
'type' => 'number',
'tooltip' => 'Set the timeout for settings in milliseconds',
'default' => 2000,
'class' => 'async-option',
'suffix' => 'ms',
]);
vwo_clhf_render_field([
'id' => 'library_tolerance',
'label' => 'Library Timeout',
'type' => 'number',
'tooltip' => 'Set the timeout for library in milliseconds',
'default' => 2500,
'class' => 'async-option',
'suffix' => 'ms',
]);
vwo_clhf_render_field([
'id' => 'use_existing_jquery',
'label' => 'Use Existing jQuery',
'type' => 'checkbox',
'tooltip' => 'Use the existing jQuery library on your site',
'class' => 'async-option',
]);
vwo_clhf_render_field([
'id' => 'ignore_js',
'label' => 'Skip Deferred Execution',
'type' => 'checkbox',
'tooltip' => 'Skip deferred execution of the VWO script',
]);
?>
'track_product_view',
'label' => 'Product Viewed',
'description' => 'This event logs an instance where a customer views a product details page.',
'readmore_link' => 'https://help.vwo.com/hc/en-us/articles/360020745993-Integrating-VWO-With-WordPress'
]);
vwo_clhf_render_woocommerce_event_tracking([
'id' => 'track_add_to_cart',
'label' => 'Add To Cart',
'description' => 'This event logs an instance where a customer adds a product to their cart.',
'readmore_link' => 'https://help.vwo.com/hc/en-us/articles/360020745993-Integrating-VWO-With-WordPress'
]);
vwo_clhf_render_woocommerce_event_tracking([
'id' => 'track_remove_from_cart',
'label' => 'Product Removed From Cart',
'description' => 'This event logs an instance where a customer removes a product from their cart.',
'readmore_link' => 'https://help.vwo.com/hc/en-us/articles/360020745993-Integrating-VWO-With-WordPress'
]);
// vwo_clhf_render_woocommerce_event_tracking([
// 'id' => 'track_checkout',
// 'label' => 'Checkout Page',
// 'description' => 'This event logs an instance where a customer visits the checkout page.',
// 'readmore_link' => 'https://help.vwo.com/hc/en-us/articles/360020745993-Integrating-VWO-With-WordPress'
// ]);
vwo_clhf_render_woocommerce_event_tracking([
'id' => 'track_purchase',
'label' => 'Purchase Order',
'description' => 'This event logs an instance where a customer completes a purchase.',
'readmore_link' => 'https://help.vwo.com/hc/en-us/articles/360020745993-Integrating-VWO-With-WordPress'
]);
?>
';
$label = '
';
switch ($field['type']) {
case 'text':
case 'number':
echo $label;
echo '
';
if (isset($field['suffix'])) echo ' ' . esc_html($field['suffix']);
break;
case 'radio':
echo $label;
foreach ($field['options'] as $options) {
echo '
';
echo ' ';
echo '
';
echo '
' . esc_html($options['sublabel']) . '
';
echo '
';
}
break;
case 'checkbox':
echo '
';
echo '';
echo '';
echo '';
echo '
';
break;
}
if (isset($field['tooltip'])) {
echo '
' . esc_html($field['tooltip']) . '
';
}
echo '