Hi Tiago,
With regard to your original question I think your confusion was maybe due to you mixing up the setup of the DXC-AXA integration with the Browser Agent snippet used for the DXC-APM agent integration/connection.
i.e. you found ""http://apm-axa-integration:9080/mdo/v1/sdks/browser/BA.js"" referenced here under "Integrate CA APM and CA App Experience Analytics" which is really referring to how to integrate DXC with AXA:
Install the Digital Experience Collector on a Single System - CA Experience Collector - CA Technologies Documentation
For your question about using variables in the snippet I don't believe that is possible. However I found in my testing that you can update the snippet file without agent/AppServer restart if you first disable the autoinjection in the agent profile i.e.
Change: introscope.agent.browseragent.autoInjectionEnabled=true
To: introscope.agent.browseragent.autoInjectionEnabled=false
Update the snippet file and then revert above to true i.e.
introscope.agent.browseragent.autoInjectionEnabled=true
The agent log (INFO mode) will show the changes
Hope that helps
Regards,
Lynn