I hope I explain my self correctly.
I need to include 2 JS. The first JS code needs to be in all pages of the site.
I could try doing that in 2 ways:
- Miscellaneous scripts through magento configuration, design, head.
that would work perfectly fine for the firs script.
However, I am required to do the following on the success page,
I already know how to generate the script dinamically based on: https://stackoverflow.com/questions/25219799/how-to-integrate-dinamically-js-code-in-success-page-in-magento
but I dont know how to include that code only on the head tag of success page.