Hooks / nab_{$action_type}_add_hooks_for_tracking

do_action( "nab_{$action_type}_add_hooks_for_tracking", array $action, int $experiment_id, int $goal_index )

Fires for each conversion action in a running experiment.

Description

Use it to add any hooks required by your conversion action. Action called during WordPress’ init action.

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.

Source

File: public/helpers/class-nelio-ab-testing-tracking.php

Changelog

Changelog
VersionDescription
5.0.0Introduced.