# Autoinjection script with custom context path

**URL:** <https://community.dynatrace.com/t/autoinjection-script-with-custom-context-path/47824>\
**Category:** Open Q&A\
**Tags:** oneagent, processes\
**Created:** [September 19, 2024, 2:26am UTC](https://community.dynatrace.com/t/autoinjection-script-with-custom-context-path/47824 "2024-09-19T02:26:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![viveksingh87](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@viveksingh87](https://community.dynatrace.com/u/viveksingh87)\
**Post date:** [September 19, 2024, 10:09pm UTC](https://community.dynatrace.com/t/autoinjection-script-with-custom-context-path/47824/4 "2024-09-19T22:09:56Z")

</div>

Thank you Elena,

I have also tried configuring “/webapp/bio/” under&nbsp;Capturing \> Advanced setup and checked application head tag in browser still script does not have context path. Does one agent look for context path from any tag on index.html

\<script type=“text/javascript” src=“/ruxitagentjs\_ICANVfqru\_1029924090310435ssd4.js”…\>

---

_[View the full topic](https://community.dynatrace.com/t/autoinjection-script-with-custom-context-path/47824)._
