right before the <!-- Google Analytics Experiment code --> and did not encounter any problems with inserting this code. The source code shows that the code is added between <head> and <!-- Google Analytics Experiment code -->.