This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Ahrefs Keyword Rank Change Badge

Social Media Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategorySocial Media Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES This userscript adds rank change visibility to your Ahrefs keyword tracker. It reads keyword ranking data from the page—extracting current rank, previous rank, search volume, and keyword difficulty—and displays a color-coded badge on every keyword row. The badge shows the rank change with an arrow indicator: green with ↑ for improved rank, red with ↓ for declined rank, and gray with → for unchanged rank. The change value is displayed (e.g., "+3", "-2", "0"). A summary panel shows total keywords tracked, average rank, and counts of improved, declined, and unchanged keywords. Detailed metrics show the percentage breakdown, and a trend indicator shows whether overall performance is improving, declining, or stable. Each keyword includes a one-click ↗ button to open the full keyword report. This is invaluable for SEO professionals, content marketers, and digital marketing teams who need to monitor keyword performance, identify ranking opportunities, and track SEO progress over time. WHERE IT RUNS The script runs on all Ahrefs web application pages at *.ahrefs.com/*, with automatic detection of rank tracker pages, keyword position trackers, and any page displaying keyword ranking data. It works across all Ahrefs interfaces by using multiple selector strategies to find keyword rows, current ranks, previous ranks, search volume, and difficulty metrics. The script detects dynamic content loading and re-applies rank change badges when the keyword list updates. It runs across the entire Ahrefs domain, ensuring coverage whether you're viewing your main rank tracker dashboard, a specific project's keywords, or a filtered keyword view. HOW TO USE Install the script via the BotGentz extension and navigate to any Ahrefs rank tracker or keyword position page. Rank change badges will appear automatically on every keyword row. Each badge shows an arrow and the rank change value (e.g., ↑+3, ↓-2, →0) with a color-coded background. The summary panel appears above your keyword list showing total keywords, average rank, and counts of improved, declined, and unchanged keywords. Detailed metrics show the percentage distribution, and a trend indicator shows whether overall performance is improving, declining, or stable. Click the ↗ button next to any keyword to open its full report in a new tab. Use the panel controls to toggle badges on or off, show or hide the summary panel, enable or disable detailed rank metrics, or show or hide the trend indicator. The "Refresh" button manually reapplies all badges if the page updates. THE MECHANISM - RANK EXTRACTION, CHANGE CALCULATION, AND PERFORMANCE SUMMARIZATION This script identifies keyword data by scanning each row using a cascading selector strategy. It extracts the keyword from keyword elements, current rank from rank or position elements, and previous rank from previous rank elements. When previous rank is not directly available, the script attempts to infer it from rank change indicators. The rank change is calculated as (previous rank - current rank), where positive values indicate improvement (the rank number decreased). The script tracks metrics including improved count (rankChange > 0), declined count (rankChange < 0), and unchanged count (rankChange === 0). Average rank is calculated across all keywords with valid current ranks. The trend indicator is determined by comparing the improved count against the declined count. The badge is created as a DOM element with inline styles and inserted into the keyword name cell. The summary panel aggregates data and calculates percentage distributions. THE PANEL The control panel appears as a floating, draggable element that you can position anywhere on the Ahrefs page. Drag by the header to reposition it, and the position is saved per site using GM_setValue so it stays where you left it across sessions. Release the panel near any edge and it snaps into place, keeping your workspace organized. Click the panel header to collapse it into a small bubble showing only the chart emoji (📊), minimizing distraction while keeping controls accessible. Drag from the bubble to restore the full panel. The panel automatically resizes to fit its content and includes all setting toggles, action buttons, and a legend. Press the Escape key to quickly collapse the panel to its minimized state. The panel remains visible across page navigation within Ahrefs, with rank change badges updating automatically as you move between projects and views. PLEASE NOTE This script requires the free BotGentz extension to function. It is designed for Ahrefs users who need to monitor keyword rank changes and SEO performance. The script reads only visible keyword data from the DOM—it does not access Ahrefs' API, your account credentials, or any sensitive information. All settings (badge visibility, summary toggle, detailed metrics toggle, trend toggle, and panel position) are stored locally using GM_setValue and never leave your browser. The script does not modify your Ahrefs data—it only reads and visualizes visible ranking information. Rank change calculations depend on the availability of both current and previous rank data; if previous rank is not available, the keyword may be categorized as unchanged. If Ahrefs updates its website structure, the script may need to be updated to match new selectors. The trend indicator is based on a simple improved vs declined comparison and should be used as a general guide, not a definitive performance metric.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.