The only supported way to implemented DTM is by hard coding it to the page, any other way than this will mean Adobe will be unable to support your implementation.Becasue of the way you are implementing DTM any functions which rely on non ASYNC loading will be rendered unusable.