version | type | "string" |
---|
required | true |
---|
description | "Log version" |
---|
|
---|
action | type | "string" |
---|
required | true |
---|
enum | "image-load" |
"image-resize" |
"metadata-fetch" |
"gender-fetch" |
|
---|
description | "List of possible client-side actions.
* image-load: The initial load of the image in the lightbox
* image-resize: The load of a resized image
* metadata-fetch: Fetching metadata from the API
* gender-fetch: Fetching the gender of a user from the API" |
---|
|
---|
milliseconds | type | "integer" |
---|
required | true |
---|
description | "How long did it take?" |
---|
|
---|
imageWidth | type | "integer" |
---|
required | false |
---|
description | "Width, in pixels, of the requested image. Only for image- actions." |
---|
|
---|
imageHeight | type | "integer" |
---|
required | false |
---|
description | "Height, in pixels, of the requested image. Only for image- actions." |
---|
|
---|
fileSize | type | "number" |
---|
required | false |
---|
description | "How big the requested file is, in bytes. Only for image- actions." |
---|
|
---|
fileType | type | "string" |
---|
required | false |
---|
description | "What type of file was requested. Only for image- actions." |
---|
|
---|
userAgent | type | "string" |
---|
required | true |
---|
description | "The user-agent string of the browser running the client side code." |
---|
|
---|