%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' ); ?>
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 ❤️
| Title | URL | Actions |
|---|---|---|
| No tracked pages found. Please track a new page or clear your filter | ||
| View Insights | Stop Tracking | ||