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