There should be an option on an Embed content type to allow that code to be inserted into the page header rather than in the body.
You won't be notified about changes to this idea.