Auto Download
Whether a content was downloaded without any user interaction.
version : 1.0.0
stability: stable
Definition
Meta
name : "auto-download"
category : "USER_EXPERIENCE"
reference: "0"
condition: ">"
Record
The Auto Download
's record implements the Record
's interface:
interface Record {
url: string;
type: string;
data: string;
trigger: string;
requestId: string;
frameId: string;
targetVersion: string;
timestamp: MonotonicTime;
}
Fields
url
version : 1.0.0
stability: stable
url: string;
The URL of the page gathered when the event occurs.
type
version : 1.0.0
stability: experimental
type: string;
When defined, the type
reports the auto download's type.
data
version : 1.0.0
stability: stable
data: string;
The data passed along with the event.
In the
Auto Download
's context, this field reports aDownloadEventRecordData
entry as string:
interface DownloadEventRecordData { url: string; }
url
: Location where the downloaded content is stored.
trigger
version : 1.0.0
stability: experimental
When defined, the trigger
reports the action that creates the Auto Download
.
requestId
version : 1.0.0
stability: stable
requestId: string;
The unique network Request
's identifier in which the event was recorded.
⚠️ Caution: In some cases such as in a redirection context, this identifier could be shared by more than one entry:
[ { "requestId": "10.1", "status": "302" }, { "requestId": "10.1", "status": "200" } ]
frameId
version : 1.0.0
stability: stable
frameId: string;
The Frame
identifier in which the event was recorded.
targetVersion
version : 1.0.0
stability: stable
targetVersion: string;
The Target
version during which the event was recorded.
timestamp
version : 1.0.0
stability: stable
timestamp: MonotonicTime;
An MonotonicTime
that reflects the time when the event was recorded.
Sample
{
"name": "auto-download",
"category": "USER_EXPERIENCE",
"value": "1",
"reference": "0",
"condition": ">",
"violation": true,
"notify": true,
"alert": true,
"records": [
{
"url": "https://example.com/file.apk",
"type": "",
"data": "{\"url\":\"https://s3.amazonaws.com/adsecure/resource/year=2018/month=08/day=01/cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e\"}",
"trigger": "",
"requestId": "6A84237A55993581955FEBCCBED0D402",
"frameId": "C9FB7BD57BBC8502412B9558A97A580D",
"targetVersion": "8",
"timestamp": "2375.395531"
}
]
}