Load 3rd party script from universal login page

I need to load a script for 3rd party cookie management in my nextJS app. We are using the universal login page. Is it possible to load the script from there?