1. Home
  2. Docs
  3. GA4Admin
  4. Functionalities
  5. Category Changes

Category Changes

The GA4Admin plugin for WordPress offers comprehensive tracking of category-related events, enabling you to monitor and analyze changes made to categories on your website. Categories play a crucial role in organizing content, and understanding how they are created, edited, or deleted can help you manage your content effectively. Below are the key category-related events tracked by the plugin:

Event Name: ga4admin_category_created

  • Trigger: This event is triggered when a new category is created.
  • Event Parameters:
    • ga4admin_action: Same as event name.
    • ga4admin_domain: The domain of the website.
    • userType: The user’s role(s).
    • user_id: The user’s ID.
    • username: The user’s username.
    • category_id: The ID of the created category.
    • category_name: The name of the created category.
    • taxonomy: The taxonomy to which the category belongs (e.g., ‘category’).

Event Name: ga4admin_category_edited

  • Trigger: This event is triggered when an existing category is edited or modified.
  • Event Parameters:
    • ga4admin_action: Same as event name.
    • ga4admin_domain: The domain of the website.
    • userType: The user’s role(s).
    • user_id: The user’s ID.
    • username: The user’s username.
    • category_id: The ID of the edited category.
    • category_name: The name of the edited category.
    • taxonomy: The taxonomy to which the category belongs (e.g., ‘category’).

Event Name: ga4admin_category_deleted

  • Trigger: This event is triggered when a category is deleted.
  • Event Parameters:
    • ga4admin_action: Same as event name.
    • ga4admin_domain: The domain of the website.
    • userType: The user’s role(s).
    • user_id: The user’s ID.
    • username: The user’s username.
    • category_id: The ID of the deleted category.
    • category_name: The name of the deleted category.
    • taxonomy: The taxonomy to which the category belonged (e.g., ‘category’).

Effective tracking of category-related events is essential for maintaining a well-structured and organized content system on your WordPress website. With these events and their associated parameters, you can gain insights into how categories are managed, helping you improve content organization and user experience.

How can we help?