অ্যানালিটিক্স: একটি ভিউ
অ্যানালিটিক্স হলো ইউজার স্টেট পড়া। ফানেল, রিটেনশন ও কোহর্ট হলো ইঞ্জিনের বাকি অংশ যে একই লাইভ প্রক্ষেপণে কাজ করে তার উপর কোয়েরি।
At a glance
- Host
https://eu.api.prodantix.com- Ingest
POST /v1/events,/v1/identify,/v1/group- Batch size
- 1 to 1000 events per batch
- Answers
202 Accepted: accepted for processing, not yet stored- Auth
projectKeyas a bearer token
- ফানেল ও রিটেনশন লাইভ স্টেটে গণনা করা, রাতের ওয়্যারহাউস রোলআপে নয়
- কোহর্ট একবার সংজ্ঞায়িত হয় এবং ইভেন্ট আসার সাথে হালনাগাদ থাকে
- কোনো SQL রাউন্ড-ট্রিপ নেই, স্টেট ইতিমধ্যে প্রশ্নের জন্য আকৃতি পেয়েছে
এটি কীভাবে কাজ করে
Events land on the EU ingestion host, are buffered through Redpanda and written to ClickHouse. Queries read from ClickHouse, so a funnel over thirty days answers in the same shape whether it spans a thousand events or a billion.
Ingestion answers
202. That is acceptance for processing, not proof of storage, a malformed event is still dropped further down the pipeline.কোথায় অ্যাক্সেস করবেন
| Surface | Operation |
|---|---|
| REST | POST /v1/events · POST /v1/identify · POST /v1/group |
| GraphQL | analytics query · events query · dashboards, cohorts |
| MCP | prodantix.analytics.runQuery |
উদাহরণ
curl -X POST "https://eu.api.prodantix.com/v1/events" \
-H "Authorization: Bearer $PRODANTIX_KEY" \
-H "Content-Type: application/json" \
-d '{"batch":[{"distinct_id":"u_8f3a","name":"order.completed","properties":{"amount":4200}}]}'prodantix.capture('order.completed', {
properties: { amount: 4200 },
});await prodantix.capture(
'order.completed',
properties: {'amount': 4200},
);prodantix.capture(
"order.completed",
distinct_id="u_8f3a",
properties={"amount": 4200},
)Querying a funnel
GraphQL
query Funnel($projectId: String!) {
analytics {
funnel(
projectId: $projectId
steps: ["signup.started", "signup.completed", "order.completed"]
window: "P30D"
) {
step
users
conversion
}
}
}