%s', esc_url( HEROFRAME_ADMIN_PATH ) , __( 'Settings', 'affiliate-click-tracker-by-heroframe' ) ); $links['heroframe_docs'] = sprintf( '%s', esc_url( 'https://heroframe.ai/heroframe-ai-documentation/' ) , __( 'Docs', 'affiliate-click-tracker-by-heroframe' ) ); return $links; } add_action( 'plugin_action_links_' . HEROFRAME_PLUGIN_BASE, 'heroframe_add_plugin_action_link', 20 ); // include admin functions file function heroframe_admin_menu() { add_menu_page( __( 'Heroframe Settings', 'affiliate-click-tracker-by-heroframe' ), __( 'Heroframe', 'affiliate-click-tracker-by-heroframe' ), 'manage_options', HEROFRAME_ADMIN_PAGE_SLUG, function (){ require( plugin_dir_path( __FILE__ ) . 'admin-consts.php' ); heroframe_admin_page_contents($heroframe_keys_map, $heroframe_defaults); }, 'data:image/svg+xml;base64,' . base64_encode(''), 3 ); } add_action( 'admin_menu', 'heroframe_admin_menu' ); // This function generates the admin page function heroframe_admin_page_contents($heroframe_keys_map, $heroframe_defaults) { // check user capabilities if ( ! current_user_can( 'manage_options' ) ) { return; } // very important, this file includes all the rest of the files require_once( plugin_dir_path( __FILE__ ) . 'admin-include.php' ); ?>

Website tracking and analysis tool for professional affiliate marketers
'); ?>

Tracking Settings


/>

Want to know which of your affiliate links are not being clicked or which link is converting the most? Enable Heroframe's affiliate tracking to base your affiliate marketing decisions on real data. Do more of what works, do less of what fails!
We recommend you track your most popular pages. Track your first page for free forever ❤️


$page_url) { // get the page title $page_title = get_the_title($page_id); // if the page title is empty, use the page url if ($page_title == '') { $page_title = $page_url; } $query_string_title_filter = ''; if (isset($_POST['nonce']) && !wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['nonce'])), 'hero_filter_button_clicked') && isset($_POST['s'])) { $query_string_title_filter = sanitize_text_field($_POST['s']); } if (isset($query_string_title_filter) && $query_string_title_filter != '') { if (strpos(strtolower($page_title), strtolower($query_string_title_filter)) === false) { continue; } } $displayed_pages[$page_id] = array( "title" => $page_title, "url" => $page_url ); } if (count($displayed_pages) == 0) { ?> $page_object) { $page_title = $page_object['title']; $page_url = urldecode($page_object['url']); ?>
Title URL Actions
No tracked pages found. Please track a new page or clear your filter
View Insights | Stop Tracking

Plugin Activation

Activation Status:

Sign up for a free Heroframe account and paste the following keys below to start using the plugin.