The ECI has also directed the social media platform companies to ensure compliance with the voluntary code of ethics amid heavy online campaigning due to ban of rallies.