You need to follow this steps :
Open Magento Admin
Go To Content -> Design -> Configurations
There are different theme options at different level like website/Store. See this : https://prnt.sc/uwja4x
Select from which level you want to change it and click on respective "Edit" Options.
Now reach to the "Footer" section where you ...
If this is helpful to anyone, it is possible to move all the JS <script/> tags after footer tag.
Execute below command.
php bin/magento config:set dev/js/move_script_to_bottom 1
Clear cache and all the <script /> tags will move after <footer /> tag.