Description
Performance plugin
This AT Internet SmartTag plugin intends to add page loading timing, gathered from compatible browsers’ navigation.timing
object (See w3 specification for more detailed information).
Loading
Load this file after the SmartTag main file in your HTML page
1 2 3 |
<script src="performance.js" type="text/javascript"></script> |
Action
This plugin will add an attribute in the AT Internet Tracker custom object. This parameter is a JSON object, built as follows :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
{ "navigationStart":0, "unloadEventStart":11, "unloadEventEnd":11, "fetchStart":0, "domainLookupStart":0, "domainLookupEnd":0, "connectStart":0, "connectEnd":0, "requestStart":6, "responseStart":9, "responseEnd":10, "domLoading":23, "domInteractive":149, "domContentLoadedEventStart":149, "domContentLoadedEventEnd":149, "domComplete":149, "loadEventStart":149, "loadEventEnd":149 } |
Each key is a navigation loading event. Its value represents the duration between the first event (navigationStart
) and its firing.
Reviews
There are no reviews yet.