Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_{$experiment_type}_should_track_heatmap

apply_filters( “nab_{$experiment_type}_should_track_heatmap”, boolean $should_track_heatmap, array $alternative, array $control, int $experiment_id, string $alternative_id )

Whether the given experiment should track heatmaps in the current request.

Parameters

$should_track_heatmap boolean

(Required) whether the given experiment should track heatmaps in the current request. Default: false.

$alternative array

(Required) the current alternative.

$control array

(Required) original version.

$experiment_id int

(Required) id of the experiment.

$alternative_id string

(Required) id of the current alternative.