does it need to run in that exact place (order of execution)? the browser will load all those head tag scripts regardless of their order. you can add the script in the head tag area by going to the edit CSS/HTML section of a theme in admin-customize-themes. if your theme is hosted and doesn’t allow customization, you can add it with a theme component (or to the head tag file of the repository if it’s your theme).