মূল কনটেন্টে যান

ব্যক্তি ও কোহর্ট

ইভেন্ট আসে মানুষের কাছ থেকে, আর ডিরেক্টরি তৈরি হয় তারা যা পাঠায় তা থেকে: identify কল নাম দিলে বেনামী আইডি ব্যক্তি হয়ে ওঠে, গ্রুপ একইভাবে আসে, আর কোহর্ট হলো আচরণ বা অবস্থা দিয়ে সংজ্ঞায়িত সংরক্ষিত মানুষের সেট।

At a glance

Identity
identify names an anonymous id; write-once
Traits
$-prefixed traits are reserved; the rest are yours
Groups
group(type, key) rides the same pipeline
Cohorts
Behavioural clauses are swept; state clauses are live
Auth
Project key to send, access token to read
  • $-উপসর্গের ট্রেইট সংরক্ষিত; email নামের কাস্টম প্রপার্টি কাস্টমই থাকে।
  • শনাক্তকরণ একবারই লেখা হয়: কেউ প্রথম নাম পাওয়ার মুহূর্ত কখনো সরে না।
  • মার্জ ইচ্ছাকৃত: দুটি আইডি এক ব্যক্তিতে ভাঁজ হয় শুধু চাইলে, অনুমানে কখনো নয়।

এটি কীভাবে কাজ করে

Every event carries a distinct id, and the directory folds them into people: first seen, last seen, event and session counts, and the properties their identifying events carried. Identification is an event like any other, which is why an identify accepted with a 202 is accepted for processing rather than instantly visible. A cohort then names a set of these people: behavioural clauses count events over a window and are re-evaluated by a sweep that stamps when it ran; state clauses compare current attributes and are answered live. The same cohort scopes a workbench question, targets a campaign and gates a workflow trigger.

কোথায় অ্যাক্সেস করবেন

SurfaceOperation
RESTPOST /v1/identify · POST /v1/group (project key, accepted for processing)
GraphQLpeople, person, peopleGroups, cohorts queries · mergePeople, createCohort, updateCohort, setCohortActive, deleteCohort mutations
RealtimeNone of its own: the directory updates as events are processed
MCPNone

উদাহরণ

curl "https://eu.api.prodantix.com/v1/identify" \
  -H "Authorization: Bearer $PRODANTIX_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "distinct_id": "u_8f3a", "properties": { "$email": "ada@example.com", "plan": "pro" } }'

The directory is browsed on the People screen and cohorts are authored on Cohorts.