If the user agrees it’s fine, GDPR is really not the biggest concern in this case since the user should express consent anyway.