Use link for URL calculation so we don't create iframe unnecessarily