The Bluetooth-based application does not collect data on users unless they become infected and consensually offer data access, nor does it track their movements.

Health Ministry: Morocco’s COVID-19 Tracking App Respects Data Privacy
The app exchanges Bluetooth signals with other nearby users and records an anonymous code at every crossing.