fluentcrm-event-tracking
Installation
SKILL.md
FluentCRM: event tracking
Use this skill when a plugin wants to record product usage, LMS actions, purchase milestones, profile events, or any other contact activity into FluentCRM's event timeline and Pro automation conditions.
Guard the feature
Event tracking is core FluentCRM code, but it is disabled by default behind the experimental setting:
use FluentCrm\App\Services\Helper;
if (!function_exists('FluentCrmApi') || !Helper::isExperimentalEnabled('event_tracking')) {
return;
}
FluentCrmApi('event_tracker')->track() returns WP_Error('not_enabled', ...) when the flag is off. Always handle WP_Error.