- Prerequisites
- Premium Data
- Getting Started
- Summary
- Distributions
- 51Degrees.php Config
- Using the Detector
- Advanced Usage
- Accessing Metadata
- Image Optimiser
- Client Side Overrides
- Passing Properties To Client Side
- User Performance Monitoring
- Usage Sharing
- Automatic Data Updates
- Advanced Suggestions
- Troubleshooting
User Performance Monitoring
Please note that this feature will only work with Enterprise data file. 51Degrees allows your website to determine how much bandwidth a client has, allowing you to take advantage of a fast connection, or be conservative with a very slow one.
To monitor bandwidth you should include the following the script:
<script src= "51Degrees.core.js.php" ></script> <script> new FODBW(); </script>
Including this script will fill the $_51d array with the following values:
- LastResponseTime (Integer - milliseconds) - The time taken for the web page to start rendering after the user initiated the request.
- LastCompletionTime (Integer - milliseconds) The time taken for the web page to complete rendering after the user initiated the request.
- AverageResponseTime (Integer - milliseconds) The average time taken for the page to start rendering after the user initiated the request during the previous 5 minutes.
- AverageCompletionTime (Integer - milliseconds) The average time taken for the page to complete rendering after the user initiated the request during the previous 5 minutes.
- AverageBandwidth (Integer - bytes / second) The effective average bandwidth of the connection as measured by the amount of HTML data sent and received. The value will vary from a network level inspection as it does not include the TCP or HTTP overhead. It should be used as a guide to the available effective bandwidth. The time values are of more practical use to developers.