Splunk Completes Acquisition of Plumbr Learn more

Transaction Configuration

Transaction Defaults

The following configuration options apply to all of the transactions generated via the browser agent and are equivalent to calling the same Browser Agent API methods.

User Identity – userId

Set the User Identity of all transactions generated on this page

Example

<script src="https://browser.plumbr.io/pa.js" 
  data-plumbr='{
    "accountId": "abcde..",
    "serverUrl":"https://bdr.plumbr.io"
    "userId": "John Doe"
  }'>
</script>

Page Loading Transaction

These configuration options apply to the transaction generated from the user loading the page that the browser agent is included on. For example, the act of loading this page by you right now.

Response Code – responseCode

Due to technical limitations the response code of page load is inaccessible to us. In order to mark the page load span with a relevant HTTP response status it must be set in the configuration.

Example

<script src="https://browser.plumbr.io/pa.js" 
  data-plumbr='{
    "accountId": "abcde..",
    "serverUrl":"https://bdr.plumbr.io"
    "responseCode": 404
  }'>
</script>
Service Name – serviceName

Set the Service Name of the transaction that is loading this page.

Example

<script src="https://browser.plumbr.io/pa.js" 
  data-plumbr='{
    "accountId": "abcde..",
    "serverUrl":"https://bdr.plumbr.io"
    "serviceName": "Product Page"
  }'>
</script>