smart-tags

Add intelligent hierarchical tagging and categorization to your Convex database with built-in analytics and smart organization features.

Installation

npm install convex-smart-tags

About smart-tags

A Convex component for smart tagging and categorization with hierarchy and analytics

Benefits

Use cases

how to add hierarchical tags to Convex database

The convex-smart-tags component provides built-in functions for creating parent-child tag relationships in your Convex schema. It handles the database structure and queries needed for nested tag hierarchies, letting you organize content with multi-level categorization.

Convex component for content tagging and categorization

This component adds comprehensive tagging capabilities to Convex applications with functions for creating, managing, and querying tags. It includes automatic tag suggestions, usage tracking, and hierarchical organization features that work directly with your existing Convex mutations and queries.

tag analytics for Convex database

The smart-tags component includes built-in analytics functions that track tag usage frequency, trending tags, and categorization patterns. You can query these metrics directly in your Convex functions without implementing custom analytics logic.

Frequently asked questions

How does convex-smart-tags handle tag hierarchies in the database?

The convex-smart-tags component creates parent-child relationships using Convex's document references, allowing unlimited nesting levels. It automatically maintains referential integrity and provides optimized queries for traversing tag trees up or down the hierarchy.

Can I migrate existing tags to use this component?

Yes, convex-smart-tags includes migration utilities that can import existing tag data from simple string arrays or other tagging systems. The component provides functions to batch-convert existing tags while preserving relationships and metadata.

What analytics data does this component track?

The convex-smart-tags component automatically tracks tag usage frequency, creation dates, trending patterns, and content association counts. All analytics data is stored in your Convex database and accessible through built-in query functions.

How do I query content by tags with this component?

The convex-smart-tags component provides optimized query functions that work with Convex's indexing system. You can filter content by single tags, tag combinations, or entire tag hierarchies using the provided query helpers that handle the database operations efficiently.

Links