feat: 在 Facebook 类中添加 Lead 事件处理逻辑

This commit is contained in:
lingling 2025-03-09 12:19:42 +08:00
parent 234bc63dd0
commit 4d353a2155
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ class Facebook
match ($type) {
1 => self::PageView($access_token, $pixel_id, $client_ip),
2 => self::CompleteRegistration($access_token, $pixel_id, $client_ip),
3 => self::Lead($access_token, $pixel_id, $client_ip),
default => error_log("Invalid event type: " . $type),
};
}