Built on SQM Views

SQM Tags Clustering: Analytics-Powered Tag Organization

Organize thousands of WordPress tags using flexible graph structures. Leverage SQM Views analytics data to understand which tag groups drive traffic. Perfect for large sites with complex taxonomies.

Powerful Tag Organization

Go beyond flat tag lists with hierarchical, graph-based organization

🌳

Flexible Graph Types

Choose from Tree, Forest, DAG, or General graph structures. Each with customizable constraints for maximum depth, connections, and validation rules.

📊

Analytics Aggregation

Automatically roll up pageview data from tags to clusters using SQM Views integration. Hierarchical bottom-up aggregation with scheduled daily/weekly processing.

🔄

Version Control

Track changes with automatic snapshots. Rollback capability and graph status management (draft/active/archived) for safe experimentation.

🎨

Visual Editor

Cytoscape.js-powered graph editor with drag-and-drop interface (coming soon). Visualize and manage complex tag relationships intuitively.

⚙️

Validation & Constraints

Built-in cycle detection for tree/forest/DAG structures. Configurable limits for connections, depth, and relationship rules.

🛠️

Full API Access

Complete WP-CLI command suite and REST API endpoints. Domain-driven architecture for seamless integration and extension.

Built on the SQM Views Foundation

Tags Clustering leverages SQM Views' analytics data to provide hierarchical insights

🏗️

SQM Views (Free Foundation)

The free, open-source data layer that collects all your pageview and engagement metrics. Install this first to power your analytics ecosystem.

Learn about SQM Views →
🌳

Tags Clustering (This Plugin)

Builds on top of SQM Views to organize tags into hierarchies and automatically aggregate analytics data up through your tag clusters.

Explore features below ↓

The Power of Integration

While Tags Clustering works standalone for tag organization, it truly shines when paired with SQM Views. Together, they give you hierarchical analytics that show which tag groups drive the most engagement.

Choose Your Graph Structure

Different structures for different organizational needs

Tree

Single parent hierarchy with strict parent-child relationships.

  • Each node has max one parent
  • No cycles allowed
  • Perfect for taxonomies
  • Max depth configurable

Forest

Multiple independent trees within one graph structure.

  • Multiple root nodes
  • Separate hierarchies
  • No cross-tree connections
  • Flexible organization

DAG (Directed Acyclic Graph)

Multiple parents allowed, but no circular dependencies.

  • Multiple parent nodes
  • No cycles
  • Complex relationships
  • Cycle detection

General Graph

Unrestricted connections for maximum flexibility.

  • Any connection pattern
  • Cycles allowed
  • Maximum flexibility
  • Custom constraints

Analytics Aggregation

Powered by SQM Views, the free analytics foundation

🏗️

Powered by SQM Views Data

SQM Views collects all your pageview and engagement data. Tags Clustering automatically aggregates this data from individual tags up through your cluster hierarchy. Understand which tag groups drive the most traffic without any manual work.

What Gets Aggregated

  • Total views per cluster
  • Direct views vs child views
  • Time-based metrics
  • Engagement data rollup

Processing Schedule

  • Daily aggregation via cron
  • Weekly comprehensive update
  • Cached results for performance
  • Manual trigger via WP-CLI

Perfect For

Solve complex tag management challenges

📚

Large Content Libraries

Managing 1,000+ tags becomes overwhelming. Create hierarchical organization to group related topics and understand category performance at a glance.

🏢

Enterprise Publishers

Multiple brands, sections, or product lines? Create separate tag forests for each, or use DAGs for cross-category relationships.

🔍

SEO Optimization

Understand which topic clusters drive organic traffic. Aggregate analytics across semantic tag groups to inform content strategy.

📈

Content Strategy

Track performance of content pillars and supporting topics. Identify underperforming clusters and optimize your content mix.

Technical Details

Built with clean architecture and best practices

Database Schema

  • wp_tag_graphs - Graph definitions
  • wp_tag_clusters - Cluster nodes
  • wp_tag_cluster_edges - Relationships
  • wp_tag_cluster_assignments - Tag mappings
  • wp_tag_cluster_analytics_cache - Cached analytics

WP-CLI Commands

  • wp sqm-clustering list
  • wp sqm-clustering create/activate
  • wp sqm-clustering aggregate
  • wp sqm-clustering cron-status
  • wp sqm-clustering delete

DDD Architecture

  • Domain Layer: Entities & Value Objects
  • Application Layer: Services & DTOs
  • Infrastructure: Repositories & Caching
  • Presentation: Admin UI, API, CLI

Development Status

Backend (Repositories, Services, API) 100%
Analytics Integration 100%
WP-CLI Commands 100%
Visual Graph Editor (Cytoscape.js) Coming Soon

What Our Users Say

Trusted by publishers managing large tag libraries

"Tags Clustering transformed how we manage our 10,000+ tags. The hierarchical analytics alone justified the switch. Highly recommended for large content sites."

E

Emma Rodriguez

SEO Manager at E-commerce Platform

"Finally, a solution for organizing tags at scale. The DAG structure lets us create complex relationships without the mess. Game-changer for our content strategy."

J

James Wilson

Content Architect at Publishing Network

"The WP-CLI integration is perfect for our automated workflows. We can programmatically manage tag clusters and track their performance. Excellent DDD architecture."

L

Lisa Chen

Technical Director at Media Group

Frequently Asked Questions

Everything you need to know about Tags Clustering

Do I need SQM Views for Tags Clustering to work?

Tags Clustering works standalone for organizing tags into hierarchies. However, the analytics aggregation features require SQM Views (which is completely free) to provide the pageview data. We highly recommend installing both to get the full benefit of hierarchical analytics.

What's the difference between Tree, Forest, DAG, and General graphs?

Tree allows single parent per tag (strict hierarchy). Forest allows multiple separate trees. DAG (Directed Acyclic Graph) permits multiple parents but no cycles. General graph has no restrictions and allows any connections including cycles.

Can I change graph types after creating a cluster?

Yes, but with validation. You can convert to a less restrictive type (tree → forest → DAG → general) anytime. Converting to a more restrictive type requires the structure to already meet those constraints.

How does analytics aggregation work?

If you have SQM Views installed, Tags Clustering automatically aggregates pageview data from child tags up through the hierarchy. This runs daily/weekly via WordPress Cron and is cached for performance.

Is the visual graph editor available?

The Cytoscape.js visual editor is currently in development (~75% complete). The backend, WP-CLI, and REST API are 100% functional. You can manage everything via admin UI or command line.

Can I create multiple tag graphs?

Yes! You can create unlimited graphs, each with its own type, constraints, and tag assignments. For example, one tree for topics, one DAG for cross-category relationships.

Have more questions?

Contact Support

Ready to Organize Your Tags?

Download SQM Tags Clustering for free and start creating intelligent tag hierarchies today.

Get Started with Tags Clustering

Version 1.0.0 • Free & Open Source • GPLv3 License

Requirements

  • • WordPress 5.0+
  • • PHP 7.4+
  • • MySQL 5.7+
  • • SQM Views (for analytics)

Features

  • • 4 graph types
  • • Analytics aggregation
  • • Version control
  • • WP-CLI & REST API

Coming Soon

  • • Visual graph editor
  • • Drag & drop interface
  • • Enhanced admin UI
  • • PHPUnit test suite