I've placed the Mobify tag in the head of the page, but not at the top (there is an Optimizely script reference above it). The page dosen't validate using the Mobify tag validator, but it seems to Mobify the page correctly still.
Is there anything wrong with doing it like this?
Mobify.js allows you to manage the loading of external resources like images, scripts and stylessheets.
To do this, Mobify.js must be the first resource to load. If other resources are loaded first, Mobify.js will continue to work, but you won’t see the same performance gains from removing or delaying the load of other resources.
Can you directly edit the CMS templates that generate the
<head> tag section of your pages? That’s the best way to use Mobify with most CMSs.