How do teachers encourage trust and transparency on their use of data and learning analytics?

Are the processes of collecting student data for learning optimisation are ethical? Many teachers advocate that schools should not collect student data. However, data analytics can have real value for academics to revaluate teaching methods through data-driven decision-making. What are the ethical implications when collecting student data in higher education?