立即开始
PostHog Tools

Posthog Capture Event

通过 Aident Loadout 使用 PostHog Tools 的 Posthog Capture Event。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Capture (ingest) a single analytics event into PostHog using the public ingestion API and a project API key. Use when you need to send custom events like 'lesson_started', 'quiz_completed', or any user behavior tracking. This bypasses the private /api/* endpoints and uses PostHo…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • eventstring
    必填
    Name of the event to capture (e.g., 'lesson_started', 'quiz_completed', 'button_clicked')
  • api_keystring
    必填
    Project API Key (write-only ingestion key). This is different from your personal API key and is safe to use in public contexts.
  • timestampstring
    ISO 8601 timestamp indicating when the event occurred (e.g., '2024-05-22T17:09:29.220Z'). If not provided, PostHog uses the current server time.
  • propertiesobject
    Optional event properties containing arbitrary metadata about the event (e.g., {'lesson_id': '42', 'score': 95})
  • distinct_idstring
    必填
    Unique identifier for the user or entity. Commonly a UUID or user ID (e.g., '018daf23-89b3-7cf8-a4f1-94064c96df90' or 'user_123')
  • ingest_hoststring
    PostHog ingestion host. Use 'https://us.i.posthog.com' for US Cloud, 'https://eu.i.posthog.com' for EU Cloud, or your self-hosted domain. Defaults to US Cloud.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源