Before you can begin gathering OIR performance data, you must obtain the RUM JavaScript, insert the script into the Web pages served by the origin server, and then modify several parameters in the script.
How to
-
To obtain the RUM JavaScript, go to the
RUM Documentation page.
- From the RUM Documentation page, click RUM JavaScript to download the .zip file, and then extract the RUM JavaScript.
- Insert the RUM JavaScript into the head section of the Web page, between the <head> tag and the </head> tag.
TIP: It might be helpful to comment the start and end of the script, making it easy to identify.
-
Modify the RUM JavaScript as
follows:
-
Set the parameters (origin, custid,
and beaconrate), replacing the custid (nnnnnnn) with
your OIR CP code. The beacon rate represents the percentage of beacons that you want
to sample, and cannot exceed 100. A beacon rate between 1 and 5 is recommended. For
statistical relevance, your sample rate should produce at least 2000 beacons a day for
the filters and URLs you care about looking at. If you are not receiving enough
beacons, please contact your account team for assistance.
-
Set the document location protocol,
replacing nnnnnnnn with your OIR CP code.