'html-form',
'label' => 'HTML Forms',
'itemName' => __('On submit of form'),
'help' => __('If the visitor submits this form it will add a point to the tested variant.')
]
);
return $types;
}
public function catchFormSubmits($submission) {
$formId = $submission->form_id;
$abTestTracking = new ABTestTracking();
$abTestTracking->trackPostId($formId, 'html-form');
}
}