# Ways to capture payment user actions, DT JavaScript cannot be injected because it is a Third Party provider and domain.

**URL:** <https://community.dynatrace.com/t/ways-to-capture-payment-user-actions-dt-javascript-cannot-be-injected-because-it-is-a-third-party-provider-and-domain/40560>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, user-actions\
**Created:** [July 6, 2023, 2:59pm UTC](https://community.dynatrace.com/t/ways-to-capture-payment-user-actions-dt-javascript-cannot-be-injected-because-it-is-a-third-party-provider-and-domain/40560 "2023-07-06T14:59:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neird](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@Neird](https://community.dynatrace.com/u/Neird)\
**Post date:** [July 6, 2023, 2:59pm UTC](https://community.dynatrace.com/t/ways-to-capture-payment-user-actions-dt-javascript-cannot-be-injected-because-it-is-a-third-party-provider-and-domain/40560/1 "2023-07-06T14:59:26Z")

</div>

Dynatrace cannot capture the payment user actions. DT JavaScript was not injected because is a third party. We cannot also manually inject the DT JavaScript since we don’t have access to its HTML page. Is there any other ways to capture the payment user actions?

---

<div class="post-metadata">

**Author:** ![michiel\_otten](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michiel_otten/32/21987_2.png) [@michiel\_otten](https://community.dynatrace.com/u/michiel_otten)\
**Post date:** [July 6, 2023, 4:43pm UTC](https://community.dynatrace.com/t/ways-to-capture-payment-user-actions-dt-javascript-cannot-be-injected-because-it-is-a-third-party-provider-and-domain/40560/2 "2023-07-06T16:43:11Z")

</div>

Hi,

Just to summarize,&nbsp; you want to see payment user actions on a third party website?

Since both injection types cannot be done, this is difficult. Two other options I can think of:

1. If we can ask the third party to use OpenTelemetry to send information, this can help.

2. Is there an API available where you&nbsp; can pull information? We can then pull extra information via a plugin.

Kr.

Michiel

---

<div class="post-metadata">

**Author:** ![mgome](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@mgome](https://community.dynatrace.com/u/mgome)\
**Post date:** [July 6, 2023, 5:51pm UTC](https://community.dynatrace.com/t/ways-to-capture-payment-user-actions-dt-javascript-cannot-be-injected-because-it-is-a-third-party-provider-and-domain/40560/3 "2023-07-06T17:51:38Z")

</div>

If the third party page is requested directly from the browser and not through a proxy host you have access to, you won’t be able to instrument the page. &nbsp;There is a browser extension, but it’s probably not practical to have your users install an extension.

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [May 17, 2024, 8:13am UTC](https://community.dynatrace.com/t/ways-to-capture-payment-user-actions-dt-javascript-cannot-be-injected-because-it-is-a-third-party-provider-and-domain/40560/4 "2024-05-17T08:13:55Z")

</div>

You can explore using BizEvents&nbsp;  
[https://docs.dynatrace.com/docs/platform-modules/business-analytics/ba-events-capturing](https://docs.dynatrace.com/docs/platform-modules/business-analytics/ba-events-capturing)  
You will need to capture the response body
