In my Magento site, we found there was configuration in admin.
Admin -> Store -> Configuration -> Advanced -> Developer (Enabled only on Developer mode). JavaScript settings -> Move JS code to the bottom of the page
When this is YES, all the scripts tags on the site moves to the bottom of the page.
But I need to include a script which shouldn't move to the bottom.
Is there any way to achieve this?
Thanks in advance.
before.body.end