analytics

Report user attribution

Store where this user came from. Fields are only ever filled once.

The DataFast ids come from the request headers the frontend attaches to every call, so the body never has to carry them.

post/api/analytics/attribution

Request body

anonymous_idstring nullable
posthog_distinct_idstring nullable
datafast_visitor_idstring nullable
datafast_session_idstring nullable
landing_pathstring nullable
referrerstring nullable
utm_sourcestring nullable
utm_mediumstring nullable
utm_campaignstring nullable
signup_methodstring nullable

Response

Successful Response

anonymous_idstring nullable
posthog_distinct_idstring nullable
datafast_visitor_idstring nullable
datafast_session_idstring nullable
landing_pathstring nullable
referrerstring nullable
utm_sourcestring nullable
utm_mediumstring nullable
utm_campaignstring nullable
signup_methodstring nullable
user_idstring required
created_atstring date-time required

Changes