Collecting data
// A search request
{
"event": "Search",
"anonymousId": "e1f51e69-d17e-4c06-a93f-7e280910b534", // This is an anonymous ID created when a session starts, and is used across all interactions of this session
"timestamp": "2020-05-18T09:39:18.544Z",
"network": "Staff", // If the interaction was on a staff network, we tag it with this
"toggles": ["10-per-page"], // A list of A/B tests a person is in
"query": { // This information is what was requested from the API
"page": 1,
"production.dates.from": "1900",
"production.dates.to": "1950",
"query": "Zodiac sign gemini",
"format": ["books", "manuscripts", "images"]
}
}
// Search result selected
{
"event": "Search result selected",
"anonymousId": "2104fa2d-59d3-423d-8958-3f254bc2bf62",
"timestamp": "2020-05-18T09:39:23.529Z",
"network": null,
"toggles": ["availableOnline:false"],
"query": { // The API request for the results
"page": 1,
"production.dates.from": "2000",
"production.dates.to": "2010",
"query": "Nurse",
"format": ["journals"]
},
"data": { // Extra data about the interaction and work that was selected
"id": "mruzf9kx",
"position": 13,
"resultIdentifiers": [
"L0043772",
"Museum No A96087"
],
"resultSubjects": [
"Nurse"
],
"resultFormat": "Digital Images",
}
}Identification and anonymisation
Storage
Last updated