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.
For more help
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.