do_action( “nab_{$action_type}_add_hooks_for_tracking”, array $action , int $experiment_id , int $goal_index , Goal $goal )
Fires for each conversion action in a running experiment.
Parameters
- $action array
(Required) properties of the action.
- $experiment_id int
(Required) ID of the experiment that contains this action.
- $goal_index int
(Required) index (in the goals array of an experiment) of the goal that contains this action.
- $goal Goal
(Required) the goal.