Tracks clicks to external affiliate links'; echo '
This is an experimental feature. A class is automatically added to all external links when the posts are created. When a user clicks on such a link then their activity is recorded into a database.
'; if (isset($_POST['submitTracking'])) { if (isset($_POST['ah_tracking_chq'])) { $var = TRUE; } else { $var = NULL; } $this->db_update_options($var); echo self::$success->success_message('You have changed the tracking settings'); } // end if echo $this->turn_off_tracking(); echo $this->create_table(); } /** * Tracking_Controller::turn_off_tracking() * * Form for turning off tracking * * @return string */ protected function turn_off_tracking() { $option = get_option('ah_tracking'); $form = '