Just have found this (link below), it does the job but not sure if using this right, as this looks like add the script into the cookie police to get active or not, but in this way we need to add the script in every page instead of using the script on Project Settings
https://www.freeprivacypolicy.com