Basic Configuration
The following settings are required for the browser agent to run:
accountId | Your Plumbr account identifier. This is included in the embed code shown to you in portal. During normal use you do not need to change this. | |
---|---|---|
serverUrl | The server to which browser agent sends data to. If you are using on demand Plumbr make sure this value refers to https://bdr.plumbr.io . If the agent should connect to on premise Plumbr server make sure it is set accordingly. |
|
appName | Set the Application Name of all transactions generated on this page. |
Optional Settings:
Cookie Domain – cookieDomain
Choose the domain user & session tracking cookies are set on.
true
(default) – Sets the cookie as high up as possible (for example on site summer.marketing.example.co.uk the cookie will try to cover all of example.co.uk)(string value)
– Sets the cookie on defined value (for example to only have cookie on subdomain use"marketing.example.co.uk"
)false
– Cookies will be limited to current subdomain
Example
<script src="https://browser.plumbr.io/pa.js"
data-plumbr='{
"accountId": "abcde..",
"serverUrl": "https://bdr.plumbr.io",
"cookieDomain": "tenant.example.com"
}'>
</script>
Application Version – appVersion
Declare the application version.
Example
<script src="https://browser.plumbr.io/pa.js"
data-plumbr='{
"accountId": "abcde..",
"serverUrl": "https://bdr.plumbr.io",
"appVersion": "4.3.18"
}'>
</script>