{"id":40639840,"url":"https://github.com/verygoodplugins/fluent-crm-events","last_synced_at":"2026-01-21T08:02:03.752Z","repository":{"id":207797895,"uuid":"720126025","full_name":"verygoodplugins/fluent-crm-events","owner":"verygoodplugins","description":"Enables Events / Activities for FluentCRM","archived":false,"fork":false,"pushed_at":"2023-12-13T16:32:33.000Z","size":20,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-13T10:37:30.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/verygoodplugins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-17T16:22:21.000Z","updated_at":"2025-01-06T13:45:46.000Z","dependencies_parsed_at":"2023-11-17T17:46:12.381Z","dependency_job_id":null,"html_url":"https://github.com/verygoodplugins/fluent-crm-events","commit_stats":null,"previous_names":["verygoodplugins/fluent-crm-events"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/verygoodplugins/fluent-crm-events","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verygoodplugins%2Ffluent-crm-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verygoodplugins%2Ffluent-crm-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verygoodplugins%2Ffluent-crm-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verygoodplugins%2Ffluent-crm-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/verygoodplugins","download_url":"https://codeload.github.com/verygoodplugins/fluent-crm-events/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verygoodplugins%2Ffluent-crm-events/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28629922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-21T08:02:01.827Z","updated_at":"2026-01-21T08:02:03.744Z","avatar_url":"https://github.com/verygoodplugins.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FluentCRM Events\n\nThis is a [FluentCRM](https://wpfusion.com/go/fluentcrm) module which adds an activity / events feed to the contact sidebar, similar to ActiveCampaign or Bento.\n\nIt's designed to make FluentCRM compatible with WP Fusion's [Event Tracking Addon](https://wpfusion.com/documentation/event-tracking/event-tracking-overview/).\n\n![image](https://github.com/verygoodplugins/fluent-crm-events/assets/13076544/678ba9c7-ee5f-4e20-af49-10d55289f429)\n\n\n## Creating events\n\nEvents can be created via PHP or via the REST API.\n\n#### Creating events via PHP\n\nCall the `fcrm_events_add_event()` function with the following parameters:\n\n* `$subscriber_email_or_id`: The email address or contact ID of the subscriber you'd like to create an event for.\n* `$event_type`: The event type (controls the icon displayed with the event). Defaults to `wp_fusion`.\n* `$event_title`: A text description of the event.\n* `$event_value`: (optional) An associative array containing any number of event properties and values.\n* `$timestamp`: (optional) The time the event occurred.\n\nFor example to track course progress in LearnDash:\n\n```php\nfunction track_progress( $data ) {\n\n\t$values = array(\n\t\t'Course Title' =\u003e get_the_title( $data['course']-\u003eID ),\n\t\t'Last Step'    =\u003e get_the_title( $data['progress']['last_id'] ),\n\t);\n\n\t$user = wp_get_current_user();\n\n\tfcrm_events_add_event( $user-\u003euser_email, 'course_progress', 'Course Progressed', $values );\n\n}\n\nadd_action( 'learndash_course_completed', 'track_progress' );\nadd_action( 'learndash_lesson_completed', 'track_progress' );\nadd_action( 'learndash_topic_completed', 'track_progress' );\n```\n\n#### Creating events via the REST API\n\nEvents can be POSTed to `/wp-json/fluent-crm/v2/events`. The body should be a JSON-encoded object, like\n\n```json\n{\n  \"email\": \"subscriber@verygoodplugins.com\",\n  \"title\": \"Quiz Completed\",\n  \"type\": \"wp_fusion\",\n  \"value\": {\n    \"grade\": \"1\",\n    \"percentage\": \"85\"\n  }\n}\n\n```\n\n## Wish list\n\n- [ ] Use events as triggers and conditions in automations\n\n--------------------\n\n## Changelog\n\n### 1.0.1 on December 13th, 2023\n- Tracked events will now fire a `fluent_crm/track_activity_by_subscriber` action so that the subscriber's Last Activity is updated\n\n### 1.0.0 on November 17th, 2023\n\n- Initial release\n\n--------------------\n\n## Installation\n\n1. Download the [latest tagged release](https://github.com/verygoodplugins/fluent-crm-events/tags).\n\n2. Navigate to Plugins » Add New in the WordPress admin and upload the file.\n\n3. Activate the plugin.\n\n4. Create an event either via PHP, the REST API, or using the [WP Fusion Event Tracking Addon](https://wpfusion.com/documentation/event-tracking/event-tracking-overview/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverygoodplugins%2Ffluent-crm-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverygoodplugins%2Ffluent-crm-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverygoodplugins%2Ffluent-crm-events/lists"}