Directory / plugin

SEO Anchor Class Tracker

v1.0.0 · by Ultralink It Solution LLP

Adds unique dynamic CSS classes to front-end links for SEO and analytics tracking without modifying existing classes or markup.

View on WordPress.org

About this plugin

This plugin buffers the fully rendered front-end HTML of your site and appends a unique class to every tag — including links in menus, widgets, headers, footers, and post content, not just the main content area.

Configure everything under Settings > SEO Link Classes:

  • Class prefix
  • Hash length
  • Uniqueness mode: same class per destination URL (recommended for analytics), or a brand-new class for every single link occurrence
  • Skip rules for empty/# /javascript: links
  • An opt-out class you can add to any link or wrapping element

Plugin tags