'mc4wp-form', 'label' => 'Mailchimp for WordPress', 'itemName' => __('On signup'), 'help' => __('If the visitor signs up for your newsletter it will add a point to the tested variant.') ] ); return $types; } public function catchFormSubmits($form) { $formId = $form->ID; $abTestTracking = new ABTestTracking(); $abTestTracking->trackPostId($formId, 'mc4wp-form'); } }