While it's possible to do so, the easiest method is to copy and paste the installation code onto your website pages.
However, if you'd like to install Upscope via Google Tag Manager, go here: https://help.upscope.io/en/articles/1844028-using-google-tag-manager-to-add-upscope