The GDPR has set up guidelines for how the data can be collected and on what legal basis it can be p…