Use check geometry in same domain iframe

NEW: Detect the serving scenario