October 2017
Intermediate to advanced
370 pages
8h 57m
English
We can also configure the transport mode of the analytics request by adding the transport object. There are three transport modes, all enabled by default. They're listed in order of precedence here:
In the following example configuration, only xhrpost and image are enabled. If neither is supported by the client, then no analytics request would be made:
"transport": { "beacon": false, "xhrpost": true, "image": true}
Read now
Unlock full access