Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 2.13 KB

getbrowsertimingfooter-python-agent-api.mdx

File metadata and controls

44 lines (31 loc) · 2.13 KB
title type shortDescription tags metaDescription redirects freshnessValidatedDate
get_browser_timing_footer (Python agent API)
apiDoc
Generates a browser agent footer for injecting the JavaScript agent.
Agents
Python agent
Python agent API
Python API: This call produces the JavaScript footer snippet used for setting up browser monitoring.
/docs/agents/python-agent/python-agent-api/getbrowsertimingfooter-python-agent-api
/docs/agents/python-agent/python-agent-api/get_browser_timing_footer
never

Syntax [#syntax]

newrelic.agent.get_browser_timing_footer()
Starting with Python agent version 9.4.0+, this API is deprecated and always returns an empty string. The previous functionality of `get_browser_timing_footer()` is now included in `get_browser_timing_header()`.

For more information on proper usage, see Manually instrument browser monitoring.

Generates a agent footer for injecting the JavaScript agent.

Description [#description]

This call returns the browser agent JavaScript footer snippet that, along with the header JavaScript snippet, is used to enable browser monitoring. To learn how to enable browser monitoring using this call along with get_browser_timing_header, see Manually instrument 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 [#return-values]

Returns the browser agent footer JavaScript.

Examples [#examples]

Manual browser monitoring instrumentation [#browser-example]

See Manually instrument browser monitoring for instructions on how to use the header and footer calls.