Skip to content
Coding Script or NotebookGoogle ColabAcademy

Internal Link Menu Notebook: Priority Score and Versioned Recommendations

ForInternal linkingContent audits

By Sam Torres· Updated 5 Dec 2026

This Google Colab notebook takes everything the earlier labs produced and turns it into the link menu: a ranked, versioned list of the links worth adding, each with a reason, ready for a person or an automation to act on.

What it helps you do

  • Combine semantic similarity, the target’s traffic potential from Search Console and its link gap into one priority score
  • Set the weights to match your hypothesis. In the lesson, Sam Torres weights a topical clustering project 50% similarity, 30% traffic potential and 20% link gap
  • Bring in the cluster map if you use one
  • Save each run as a new version, so you can track which recommendations went live
  • Export as CSV, JSON or a Google Sheet, depending on where the links go next

Where it is used

Lesson 3.8, the last lab of Module 3. The menu is the input for Module 5, where the free Module 5 scripts turn it into linking rules or write the approved links into WordPress.

It comes with the AI-powered Internal Linking Audit and Automation course, led by Sam Torres. If you want to build the whole pipeline from audit to measured links with her, that is the place to start.

What’s included

  • One priority score from semantic similarity, traffic potential and link gap
  • Weights you set to match your hypothesis
  • A versioned link menu: source, target, anchor, score and rationale per link
  • Exports as CSV, JSON or a Google Sheet
  • The link menu is the input for the free Module 5 scripts