experience

Embed
Preview of the card
<a href="https://lucida.15-204-158-166.sslip.io/docs/ref-experience"><img src="https://lucida.15-204-158-166.sslip.io/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/2055b90a-e8b2-4a6a-bbb2-158c2297bac4/social-card.svg?v=3e7ae33eec8b" alt="experience" width="600" height="315"></a>
GEThttps://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/experience

Parameters

channelstringquery
Comma separated channels (Paid Search,Email).
utm_sourcestringquery
utm_mediumstringquery
utm_campaignstringquery
referrerstringquery
Comma separated referring domains.
countrystringquery
Comma separated ISO country codes.
languagestringquery
screenstringquery
Comma separated resolutions (1920x1080).
entry_pagestringquery
Exact path of the session's first pageview.
exit_pagestringquery
visitorstringquery
new (first session of the visitor) or returning.
person_propertystringquery
With person_value: only sessions whose person has this property equal to the value.
person_valuestringquery
experiencestringquery
Experience bucket: happy, neutral or unhappy (N-DXA-1).
article_readstringquery
Article read-through: finished or abandoned_headline (N-DXA-6).
reader_typestringquery
Reader type: single (1 article), few (2-3) or many (4+).
project_idstringpathrequired
bystringquery
summary|trend|page|segment|funnel
dimstringquery
segment dimension
stepsstringquery
funnel events, comma separated
urlstringquery
only sessions that viewed this path
fromstringquery
tostringquery

Code samples

cURL
curl -X GET "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/experience"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 data rows: key column plus sessions, avg_score, happy/neutral/unhappy, satisfied/passive/dissatisfied
{}
400
404
503
GEThttps://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/experience/weights

Parameters

project_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/experience/weights"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 weights in force, defaults, is_default
{}
404
PUThttps://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/experience/weights

Parameters

project_idstringpathrequired

Request body

application/json

ExperienceWeights: rage, dead, failed_action, not_found, bounce, speed_browsing, backtrack, form_abandon, custom[{event, weight}], cap, unhappy_below, happy_from

{}

Code samples

cURL
curl -X PUT "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/experience/weights" \
  -H "Content-Type: application/json" \
  -d '{}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
{}
400
403
404
DELETEhttps://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/experience/weights

Parameters

project_idstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucida.15-204-158-166.sslip.io/v1/projects/{project_id}/experience/weights"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 back to the defaults
{}
403
404
Updated