Hi,
We want to use the copy-paste method in order to create a browser application for the same application in different New Relic accounts.
There is a similar issue described in this support ticket, which mentions we should only update the appId and the licenseKey in order for the script to work across different environments.
However, I can see in the generated script a few more details that I needs some clarifications for.
### Omitted the rest of the copy-pasted script and went straight to the config part
NREUM.loader_config={" +
"accountID:\"972812\"," +
"trustKey:\"887712\"," +
"agentID:\"25132376\"," +
"licenseKey:\"5c41da8475\"," +
"applicationID:\"25132376\"}\n;" +
NREUM.info={beacon:\"bam.nr-data.net\",errorBeacon:\"bam.nr-data.net\"," +
"licenseKey:\"5c41da8475\"," +
"applicationID:\"25132376\"," +
"sa:1}
I know that the previous threads mention the “NREUM.info” section of the configuration, however there is also the “NREUM.loader_config” part. The following properties worry me a bit:
- trustKey: it seems this one does not change accross different envs.
- agentID: different per account & application.
- accountID: different per account.
Am I correct to assume that these properties (at least agent and account id) also need to be updated?