You may place it to:
1) Studio->Designer->Injections->Head section ("global" mode)
2) Place your code into RAW block in the Studio->Pages App, the necessary Module and page area.