Syntax
newrelic.agent.get_browser_timing_footer()
Generates a browser agent footer for injecting the JavaScript agent.
Description
This call returns the browser agent JavaScript footer snippet that, along with the header JavaScript snippet, is used to enable browser monitoring. See the manual instrumentation instructions for how to use this call with get_browser_timing_header
to enable browser monitoring.
This call must be called for every web request where you want to inject the JavaScript snippet. It cannot be called at global scope and cached.
Return values
Returns the browser agent footer JavaScript.
Examples
Manual browser monitoring instrumentation
See Manually instrument browser monitoring for instructions on how to use the header and footer calls.