Understand Convert Code and Head Blocks
Understand Advanced Experiments
Placing the code under the header might lead to a visual blink where for a fraction the old version is visible. This can negatively influence conversion. So it is highly recommended to place the code in the header as high up in the code for the optimal results.