Skip to main content
Required ACL: search This method appends a custom user agent to the default one when making requests to the Insights API.

Examples

The following example adds the string β€œcustom” to the default user agent. For more information about initializing the JavaScript Insights client aa, see Initialize the Insights client.
JavaScript

Parameters

string
Custom user agent. This gets added to the default one.
Last modified on March 23, 2026