前后都可以,immediately是副词,可以加在句子任何位置,例如:
1、All the materials are on site so that work can start immediately.所有材料都已运抵工地,可以立即开工。
2、Immediately after fertilization, the cells of the egg divide.卵受精后细胞立即开始分裂。
3、The point of my question may not be immediately apparent.我的问题的要点可能不是一下子就能看出来的。